Wednesday, June 10, 2015

How to pass environment variables to tomact

Just change the below file in order to pass environment variables to tomcat.

TOMCAT_HOME/bin/catalina.sh  

 

And keep the below line:

JAVA_OPTS="$JAVA_OPTS -Dkey=$value"

No comments:

Post a Comment