Home > Operation and Maintenance > Linux Operation and Maintenance > Things to note when configuring multiple Tomcats on Linux

Things to note when configuring multiple Tomcats on Linux

巴扎黑
Release: 2017-07-22 13:27:45
Original
1961 people have browsed it



Things to modify when configuring multiple Tomcats in Linux



# # tomcat2/conf/server.xml Change 3 places





Content appended to the end of tomcat2/bin/setClasspath.sh
export JAVA_HOME=/usr/java/jdk

export JRE_HOME=/usr/java/jdk/jre



Append the second Tomcat catalina at the end of /etc/profile Path
CATALINA_2_BASE=/usr/java/tomcat2

CATALINA_2_HOME=/usr/java/tomcat2###export CATALINA_2_BASE CATALINA_2_HOME####Second Tomcat path###TOMCAT_2_HOME=/usr/java/tomcat2# ##export TOMCAT_2_HOME######### tomcat2/bin/catalina.sh, in # OS specific support. $var _must_ be set to either true or false. This line, newline, append #### myself: add###export CATALINA_BASE=$CATALINA_2_BASE###export CATALINA_HOME=$CATALINA_2_HOME###

The above is the detailed content of Things to note when configuring multiple Tomcats on Linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template