First time <Context antiJARLocking="true" antiResourceLocking="true"/>
Second time <Context> <Context antiJARLocking="true" antiResourceLocking="true"/> <Resource name="jdbc/xxx” auth="Container" type="javax.sql.DataSource" driverClassName=”oracle.jdbc.driver.OracleDriver” url=”jdbc:oracle:thin:@.../> </Context> Third time <Context antiJARLocking="true" antiResourceLocking="true"> <Resource name="jdbc/xxx” auth="Container" type="javax.sql.DataSource" driverClassName=”oracle.jdbc.driver.OracleDriver” url=”jdbc:oracle:thin:@.../> </Context> All three times gives me the same result. My application runs fine...well, I didn't check the 3rd time. I just can't undeploy in the Tomcat Manager. I have been stopping the service and redeploying manually for awhile now and everything seemed ok. I just can't do it without stopping the service. JT On Wed, Apr 22, 2009 at 4:24 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: JT [mailto:jltoo...@gmail.com] > > Subject: Re: Undeploy does not delete all .jar files > > > > Not sure why I have the <Logger>. I put that in over a > > year ago and I was looking at docs and examples online > > and since it seemed to work I didn't worry about it. > > It didn't "work" - it didn't do anything. > > > Anyways, I did not add the Logger back into my application context.xml > > file. My application context.xml file looks like this. > > <Context> > > <Context antiJARLocking="true" antiResourceLocking="true"/> > > <Resource name="jdbc/xxx" auth="Container" > > type="javax.sql.DataSource" > > driverClassName="oracle.jdbc.driver.OracleDriver" > > url="jdbc:oracle:thin:@.../> > > </Context> > > Did you seriously nest one <Context> element inside another? That's > obviously incorrect; it should look something like this: > > <Context antiJARLocking="true" antiResourceLocking="true"> > <Resource name="jdbc/xxx" auth="Container" > type="javax.sql.DataSource" > driverClassName="oracle.jdbc.driver.OracleDriver" > url="jdbc:oracle:thin:@.../> > </Context> > > I have not attempted to validate your <Resource> settings. > > - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >