标题:myeclipse6.0中启动tomcat5.5发生问题
只看楼主
llcy
Rank: 1
来 自:成都
等 级:新手上路
帖 子:16
专家分:0
注 册:2008-3-24
 问题点数:0 回复次数:3 
myeclipse6.0中启动tomcat5.5发生问题
其他一切正常,就是在myeclipse6.0中启动tomcat遇到以下错误
在起动报错以后
在金山网标中查看应用程序所监听的端口


我然后把C:\Tomcat 5.5\conf下的server.xml的端口更改了一下,再试图启动,然后报错为改后的端口又已被使用
小弟被整茫然了,望哪位高手指点一下,小弟不胜感激
2008-5-9 1:11:09 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jre1.5.0_14\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\jre1.5.0_14\bin\client;C:\jre1.5.0_14\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\jdk1.5.0_14\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\StormII\Codec;C:\Program Files\StormII
2008-5-9 1:11:09 org.apache.coyote.http11.Http11BaseProtocol init
严重: Error initializing endpoint
Address already in use: JVM_Bind:8080
    at org.apache.tomcat.(PoolTcpEndpoint.java:298)
    at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
    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(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:267)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2008-5-9 1:11:09 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException:  Protocol handler initialization failed: Address already in use: JVM_Bind:8080
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1019)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
    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(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:267)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2008-5-9 1:11:09 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1500 ms
2008-5-9 1:11:10 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2008-5-9 1:11:10 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.26
2008-5-9 1:11:10 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2008-5-9 1:11:12 org.apache.coyote.http11.Http11BaseProtocol start
严重: Error starting endpoint
Address already in use: JVM_Bind:8080
    at org.apache.tomcat.(PoolTcpEndpoint.java:298)
    at org.apache.tomcat.(PoolTcpEndpoint.java:313)
    at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:151)
    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:76)
    at org.apache.catalina.connector.Connector.start(Connector.java:1090)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2008-5-9 1:11:12 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: Address already in use: JVM_Bind:8080
    at org.apache.catalina.connector.Connector.start(Connector.java:1097)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2008-5-9 1:11:12 org.apache.catalina.startup.Catalina start
信息: Server startup in 2344 ms
2008-5-9 1:11:12 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]:
Address already in use: JVM_Bind
    at (Native Method)
    at (Unknown Source)
    at (Unknown Source)
    at (Unknown Source)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:363)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
    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.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2008-5-9 1:11:12 org.apache.coyote.http11.Http11BaseProtocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080
2008-5-9 1:11:12 org.apache.catalina.connector.Connector pause
严重: Protocol handler pause failed
java.lang.NullPointerException
    at org.apache.jk.server.JkMain.pause(JkMain.java:679)
    at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
    at org.apache.catalina.connector.Connector.pause(Connector.java:1032)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
    at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:645)
搜索更多相关主题的帖子: 金山 Tomcat library 端口 java 
2008-05-09 01:38
llcy
Rank: 1
来 自:成都
等 级:新手上路
帖 子:16
专家分:0
注 册:2008-3-24
得分:0 
问题已解决~!

嘿嘿```
头都弄大了,我也不明白为什么就能行了`
2008-05-09 01:54
Ethip
Rank: 5Rank: 5
等 级:贵宾
威 望:15
帖 子:771
专家分:0
注 册:2008-1-18
得分:0 
回复 2# 的帖子
Address already in use: JVM_Bind
端口已经绑定,就是你把tomcat启动了2次,在任务管理器中关掉可以!
2008-05-09 10:46
llcy
Rank: 1
来 自:成都
等 级:新手上路
帖 子:16
专家分:0
注 册:2008-3-24
得分:0 
谢谢指点!!
2008-05-09 21:13



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




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

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