For a servlet to employ JNDI to access a JDBC database, Tomcat must be 
configured?  JNDI won't work on a vanilla configuration of Tomcat?


1. Install Your JDBC Driver

Use of the JDBC Data Sources JNDI Resource Factory requires that you make 
an appropriate JDBC driver available to both Tomcat internal classes and 
to your web application. This is most easily accomplished by installing 
the driver's JAR file(s) into the $CATALINA_HOME/lib directory, which 
makes the driver available both to the resource factory and to your 
application.

http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html



Thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to