日期:2014-05-17  浏览次数:20912 次

多tomcat的启动问题
机器上有两个tomcat
看了网上的文章,说只要两个的端口不一致就可以
于是用了9071端口
结果报错如下:
请教各位!bow


严重:   Error   initializing   endpoint
java.net.BindException:   Address   already   in   use:   JVM_Bind:9071
at   org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
at   org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
at   org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
at   org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at   org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(Unknown   Source)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown   Source)
at   java.lang.reflect.Method.invoke(Unknown   Source)
at   org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
2007-2-2   9:31:08   org.apache.catalina.startup.Catalina   load
严重:   Catalina.start
LifecycleException:     Protocol   handler   initialization   failed:   java.net.BindException:   Address   already   in   use:   JVM_Bind:9071
at   org.apache.catalina.connector.Connector.initialize(Connector.java:1018)
at   org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at   org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at   org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(Unknown   Source)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown   Source)
at   java.lang.reflect.Method.invoke(Unknown   Source)
at   org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
2007-2-2   9:31:08   org.apache.catalina.startup.Catalina   load
信息:   Initialization   processed   in   2891   ms
2007-2-2   9:31:08   org.apache.catalina.core.StandardService   start
信息:   Starting   service   Catalina
2007-2-2   9:31:08   org.apache.catalina.core.StandardEngine   start
信息:   Starting   Servlet   Engine:   Apache   Tomcat/5.5.20
2007-2-2   9:31:08   org.apache.catalina.core.StandardHost   start
信息:   XML   validation   disabled
2007-2-2   9:31:11   org.apache.coyote.http11.Http11BaseProtocol   start
严重:   Error   starting   endpoint
java.net.BindException:   Address   already   in   use:   JVM_Bind:9071
at   org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
at   org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
at   org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:150)
at   org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75)
at   org.apache.catalin