> Normally putting the diver in the system classpath should > work (at least with tomcat 4.1) In our production environment > we have the same setup. One shared tomcat install with a > special startup script. This scipt sets the system classpath > and other environment variables.
Yeah, I figured that out... If you modify setclasspath.sh to add additional classpaths (like the one containing your JDBC driver) then everything works as expected. It just felt kinda dirty to have to modify scripts that ship with the distribution to get things to work. It would've been nice if CATALINA_BASE would also use that directory for common/lib (then I could create some symlinks back to the master) or if catalina.sh would provide a commandline argument or environment variable to set the additional classpath (JAVA_OPTS is close.... You can add -classpath ...., but it doesn't work because there are then two -classpath args and both don't seem to be honored) > > PS: you want to make sure you only have one copy of DBCP and > the database drivers. Don't put then in WEB-INF/lib if you > have then elsewhere. Cool. Thanks for the reply! Andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
