Scott Pezanowski a écrit :
I removed the gt2-epsg-hsql.jar. I noticed without either the gt2-epsg-hsql.jar and the gt2-epsg-wkt.jar files I received an error in the catalina.log file. This error is also present when I add the gt2-epsg-wkt.jar file. This is the error:

FINE: Unavailable factory: European Petroleum Survey Group
org.opengis.referencing.FactoryException: Failed to connect to the EPSG database
    [...snip...]
Caused by: java.sql.SQLException: No data source found.

Could it be that the classpath is configured in such a way that it look for gt2-epsg.jar file? As said before, "gt2-epsg.jar" was the old name for "gt2-epsg-wkt.jar" before new EPSG factories (backed by SQL databases) were added to Geotools.

Since canalina.log file seems to content the output from java.util.logging, I think that it should contains a log from the org.geotools.referencing.FactoryFinder class with 'CONFIG' level. This log should contains all factories found in the classpath. Can you find such log entry in catalina.log?

        Martin.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to