[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: RE: /WEB-INF/lib
From: "Caldarale, Charles R" <Chuck.Caldarale () unisys ! com>
Date: 2009-02-27 17:35:55
Message-ID: 0AAE5AB84B013E45A7B61CB66943C17215B8653C73 () USEA-EXCH7 ! na ! uis ! unisys ! com
[Download RAW message or body]
> From: Mudit Garg [mailto:maxmudit@gmail.com]
> Subject: Re: /WEB-INF/lib
>
> You could set an explicit classpath in tomcat startup script like:
Don't ever, ever, ever set CLASSPATH for Tomcat; you will confound the classloader \
design and end up with all sorts of ClassNotFoundExceptions. It will likely also be \
impossible to reload webapps without restarting the entire server.
The servlet spec states that jars are to be placed in WEB-INF/lib, so that's what \
Tomcat implements; if the developer wants something beyond that, a custom classloader \
is what's needed.
- 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic