Joshua Portway ha scritto:
> I'm still getting a lot of hassle because the referencing module
> seems to insist on doing a JNDI lookup for "jdbc/EPSG" even though I
> only have the WKT jar in my classpath (at least as far as I can
> tell). Is this normal? Is there a way to stop it (other than
> presumably creating an actual EPSG database or something)?
> 
> Here's the stack trace I get when the lookup fails :
> 
> org.opengis.referencing.FactoryException: Failed to connect to the
> EPSG database. at
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:430)
>  at

Please double check your classpath one more time.
ThreadedEpsgFactory is a base class for database based factories, this 
suggests you have gt-epsg-h2, gt-epsg-hsql or some other database backed
factory.

The factory contained in the WKT module (EPSGCRSAuthorityFactory) does
not have ThreadedEpsgFactory as its base class.

I'm also wondering why you get timeout issues... we build GeoTools
and projects based on it hourly and we don't see such issues.
But then again, none of them is using EJB3 (GeoServer is the only
J2EE one and uses Spring instead).

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to