> From: Kaspar Fischer [mailto:[EMAIL PROTECTED] 
> Subject: Re: Sharing an object between two webapps
> 
> The class SharedObjectHolder from my previous post lies inside the
> JAR webapps/A/WEB-INF/lib/SharedObjectHolder.jar.

Move it to shared/lib; do not leave a copy in WEB-INF/lib or any other
location, including B's WEB-INF/lib directory.

> In order to make A's JARs available to webapp B, I've set
>    shared.loader=${catalina.base}/shared/classes,${catalina.base}/ 
> shared/lib/*.jar,${catalina.base}/webapps/A/WEB-INF/lib/*.jar

I wouldn't mess with that - pretty much guaranteed to cause confusion
and collisions with the webapp's classsloader.  Put it back the way it
was.

 - 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