> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: RE: Problems with VirtualWebappLoader (Was RE:
> Tomcat 6.0.x Classloader sequence)
>
> I merely want the webapp classloader of each webapp1 to load
> classes not only from WEB-INF/{classes|lib} but also from
> ${CATALINA_HOME}/mycommonlib.
O.k., try this undocumented capability. Inside each <Context> element
that needs it, specify a <Loader> element with the following attributes:
className="org.apache.catalina.loader.VirtualWebappLoader"
virtualClasspath="${CATALINA_HOME}/mycommonlib"
This should append the common library directory to the classpath used by
each WebappClassLoader, so they'll each load their own copies.
- 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: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]