-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Friday, February 19, 2010 4:17 PM
To: Tomcat Users List
Subject: RE: DB connection error -Tomcat 6 config


The <Context> element for your webapp should be in the webapp's 
META-INF/context.xml file.  (There are alternative locations, but that's 
usually the simplest.)

When you create the <Context> element in your webapp's META-INF/context.xml 
file, remove the path and docBase attributes; they're not allowed.  Remove the 
debug attribute, since that hasn't been used in many years.  The <Resource> 
element and its attributes belong in the webapp's <Context> element, not the 
global one.

-------------------

Should I (not) be rendering some of the particular webapps's info in the 
WEB-INF/web.xml file?
Or absolutely it should go in the above?

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to