错误提示:
严重: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:258)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:143)
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1402)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:605)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2369)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:421)
2006-2-8 16:36:37 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1404)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:605)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2369)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
.......................
原因分析:在dos下运行“netstat -a ”查看当前端口的使用情况。
解决方法:修改Tomcat的使用端口,具体做法——找到目录...\Tomcat 5.0\conf,在conf目录下有“server.xml”文件,用记事本打开此文件,查找(打开文件后Ctrl+F)文件中的所有“8080”,并改为其他没有被占用的端口值(如:8088、8081等)。
posted on 2009-12-26 18:27
鹏凌 阅读(1291)
评论(0) 编辑 收藏 所属分类:
java