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. > 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. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org