WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: org.opengis.referencing.FactoryException: Failed to connect to the EPSG database

Re: org.opengis.referencing.FactoryException: Failed to connect to the EPSG database

by Tatara, Eric R. :: Rate this Message:

| View in Thread

You will most likely need to update ALL of the geotools libraries -
mixing different versions is usually problematic, and the error you
received seems to indicate this is the problem.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: Nick Malleson [mailto:N.Malleson06@...]
Sent: Wednesday, July 22, 2009 9:26 AM
To: repast-interest@...
Subject: Re: [Repast-interest] org.opengis.referencing.FactoryException:
Failed to connect to the EPSG database


Nick, Martin,

Thanks for the help. I can confirm that I do have write access to the
/tmp/ directory.

Following Martin's advice (on another post) I have updated the geotools
library in question (gt2-epsg-hsql) and now get a repeated warning but
don't seem to get the previous error:

WARNING: Can't load a service for category
"CoordinateOperationAuthorityFactory". Cause is "NoClassDefFoundError:
org/geotools/referencing/factory/epsg/ThreadedEpsgFactory".

This is definitely a geotools problem so I'll try on their list again,
but if anyone has any ideas I'd be glad to hear them.

Thanks,
Nick M


Nick Collier-2 wrote:
>
> I'm not sure why it would work with one or two models and not more,
> but I do see that when running geotools in a server-type environment
> you need write permissions on the server's temporary directory (e.g. /

> tmp).
>
> Nick
>
>

--
View this message in context:
http://www.nabble.com/org.opengis.referencing.FactoryException%3A-Failed
-to-connect-to-the-EPSG-database-tp24602458p24607510.html
Sent from the repast-interest mailing list archive at Nabble.com.


------------------------------------------------------------------------
------
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

 « Return to Thread: org.opengis.referencing.FactoryException: Failed to connect to the EPSG database