  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Deploying shared .jar 's | Deploying shared .jar 's 2006-12-11 - By Caldarale, Charles R
Back > From: David Kerber [mailto:dckerber@(protected)] > Subject: Re: Deploying shared .jar's > > With the way I read it now, anything I try to put under > catalina_home/shared/lib won't be visible to the webapps in > the various catalina_base folders. Is this correct?
Yes. Look at RUNNING.txt in your Tomcat installation directory. To quote from it:
When you use this "-Dcatalina.base=$CATALINA_BASE" argument, Tomcat will calculate all relative references for files in the following directories based on the value of $CATALINA_BASE instead of $CATALINA_HOME: * conf - Server configuration files (including server.xml) * logs - Log and output files * shared - For classes and resources that must be shared across all web applications * webapps - Automatically loaded web applications * work - Temporary working directories for web applications * temp - Directory used by the JVM for temporary files (java.io.tmpdir)
Note the inclusion of shared in the CATALINA_BASE set. It would be better if it read "For classes and resources that must be shared across all web applications within this Tomcat instance."
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |