You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Caldarale, Charles R" <Ch...@unisys.com> on 2008/08/20 14:56:55 UTC

RE: How to tell Tomcat to use an additional classpath other than web-inf/classes?

> From: Dave Bender [mailto:dbender@umn.edu]
> Subject: RE: How to tell Tomcat to use an additional
> classpath other than web-inf/classes?
>
> Why not add the path to the CLASSPATH variable in
> the '<TOMCAT_HOME>/bin/setclasspath.sh' script (or
> setclasspath.bat for Windows)?

Because that prevents the webapp from being reloaded without starting Tomcat.  It also introduces the distinct possibility of duplicating classes in the classloader hierarchy.  Putting anything in CLASSPATH other than the bare minimum Tomcat itself (not any webapp) actually needs is a Really Bad Idea.

 - 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@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org