I took everything out of my conf/context.xml file except for WatchedResource. This includes....
<Context path="/xxx" docBase="xxx" debug="1" reloadable="true" /> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> <Resource name="jdbc/xxx” auth="Container" type="javax.sql.DataSource" driverClassName=”oracle.jdbc.driver.OracleDriver” url=”jdbc:oracle:thin:@ ...../> I have the context.xml file in my webapps/xxx/WEB-INF/classes/META-INF I deleted the xxx directory under webapps, everything under the work directory, restarted tomcat, dropped the new xxx.war file in webapps. New xxx directory appears with the context.xml in the above location. I go to the manager website and select undeploy and still the same .jars under xxx/WEB-INF/lib. JT On Tue, Apr 21, 2009 at 5:29 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > JT, > > On 4/21/2009 4:35 PM, JT wrote: > > That didn't work either. This is what I did. > > > > I put back what I had in the conf/context.xml file. I still had the path > > and docBase > > Yeah, that's still a problem. Here's what your conf/context.xml should > look like (minus standard comments). > > <Context> > <WatchedResource>WEB-INF/web.xml</WatchedResource> > </Context> > > Adding the "path" and "docBase" attributes will break pretty much > everything, either now or later. Please take them out whether you > understand or not. > > > <Context antiJARLocking="true" antiResourceLocking="true"/> > > That's good. > > > That's all that i have in that file. I deleted everything under work and > > there was not a file in conf/Catalina/localhost/test.xml. There was only > > host-manager.xml and manger.xml. Then I restarted Tomcat and added the > new > > .war file to webapps and that created a new directory, but still it would > > not undeploy correctly. > > Make the above changes and try again. It still might not fix your issue, > but putting docBase and path into your <Context> like this will lead to > lots of troubles. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAknuOtIACgkQ9CaO5/Lv0PBMiQCfbZwsVXgPtK3LPx6zRoRjGZBd > YbUAn1KerwAaNg9zBH7AhFSH8dRdJPZJ > =tivY > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >