Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Preference page a go

I sent Justin some other notes about installing Spatial Extender on Linux and loading the spearfish data. Just tested it on my system and it works (the loading). I'm not sure I want to set everything up on Linux in order to run uDIG under Eclipse.

Back on Windows, I was able to get through the DB2 add layer dialog but it crashed with java.lang.NoSuchMethodError: org.geotools.data.jdbc.FeatureTypeHandler.<init>(Lorg/geotools/data/jdbc/JDBCDataStore;Lorg/geotools/data/jdbc/fidmapper/FIDMapperFactory;J)V at org.geotools.data.db2.DB2FeatureTypeHandler.<init>(DB2FeatureTypeHandler.java:49) at org.geotools.data.db2.DB2DataStore.getFeatureTypeHandler(DB2DataStore.java:247) at org.geotools.data.jdbc.JDBC1DataStore.<init>(JDBC1DataStore.java:300) at org.geotools.data.jdbc.JDBC2DataStore.<init>(JDBC2DataStore.java:122)
        at org.geotools.data.jdbc.JDBCDataStore.<init>(JDBCDataStore.java:165)
        at org.geotools.data.db2.DB2DataStore.<init>(DB2DataStore.java:108)
at org.geotools.data.db2.DB2DataStoreFactory.createDataStore(DB2DataStoreFactory.java:119) at net.refractions.udig.catalog.internal.db2.DB2Service.getDataStore(DB2Service.java:180) at net.refractions.udig.catalog.internal.db2.DB2Service.getInfo(DB2Service.java:145)

This was working fine a couple weeks ago and I haven't changed anything in the GeoTools classes.

At 01:47 PM 8/3/2005, Jesse Eichar wrote:
Hi David,

I've run a successful test with the preference page. Using a preference page I have copied the clients db2 jar into the libs.db2 plugins, driver and license, and the drivers are found without a problem so I am able to connect to db2 databases. I don't have a working database to play with, justin is still trying to set one up, so I can't test the functionality of the datastore, but I can make sure that all the jars can be set by the user. I'm going to add some code to the db2 wizard page so that if the jars have not been located by the user the wizard page will request that the information is filled out. Hopefully that will help reduce the number of bug reports regarding classes not being found.

Jesse

David Adler wrote:

When the connection parameters are saved at the end of a session and then restored, they are not getting restored correctly.

It appears that the parameter entry separator is not being correctly inserted in the saved string. My guess is that line 113 in CatalogRef should just be removed so that line 114 is always executed.

Can someone else take a look at this and see if it makes sense? I can make the change but don't have an easy way to test it for databases other than DB2.


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel




Back to the top