---------- Forwarded message ---------- From: simone giannecchini <[EMAIL PROTECTED]> Date: Nov 25, 2005 3:14 PM Subject: HSQL and JNDI To: "[email protected]", Martin Desruisseaux <[EMAIL PROTECTED]>
Hi list, hi Martin, in the last weeks I have been working mainly on the geoserver WCS and on the coverage branch. I have run into an annoying issue which maybe you could help me to sort out. I noticed that the epsg-hqsl plugin which relies on the hsql embedded db tries to retrieve a DataSource from JNDI incase such a data source has been registered. I am not a J2EE expert but I have been trying to register such a data source using tomcat JNDI emulation without success. Problems in my opinion are: 1>Tomcat JNDI emulation puts resource under the java:comp/env context and there is no wy can change that. At the same time the default factory looks for a data source under the initial context without the above mentioned name qualification. I am afraid that this won't ever work on tomcat. 2>The data source we are expecting to find in the JNDI is a sub interface of javax.sql.DataSource but due to the connection pooling mechanism that runs behind Tomcat we will never be able to retrieve such an object. I might be completely wrong I know, any input will be greatly appreciated. Simone. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
