> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat 6.0.x Classloader sequence
> 
> Is it possible for me to configure the webapp class loaders 
> to load classes from a path common to multiple webapps before
> loading from the webapp itself?

I can't find anything in the docs that indicate this is directly
configurable, but it should be possible to extend WebappClassLoader and
add your own path.

Browsing through the Tomcat source does turn up something called
VirtualWebappLoader; the comments therein indicate this is intended to
provide what you want.  However, it also includes this note:

"This is not meant to be used for production. Its [sic] meant to ease
development with IDE's [sic] without the need for fully republishing
jars in WEB-INF/lib"

I couldn't actually get it to work, but it is intriguing...

 - 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