"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."
"DBCP uses the Jakarta-Commons Database Connection Pool. It relies on number of Jakarta-Commons componenets:
Jakarta-Commons DBCP 1.0
Jakarta-Commons Collections 2.0
Jakarta-Commons Pool 1.0
These jar files along with your the jar file for your JDBC driver should be installed in $CATALINA_HOME/common/lib.
NOTE:Third Party drivers should be in jarfiles, not zipfiles. Tomcat only adds $CATALINA_HOME/common/lib/*.jar to the classpath.
NOTE: Do not install these jarfiles in your /WEB-INF/lib, or $JAVA_HOME/jre/lib/ext, or anywhere else. You will experience problems if you install them anyplace other than $CATALINA_HOME/common/lib."
- Jim
At 12:59 PM 3/13/2003 -0700, you wrote:
Always put all necessary jar files under /WEB-INF/lib for each project and never use a container's common directory.
http://jakarta.apache.org/struts/faqs/kickstart.html#install
David
From: Rasputin <[EMAIL PROTECTED]> Reply-To: Rasputin <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Struts1.1 message resources ???en_CA.version??? Date: Thu, 13 Mar 2003 19:39:07 +0000
* David Graham <[EMAIL PROTECTED]> [0344 18:44]:
> Is struts.jar one of those jars? If so, it's not surprising that there are
> problems finding the properties file.
Sorry if this is a dumb question, but why?
Is it a general rule that struts.jar shouldn't be in tomcat's classpath? What about $CATALINA_HOME/common/lib/ ?
-- She is not refined. She is not unrefined. She keeps a parrot. -- Mark Twain Rasputin :: Jack of All Trades - Master of Nuns
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
______________________________
James Watkin
ACIS Software Development
The Anderson School at UCLA
[EMAIL PROTECTED]
Voice: 1-310-825-5030
Fax: 1-310-825-4835
______________________________
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

