Quoting "Christopher A. Brooks" <[EMAIL PROTECTED]>:

> Hi,
> 
> My problem is as follows.  I would like to have an ant script that
> auto-deploys my webapp into Tomcat 5 including any data source resources it
> might need (e.g. Database connections).  Thus far I have only been able to
> define these resources in the server.xml file, which means my deployment
> process requires two steps (deploy, then beg my admin to change my data
> source references in the server.xml).
> 
> What are the best practices for a "one click deploy" with tomcat?  Thanks in
> advance,
> 

Put at "context.xml" file in the WAR file's META-INF directory.  The root
element is <Context> and includes anything that a normal <Context> has in
server.xml.  Deploy and you're set to go.

Jake

> Chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to