File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read Connection details from property on start up.

 
Ashwin Sridhar
Ranch Hand
Posts: 272
Flex Oracle Spring
  • 0
  • 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: 17620
39
Android Eclipse IDE Linux
  • 0
  • 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