运行多个tomcat时,出现tomcat Address already in use: JVM_Bind这个错误,可以按照如下方式解决:
修改F: omcat20111101apache-tomcat-6.0.26conf目录下的server.xml文件的端口号
修改后的结果如下:
<Server port="8006" shutdown="SHUTDOWN">,
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="8008" protocol="AJP/1.3" redirectPort="8443" />
Server 处的8006端口,Connector处的8080端口、8008端口这三个地方的端口进行设置。不能与其他有冲突