Hi Mark,

Thanks for the prompt reply.

On Thu, Mar 24, 2011 at 5:33 PM, Mark Thomas <ma...@apache.org> wrote:

> On 24/03/2011 11:14, neeraj kumar wrote:
> > Hi Mark,
> >
> > I have a multiwar app.
>
> That isn't ideal. Web applications are intended to be self-contained.
>
> The apps are logically exclusive, just that the platform is such that , it
allows developers to create widgets in one app, which can access data in
another.


> > I made the changes to one war in myway/META-INF/context.xml
> >
> > <Context path="/mywar" clearReferencesStopThreads="true"
> > clearReferencesThreadLocals="true">
> >
> > </Context>
> >
> > The issue is:
> >
> > 1.When I use tomcat manager to deploy the war, it doesn't respect the
> path
> > attribute of the war. i.e my war is by the name
> > mywar-R10-SNAPSHOT.war, so the context is set as mywar-R10-SNAPSHOT
> rather
> > than just mywar.
>
> As expected. Read the docs for the Context element.
>
> > 2. How can I confirm if clearReferencesStopThread and
> > clearReferencesThreadLocals attributes are being respected or not??
>
> If they do anything, there will be a message in the log on context stop.
> However, you are using 6.0.18 (current 6.0.x version is 6.0.32 and there
> is also 7.0.11) and I don't believe those options are available in 6.0.18.
>
> I will upgrade my tomcat version and see if things change.

> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
Also, just out of curiosity, I was wondering what race conditions could
occur while undeployment etc.
And how the manager takes care of those.

Thanks
--
Neeraj

Reply via email to