  | 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 Christopher Schultz
Back -- --BEGIN PGP SIGNED MESSAGE-- -- Hash: SHA1
Chuck,
Caldarale, Charles R wrote: > 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."
Was that feature changed in the 5.0 and later versions? My 4.1.x version allows me to put files into $CATALINA_HOME/common/lib and have them available to all webapps which are deployed in their own CATALINA_BASE's. (Hmm... I appear to have TOMCAT_HOME and not CATALINA_HOME in all my scripts.. That's odd.)
It sounds like TC 5 only shares TC code, and what David wants to do must be done by either putting his shared libraries in CATALINA_BASE/shared/lib for all his different projects or by symlinking them all together back to CATALINA_HOME/shared/lib.
Any reason this was changed? I thought it was great just the way it was. ;)
- -chris
-- --BEGIN PGP SIGNATURE-- -- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFffwF9CaO5/Lv0PARAhwqAJ0S8Kro+saNDpdyVMGIwQq8W0W4tACfXDbS WZuhQTbVij1vCLqU5Li2vIg= =rZLp -- --END PGP SIGNATURE-- --
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |