标题:请教myeclipse不能启动tomcat6.0.18
只看楼主
chenhao19860
Rank: 3Rank: 3
等 级:论坛游侠
威 望:1
帖 子:86
专家分:151
注 册:2010-3-15
结帖率:66.67%
已结贴  问题点数:20 回复次数:3 
请教myeclipse不能启动tomcat6.0.18
2011-12-24 15:52:34 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.14.
2011-12-24 15:52:34 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
2011-12-24 15:52:35 org.apache.coyote.http11.Http11AprProtocol init
严重: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
    at org.apache.tomcat.(AprEndpoint.java:612)
    at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
    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:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2011-12-24 15:52:35 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
    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:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
2011-12-24 15:52:35 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1268 ms
2011-12-24 15:52:35 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-12-24 15:52:35 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2011-12-24 15:52:36 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-12-24 15:52:36 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-12-24 15:52:36 org.apache.coyote.http11.Http11AprProtocol start
严重: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
    at org.apache.tomcat.(AprEndpoint.java:612)
    at org.apache.tomcat.(AprEndpoint.java:717)
    at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
    at org.apache.catalina.connector.Connector.start(Connector.java:1131)
    at org.apache.catalina.core.StandardService.start(StandardService.java:531)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-12-24 15:52:36 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
    at org.apache.catalina.connector.Connector.start(Connector.java:1138)
    at org.apache.catalina.core.StandardService.start(StandardService.java:531)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-12-24 15:52:36 org.apache.catalina.startup.Catalina start
信息: Server startup in 896 ms
2011-12-24 15:52:36 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]:
Address already in use: JVM_Bind
    at (Native Method)
    at (PlainSocketImpl.java:359)
    at (ServerSocket.java:319)
    at (ServerSocket.java:185)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
在网上找了看,说端口被占用,但是改了端口还是启动不了,请高手指点!
搜索更多相关主题的帖子: 信息 library Socket failed 
2011-12-24 16:00
付政委
该用户已被删除
得分:7 
提示: 作者被禁止或删除 内容自动屏蔽
2011-12-24 21:35
baifenghan
Rank: 8Rank: 8
等 级:贵宾
威 望:10
帖 子:258
专家分:952
注 册:2006-3-17
得分:7 
你可能是用的tomcat的可执行安装版的,对于这个请在服务管理中将系统替你管理的tomcat服务设置为手动启动,然后执行关闭脚本关掉可能存在的所有tomcat服务,然后再尝试。

还有一种可能就是你没有同时配置tomcat的java版本,请尝试使用1.5以上的JDK。而不是jre。
2011-12-28 19:40
鱼骨头Main
Rank: 3Rank: 3
等 级:论坛游侠
威 望:1
帖 子:55
专家分:138
注 册:2009-3-27
得分:7 
很不幸的告诉你,
tomcat端口绑定出错。

可能有以下原因
1:你已经开启了一个tomcat,但是没注意,现在又在开。
2:有其他软件吧tomcat的端口占用了。

我建议的解决办法
1.最简单的,重启。
2.去看看端口占用信息。(cmd命令,是什么我忘记了。不过百度,谷歌一下一大堆的。)

2011-12-28 20:44



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-358536-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.037670 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved