I has to be in common/lib if you want to use Tomcat's JNDI or JDBC resources because both the server and the webapps need access to the driver. The only way to do that is to have the library exist in common/lib as plain old lib (or, equivalently, shared/lib in Tomcat-4.1.x) only makes libraries available to the webapps, not the container itself.
If only your webapps need the libraries, put them in "lib" or "shared/lib" and if only the server needs access to the libraries put them in "server/lib". Jake At 02:21 PM 8/25/2002 -0400, you wrote: >At >http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html >"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/common/lib directory, >which makes the driver available both to the resource factory and to your >application." > >can the jdbc .jar driver file be in $CATALINA_HOME/lib or does it have to >be in common/lib to be available to the resource factory in Tomcat 4.0.4? > >thanks, >Adam K > > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
