标题:用tomcat发布的时候就报这个异常,大侠求救
取消只看楼主
luoweijun
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:67
专家分:138
注 册:2009-6-12
结帖率:64.71%
已结贴  问题点数:10 回复次数:0 
用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



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




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

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