Dynamically determine which credentials to use for a Tomcat JDBC Connection Pool [Tomcat 8.0.36]

2016-07-08 Thread Philip Hachey
Hi. I'm looking for a way to dynamically determine which username and password to use for a Tomcat JDBC Connection Pool [https://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html] based on the database URL to which it is connecting. I imagine this as an external key=value lookup where (database

Re: Upgrading Tomcat 8.0.23 to Tomcat 8.50

2016-07-06 Thread Philip Hachey
I would do a fresh install to a new directory and change what you need to to match your previous configuration, taking into account changes between Tomcat versions (see: http://tomcat.apache.org/migration.html). You will need to update system environment variables such as $CATALINA_HOME and/or

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 th

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 t

Re: Need help setting up SSL on Tomcat 8

2016-06-30 Thread Philip Hachey
On 16-06-29 09:08 AM, Sean Son wrote: Hello Daniel Thank you for the information. Here is the output of the keytool command: Keystore type: JKS Keystore provider: SUN Your keystore contains 2 entries root, Jun 16, 2016, trustedCertEntry, Certificate fingerprint (SHA1): 27:AC:93:69:FA:F2:52:

Re: Need help setting up SSL on Tomcat 8

2016-06-28 Thread Philip Hachey
Have you tried following the steps found here?: https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org