1.修改tomcat配置文件server.xml中的三个端口:
http://www.2cto.com/os/201109/105213.html
同时运行两个Tomcat,第二个Tomcat需要修改三个端口:
<Server port="8005" shutdown="SHUTDOWN" debug="0">
----原来是8005,可以修改为任意不冲突值
第二: (第92行)
<Connector port="8080" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />
" ----原来是8080;;修改为任意不冲突值
第三: (第117 行)
<Connector port="8009"
enableLookups="false" redirectPort="8443" debug="0"
protocol="AJP/1.3" />
2.将项目war包放到新解压的tomcat下面的webapps下面:
http://jingyan.baidu.com/article/ab0b56309110b4c15afa7de2.html