| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 992 人关注过本帖
标题:用tomcat发布的时候就报这个异常,大侠求救
只看楼主 加入收藏
luoweijun
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:67
专家分:138
注 册:2009-6-12
结帖率:64.71%
收藏
已结贴  问题点数:10 回复次数:4 
用tomcat发布的时候就报这个异常,大侠求救
2010-11-6 10:02:11 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_16\bin;D:\Tomcat 6.0\bin
2010-11-6 10:02:11 org.apache.coyote.http11.Http11Protocol init
严重: Error initializing endpoint
Unrecognized Windows Sockets error: 0: JVM_Bind
    at (Native Method)
    at (PlainSocketImpl.java:365)
    at (ServerSocket.java:319)
    at (ServerSocket.java:185)
    at (ServerSocket.java:141)
    at org.apache.tomcat.(DefaultServerSocketFactory.java:50)
    at org.apache.tomcat.(JIoEndpoint.java:494)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
    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)
2010-11-6 10:02:11 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException:  Protocol handler initialization failed: Unrecognized Windows Sockets error: 0: JVM_Bind
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
    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)
2010-11-6 10:02:11 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 610 ms
2010-11-6 10:02:11 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-11-6 10:02:11 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.10
2010-11-6 10:02:12 org.apache.coyote.http11.Http11Protocol start
严重: Error starting endpoint
Unrecognized Windows Sockets error: 0: JVM_Bind
    at (Native Method)
    at (PlainSocketImpl.java:365)
    at (ServerSocket.java:319)
    at (ServerSocket.java:185)
    at (ServerSocket.java:141)
    at org.apache.tomcat.(DefaultServerSocketFactory.java:50)
    at org.apache.tomcat.(JIoEndpoint.java:494)
    at org.apache.tomcat.(JIoEndpoint.java:513)
    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:202)
    at org.apache.catalina.connector.Connector.start(Connector.java:1132)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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)
2010-11-6 10:02:12 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: Unrecognized Windows Sockets error: 0: JVM_Bind
    at org.apache.catalina.connector.Connector.start(Connector.java:1139)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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)
2010-11-6 10:02:12 org.apache.catalina.startup.Catalina start
信息: Server startup in 907 ms
代码是没有问题,我在其他机器上都可以运行,而且昨天我的机器还用的好好的,不知道今天就怎么用不起了求大家帮个忙
搜索更多相关主题的帖子: tomcat 
2010-11-06 10:09
boyka
Rank: 1
等 级:新手上路
帖 子:1
专家分:2
注 册:2010-11-6
收藏
得分:2 
百度呗
2010-11-06 13:26
usermgr
Rank: 2
等 级:论坛游民
帖 子:10
专家分:30
注 册:2010-5-15
收藏
得分:2 
端口被占用,换个端口试试
2010-11-07 10:53
Apopo
Rank: 2
等 级:论坛游民
帖 子:15
专家分:30
注 册:2010-9-16
收藏
得分:2 
Unrecognized Windows Sockets error: 0: JVM_Bind
端口有问题。
2010-11-09 20:12
maxliz
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:5
帖 子:71
专家分:248
注 册:2010-8-22
收藏
得分:2 
任务管理器里 结束下javaw进程 再重新启动看看
还不行的话 检查端口netstat -an
2010-11-11 22:14
快速回复:用tomcat发布的时候就报这个异常,大侠求救
数据加载中...
 
   



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

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