[geotk] EPSG database and JavaDB/Derby
Jon Blower
j.d.blower at reading.ac.uk
Fri Oct 9 10:59:24 EDT 2009
Hi Martin,
I get the same error when I add:
> Hints.putSystemDefault(Hints.CRS_AUTHORITY_FACTORY, PropertyEpsgFactory.class);
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.
Cheres, 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