[geotk] EPSG database and JavaDB/Derby

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Fri Oct 9 11:10:01 EDT 2009


Jon Blower a écrit :
> Hi Martin,
> 
> I get the same error when I add:
> 
>> Hints.putSystemDefault(Hints.CRS_AUTHORITY_FACTORY, PropertyEpsgFactory.class);

So I have at least one issue to investigate here. Thanks for reporting.


> I don't think it's a Windows-specific error.  The core error appears to be:
> 
> java.sql.SQLException: No suitable driver found for
> jdbc:derby:C:\Documents and Settings\Jon\Application
> Data\Geotoolkit\EPSG/7.01;create=true
>         at java.sql.DriverManager.getConnection(DriverManager.java:602)
>         at java.sql.DriverManager.getConnection(DriverManager.java:207)
>         at org.geotoolkit.internal.sql.DefaultDataSource.getConnection(DefaultDataSource.java:103)
>         at org.geotoolkit.referencing.factory.epsg.EmbeddedDataSource.getConnection(EmbeddedDataSource.java:87)
>         at org.geotoolkit.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:541)
> 
> so it seems that it fails when looking for derby (not surprising,
> since it's not there!)  The path string probably never gets used.


I have to go away now, but will come back on this issue in a few hours.

	Regards

		Martin


More information about the Geotoolkit mailing list