Thanks Eric.
Please could you suggest a good way of doing this? (sorry if it is a stupid question or if there are docs online). I have collected all the libraries required by my project into the same directory to be exported to the NGS and manually replaced old/new geotools jar files but this hasn't worked. I haven't debugged it properly but it looks like DefaultGeography requires an old version of org.geotools.referencing, but other parts of geotools need the new version.
I was wondering if there is a way to get Eclipse or Repast to do this for me properly. I've checked the Simphony update site through Eclipse and as far as I can tell it still uses geotools 2.3.
Thanks,
Nick
-----Original Message-----
From: Tatara, Eric R. [mailto:
tatara@...]
Sent: 22 July 2009 23:50
To: Nicolas Malleson;
repast-interest@...
Subject: RE: [Repast-interest] org.opengis.referencing.FactoryException: Failed to connect to the EPSG database
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