> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Subject: Re: java.lang.NoClassDefFoundError: 
> org/apache/commons/collections/SequencedHashMap
> 
> Common/lib is for internal use and wouldnt be expected to 
> demand load the classes you require as is the case for the
> webapp WEB-INF
> http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

Although the reference given is quite appropriate, the statements
preceding it are incorrect.

The common/lib location is not for Tomcat internal use; it provides a
location for classes that must be visible to *both* Tomcat and webapps,
such as the servlet API interfaces and JDBC drivers for connection
pooling.

And, of course, all classes are "demand loaded" on first reference,
regardless of location.

Placing application-specific classes in WEB-INF/lib is certainly the
right thing to do, since that contributes to webapp independence.

 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to