Pid wrote:
> 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. AHH... I did misunderstand. I will try creating the WAR with the context file in place. Thanks! > > > >> ----- 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]