Created
December 24, 2020 06:43
-
-
Save harplife/4e5ce6f2971828ff222c4b3bbe126d95 to your computer and use it in GitHub Desktop.
setenv.sh is loaded by tomcat automatically, if it exists.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/bin/sh | |
| # setting Variables and Environment for Tomcat | |
| ##1. server.xml docBase port | |
| export CATALINA_HOME=/usr/local/apache-tomcat-8.5.61 | |
| export CATALINA_BASE=/usr/local/apache-tomcat-8.5.61 | |
| export CATALINA_OUT=/usr/local/apache-tomcat-8.5.61/logs/catalina.out | |
| #export SERVER_NAME= | |
| CATALINA_PID=$CATALINA_HOME/bin/tomcat.pid | |
| # tomcat server.xml value setting : Connector port - http, https , Context docBase , Context path | |
| # server.xml file | |
| #export CATALINA_OPTS="-server $CATALINA_OPTS -Dport.http=8080 -Dport.https=443 -Dcontext.docbase=$CATALINA_BASE/webapps/civasan" | |
| JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
| #CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/lib-jsp-api.jar:$CATALINA_HOME/lib/servlet-api.jar #salevis.net setting | |
| CLASSPATH=.:$CATALINA_HOME/lib/servlet-api.jar #cafe24 ai-crm setting | |
| PATH=$PATH:$JAVA_HOME/bin:$CATALINA_HOME/bin | |
| export JAVA_HOME CLASSPATH PATH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment