• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read Connection details from property on start up.

 
Ashwin Sridhar
Ranch Hand
Posts: 277
Flex Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possible to read connection details from a property file and put in server.xml on the start up ?

Regards,
Ashwin
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DO you mean things like the port numbers Tomcat will be using?

I have fuzzy indications that MAYBE server.xml can handle variable substitution, but ultimately server.xml IS a properties file. When running multiple Tomcat instances, you would normally split the CATALINA_HOME and CATALINA_BASE directories apart and keep a distinct server.xml in the CATALINA_BASE of each defined Tomcat.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic