A big "THANK YOU" to everyone... I had the developer put the context.xml file into the META-INF directory... I then uploaded the WAR file and the application ran immediately!
Thank you again! I don't know if this is something the developer should have known or been doing or something I should have known... but either way, I am excited! -jeff Pid wrote: > Johnny Kewl wrote: >> Chris, the documentation >> http://localhost:8080/tomcat-docs/jndi-datasource-examples-howto.html >> explicitly says... have a look at postgres example, that file should >> have same name as >> the war, or the app.... maybe it can be put into context.xml, but are >> you sure? > > The /deployed/ XML file can be placed in > > tomcat/<service>/<host>/<appname>.xml > > or > > tomcat/Catalina/localhost/mrs.xml > > > Chris was indicating that you put a 'META-INF/context.xml' in your war > or webapp directory - which Tomcat will then deploy to the named file > above. > > The deployed file may be removed or replaced during restarts, and > overwritten by the one in your webapp. > > p > > > >> ----- Original Message ----- From: "Christopher Schultz" >> <[EMAIL PROTECTED]> >> To: "Tomcat Users List" <users@tomcat.apache.org> >> Sent: Thursday, June 14, 2007 7:06 PM >> Subject: Re: Data Sources Overwritten >> >> > Jeffrey, > > Jeffrey C. Baldwin wrote: >>>>> I appreciate all the input guys. I put everything into server.xml and >>>>> the application is working great. > > You should put that setup into META-INF/context.xml in your webapp > directory (or your WAR file) instead of into server.xml. This is likely > to fix your problem. > >>>>> So, my question is, I was trying to set it up so that my developers >>>>> could just deploy/undeploy/stop/start their apps all through the web, >>>>> w/out needing shell access to the server. Is there a way for them to >>>>> restart the Tomcat service through a web interface? > > Restart the entire Tomcat service? I don't think Tomcat includes this > capability. You'd have to write your own, separate utility app that can > take down and restart Tomcat. > >>>>> Is it normal that they should have to restart the entire Tomcat service >>>>> for their app to be able to talk to the configured database connections >>>>> in server.xml? > > No, it's not. Configuring those connections in context.xml will > certainly alleviate this problem. > > -chris > >>> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]