Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat Environment Variables  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Right now I have configuration files for different development environments. Dev, Stage, and Prod. When my webapp starts I read in a variable I set in tomcat to determine which config file(s) I need.

What I'd like to do is specify the variable when I start Tomcat rather than in the startup.bat/sh file.

Any tips?

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!