> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > Can you post me how my new server.xml should look and how > some_webapp/META-INF/context.xml should look.
Just remove all <Context> elements from server.xml - it's bad practice to have them there, since it violates the principle of self-contained webapps, and making any changes require restarting Tomcat, not just the webapp. <Context reloadable="true" crossContext="true"> <ResourceLink global="jdbc/SomeDB" name="jdbc/SomeDB" type="javax.sql.DataSource" /> <ResourceLink global="jdbc/SomeDB2" name="jdbc/SomeDB2" type="javax.sql.DataSource" /> </Context> > Also would apprecite link to right documentation why it > should be that way, thanks. http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > And do you really think this would solve my initial problem, or....? Nope. - 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