Joshua Portway wrote:
> Yes, that confuses me too. I'm wondering whether it's anything to do
> with the system properties or environment set up when geotools is
> used inside an app server like glassfish - perhaps in your situation
> Geotools isn't trying to connect to JNDI because it isn't advertised
> in the environment (I'm afraid that my knowledge of the intimate
> details of JNDI is very limited so I'm just guessing here). Or -
> possibly - in your context you actually do want this behaviour - if
> you are storing your EPSG information in a data source registered in
> JNDI then geotools is probably doing exactly what you want it to do.

You are running unit tests inside Glassfish?
We're not, all tests are running in a mocked up enviroment, there
is no real application server working when we do run them, we
use mock objects to mimick the few bits of J2EE we depend on in
GeoServer and there is nothing at all in the Geotools ones.
JNDI is never used in either case, and no JNDI provider is
available.

That might be the reason?

Cheers
Andrea

------------------------------------------------------------------------------
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