Hi,
I'm developing an EJB application using geotools and I'm having a problem 
running unit tests.
When I run tests they are taking ages to run because the geotools referencing 
module seems to try to do a JNDI lookup for "jdbc/EPSG" every time something is 
referenced. The lookup takes ages, but eventually times out, throwing a load of 
exceptions.

This is happening even though I only have the wkt jar in my classpath. It's 
basically impossible to run tests like this, because it takes about a minute 
every time there's a CRS lookup.

Is this the correct behaviour? It seems weird - I thought that if I had the wkt 
jar in my classpath (and none of the other epsg jars) then geotools would use 
that. Why is it trying to connect to a JNDI datasource? Is there a way of 
disabling this?

thanks,
Josh
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to