“信息: Port busy 8100 java.net.BindException: Address already in use: JVM_Bind”
(目前例子是8100,可能你的不同):
到tomcat中找conf 目录中的server.xml 寻找报错的端口 ,
<Connector acceptCount="100" connectionTimeout="2000" disableUploadTimeout="true" port="8100" redirectPort="8400" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
</Connector>
<Connector port="8100" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="8400">
</Connector>
就是因为上面两port冲突了,修改protocol="AJP/1.3"的port为"8111"
再次启动tomcat就显示以下内容,无Exception了:
信息: Starting Coyote HTTP/1.1 on http-8100
2011-2-17 8:50:09 org.apache.jk.common.ChannelSocket init
信息: JK2: ajp13 listening on /0.0.0.0:8111