为了账号安全,请及时绑定邮箱和手机立即绑定

在MyEclipse中启动Tomcat错误

十一月 27, 2014 9:42:14 上午 org.apache.coyote.AbstractProtocol init

严重: Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??

at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:453)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:646)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:821)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:638)

at org.apache.catalina.startup.Catalina.load(Catalina.java:663)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)

十一月 27, 2014 9:42:14 上午 org.apache.catalina.core.StandardService initInternal

严重: Failed to initialize connector [Connector[HTTP/1.1-8080]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:821)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:638)

at org.apache.catalina.startup.Catalina.load(Catalina.java:663)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)

Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:980)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

... 12 more

Caused by: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??

at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:453)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:646)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)

... 13 more

十一月 27, 2014 9:42:14 上午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["ajp-apr-8009"]

十一月 27, 2014 9:42:14 上午 org.apache.coyote.AbstractProtocol init

严重: Failed to initialize end point associated with ProtocolHandler ["ajp-apr-8009"]

java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??

at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:453)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:646)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:821)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:638)

at org.apache.catalina.startup.Catalina.load(Catalina.java:663)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)

十一月 27, 2014 9:42:14 上午 org.apache.catalina.core.StandardService initInternal

严重: Failed to initialize connector [Connector[AJP/1.3-8009]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8009]]

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:821)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:638)

at org.apache.catalina.startup.Catalina.load(Catalina.java:663)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)

Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:980)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

... 12 more

Caused by: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??

at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:453)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:646)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:978)

... 13 more

十一月 27, 2014 9:42:14 上午 org.apache.catalina.startup.Catalina load

信息: Initialization processed in 1368 ms

十一月 27, 2014 9:42:14 上午 org.apache.catalina.core.StandardService startInternal

信息: Starting service Catalina

十一月 27, 2014 9:42:14 上午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/7.0.57

十一月 27, 2014 9:42:14 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs

十一月 27, 2014 9:42:14 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs has finished in 208 ms

十一月 27, 2014 9:42:14 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples

十一月 27, 2014 9:42:15 上午 org.apache.catalina.core.ApplicationContext log

信息: ContextListener: contextInitialized()

十一月 27, 2014 9:42:15 上午 org.apache.catalina.core.ApplicationContext log

信息: SessionListener: contextInitialized()

十一月 27, 2014 9:42:15 上午 org.apache.catalina.core.ApplicationContext log

信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1be195f')

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples has finished in 500 ms

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\host-manager

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\host-manager has finished in 44 ms

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager has finished in 66 ms

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\MyfirstWebApp

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\MyfirstWebApp has finished in 104 ms

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\myhome

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\myhome has finished in 36 ms

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT has finished in 27 ms

十一月 27, 2014 9:42:15 上午 org.apache.catalina.startup.Catalina start

信息: Server startup in 1031 ms

十一月 27, 2014 9:42:15 上午 org.apache.catalina.core.StandardServer await

严重: StandardServer.await: create[localhost:8005]: 

java.net.BindException: Address already in use: JVM_Bind

at java.net.DualStackPlainSocketImpl.bind0(Native Method)

at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:96)

at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:374)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:175)

at java.net.ServerSocket.bind(ServerSocket.java:376)

at java.net.ServerSocket.<init>(ServerSocket.java:237)

at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)

at org.apache.catalina.startup.Catalina.await(Catalina.java:777)

at org.apache.catalina.startup.Catalina.start(Catalina.java:723)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)

十一月 27, 2014 9:42:15 上午 org.apache.coyote.AbstractProtocol pause

信息: Pausing ProtocolHandler ["http-apr-8080"]

十一月 27, 2014 9:42:15 上午 org.apache.coyote.AbstractProtocol pause

信息: Pausing ProtocolHandler ["ajp-apr-8009"]

十一月 27, 2014 9:42:15 上午 org.apache.catalina.core.StandardService stopInternal

信息: Stopping service Catalina

十一月 27, 2014 9:42:15 上午 org.apache.catalina.core.ApplicationContext log

信息: SessionListener: contextDestroyed()

十一月 27, 2014 9:42:15 上午 org.apache.catalina.core.ApplicationContext log

信息: ContextListener: contextDestroyed()

十一月 27, 2014 9:42:15 上午 org.apache.coyote.AbstractProtocol stop

信息: Stopping ProtocolHandler ["http-apr-8080"]

十一月 27, 2014 9:42:15 上午 org.apache.coyote.AbstractProtocol destroy

信息: Destroying ProtocolHandler ["http-apr-8080"]

十一月 27, 2014 9:42:15 上午 org.apache.coyote.AbstractProtocol stop

信息: Stopping ProtocolHandler ["ajp-apr-8009"]

十一月 27, 2014 9:42:15 上午 org.apache.coyote.AbstractProtocol destroy

信息: Destroying ProtocolHandler ["ajp-apr-8009"]


正在回答

3 回答

我的也是这个问题,我是干掉javaw.exe进程,重新启动Tomcat,解决了

1 回复 有任何疑惑可以回复我~

port冲突原因是,tomcat开机自启,当在MyEclipse中再次启动时当然会出现冲突。关掉开机自启就好了!

1 回复 有任何疑惑可以回复我~
#1

若其

怎么关掉开机自启??
2016-05-20 回复 有任何疑惑可以回复我~

将port改为8088就可以正常启动了,自己解决!

1 回复 有任何疑惑可以回复我~
#1

熙伊

去哪里改啊?
2014-12-02 回复 有任何疑惑可以回复我~
#2

熙伊

改成8088还是不对啊,为什么要改成8088
2014-12-02 回复 有任何疑惑可以回复我~
#3

自然自清 提问者 回复 熙伊

server.xml中修改。1000以上,65535以下随机想一个端口号试试看。
2014-12-05 回复 有任何疑惑可以回复我~
#4

自然自清 提问者 回复 熙伊

我的port冲突原因是,tomcat开机自启,当在MyEclipse中再次启动时当然会出现冲突。关掉开机自启就好了!
2014-12-05 回复 有任何疑惑可以回复我~
查看1条回复

举报

0/150
提交
取消

在MyEclipse中启动Tomcat错误

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信