tomcat7.0.2部署在阿里云,启动出错

Nov 14, 2017 5:32:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Nov 14, 2017 5:32:21 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8888
Nov 14, 2017 5:32:21 PM org.apache.coyote.ajp.AjpProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Nov 14, 2017 5:32:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 668 ms
Nov 14, 2017 5:32:21 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Nov 14, 2017 5:32:21 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.2
Nov 14, 2017 5:32:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Nov 14, 2017 5:32:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Nov 14, 2017 5:32:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Nov 14, 2017 5:32:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Nov 14, 2017 5:32:22 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Nov 14, 2017 5:32:22 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8888
Nov 14, 2017 5:32:22 PM org.apache.coyote.ajp.AjpProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Nov 14, 2017 5:32:22 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 729 ms
Nov 14, 2017 5:32:22 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Address already in use (Bind failed)
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.(ServerSocket.java:237)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:360)
at org.apache.catalina.startup.Catalina.await(Catalina.java:663)
at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)

Nov 14, 2017 5:32:22 PM org.apache.coyote.http11.AbstractHttp11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8888
Nov 14, 2017 5:32:22 PM org.apache.coyote.ajp.AjpProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Nov 14, 2017 5:32:23 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina

5个回答

新人,求有知道的大佬指点

你用的是什么系统?记得表述问题说清楚

图片说明
这一句是重点,找不到路径,你是不是没有安装java?或者安装Java后没有配置环境变量?

图片说明
端口被占了,换个端口就好了。或者看一下谁占了端口,关了就好了

端口被占的问题 换个端口

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问