红联Linux门户
Linux帮助

linux下多个tomcat启动时只有一个正常的

发布时间:2015-09-12 19:05:27来源:linux网站作者:xiaoxinxiaoxing

在多余的tomcat的bin文件夹下的startup.sh中编辑,加上:

export CATALINA_HOME=/usr/local/apache-tomcat-7.0.54
export CATALINA_BASE=/usr/local/apache-tomcat-7.0.54


在conf下的server.xml上要修改:

<Server port="8015" shutdown="SHUTDOWN">

<Connector port="8082" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />


CentOS下Tomcat的基础安装:http://www.linuxdiyf.com/linux/13875.html

CentOS 6.6下Tomcat集群:http://www.linuxdiyf.com/linux/12507.html

CentOS下配置多个Tomcat同时运行:http://www.linuxdiyf.com/linux/11537.html

CentOS 6.4安装搭建Tomcat 7:http://www.linuxdiyf.com/linux/10513.html

CentOS 6.5下安装Tomcat:http://www.linuxdiyf.com/linux/10251.html