Geotools doesn't fall back to embedded hsql db when jndi datasource lookup fails
--------------------------------------------------------------------------------
Key: GEOT-2970
URL: http://jira.codehaus.org/browse/GEOT-2970
Project: GeoTools
Issue Type: Bug
Environment: Windows xp, java 1.6, geronimo-2.2
Reporter: gtuser
Priority: Minor
When using geotools in a web archive such as geoserver, geotools fails to fall
back on the embedded db. Details about why this happens can be found in
previous discussions such as
http://www.mail-archive.com/[email protected]/msg05896.html
http://n2.nabble.com/Question-about-EPSG-HSQL-plugin-td3553558.html
It seems like their should be some other action taken when the jndi naming
exception occurs rather than throwing the error up and thereby preventing fall
back to the embedded hsql db. If geoserver or the web container/j2ee server
such as tomcat/geronimo is improperly configured, then the correct
configuration needs to be documented somewhere as I don't know any work around
other than to download the sources and comment out the thrown exception.
To reproduce this problem simply download the latest geronimo-tomcat server and
geoserver web archive and deploy geoserver to geronimo.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel