[geotk] EPSG database and JavaDB/Derby

Jon Blower j.d.blower at reading.ac.uk
Fri Oct 9 09:43:35 EDT 2009


Hi Martin,

> Could you post the error message that you get please?

Here it is (abridged).  Looks like it's trying to create a database in
my home space but Derby isn't available.

org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG"
is not available. The cause is: No suitable driver found for
jdbc:derby:C:\Documents and Settings\Jon\Application
Data\Geotoolkit\EPSG/7.01;create=true
        at org.geotoolkit.referencing.factory.MultiAuthoritiesFactory.getAuthorityFactory(MultiAuthoritiesFactory.java:514)
        at org.geotoolkit.referencing.factory.MultiAuthoritiesFactory.getCRSAuthorityFactory(MultiAuthoritiesFactory.java:580)

Caused by: org.geotoolkit.factory.FactoryNotFoundException: No factory
of kind "CRSAuthorityFactory" found.
        at org.geotoolkit.factory.FactoryRegistry.getOrCreateServiceProvider(FactoryRegistry.java:448)

Caused by: org.geotoolkit.referencing.factory.NoSuchFactoryException:
Failed to connect to the EPSG database.
        at org.geotoolkit.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:607)

Caused by: 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)

Cheers, Jon

-- 
Dr Jon Blower
Technical Director, Reading e-Science Centre
Environmental Systems Science Centre
University of Reading
Harry Pitt Building, 3 Earley Gate
Reading RG6 6AL. UK
Tel: +44 (0)118 378 5213
Fax: +44 (0)118 378 6413
j.d.blower at reading.ac.uk
http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm


More information about the Geotoolkit mailing list