Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass tomcat-users.xml filea path to catalina.sh?

 
nilesh bhattad
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have a script setup in Solaris environment that starts Tomcat 5.0.28 server. The script is generic for different environments and we pass server.xml file path using "-config" parameter to catalina.sh

Now our requirement is to pass tomcat-users.xml file path as well as a command line argument to catalina.sh. Is there anyway I could specify which tomcat-users.xml file path when starting up Tomcat using "catalina.sh run" command?

Thanks in advance!
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In server.xml:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic