Re: Suggestions for deploying context.xml for different environments?

2016-07-07 Thread Nasry Al-Haddad
One additional way to do it is to create a symbolic link in tomcat's $CATALINA_HOME/conf/engine/host/ that points to a fixed location where you deploy my-application.xml. But worth mentioning here is that you still have to have the passwords in plain text configuration files. In this method,

Re: Suggestions for deploying context.xml for different environments?

2016-07-07 Thread Christoph Nenning
> >> Hello. I am seeking some advice for the best ways to deploy Java web > >> applications to different Tomcat environments. > >> > >> In particular, my application requires that a JNDI resource be defined > >> for a database, where the database server address and credentials will > >> vary

Re: Suggestions for deploying context.xml for different environments?

2016-07-06 Thread Philip Hachey
Thank you for the reply, Christoph. On 16-07-05 03:32 AM, Christoph Nenning wrote: Hello. I am seeking some advice for the best ways to deploy Java web applications to different Tomcat environments. In particular, my application requires that a JNDI resource be defined for a database, where

Re: Suggestions for deploying context.xml for different environments?

2016-07-05 Thread Paul Roubekas
Will the context.xml file meet your requirement? http://javabeat.net/tomcat-jndi/ On 7/4/2016 10:42 AM, Philip Hachey wrote: > Hello. I am seeking some advice for the best ways to deploy Java web > applications to different Tomcat environments. > > In particular, my application requires that

Re: Suggestions for deploying context.xml for different environments?

2016-07-05 Thread Christoph Nenning
> Hello. I am seeking some advice for the best ways to deploy Java web > applications to different Tomcat environments. > > In particular, my application requires that a JNDI resource be defined > for a database, where the database server address and credentials will > vary depending on the

Suggestions for deploying context.xml for different environments?

2016-07-04 Thread Philip Hachey
Hello. I am seeking some advice for the best ways to deploy Java web applications to different Tomcat environments. In particular, my application requires that a JNDI resource be defined for a database, where the database server address and credentials will vary depending on the environment