centos5.10 安装tomcat以后 启动不了 以下是报错日志 哪位大神帮忙看下 在线等
Jun 24, 2014 7:57:09 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jun 24, 2014 7:57:09 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jun 24, 2014 7:57:10 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 24, 2014 7:57:10 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jun 24, 2014 7:57:10 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1181 ms
Jun 24, 2014 7:57:10 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 24, 2014 7:57:10 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Jun 24, 2014 7:57:10 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Jun 24, 2014 7:57:10 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Jun 24, 2014 7:57:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jun 24, 2014 7:57:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jun 24, 2014 7:57:11 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 24, 2014 7:57:11 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jun 24, 2014 7:57:11 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1037 ms
Jun 24, 2014 7:57:11 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:406)
at org.apache.catalina.startup.Catalina.await(Catalina.java:676)
at org.apache.catalina.startup.Catalina.start(Catalina.java:628)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jun 24, 2014 7:57:11 PM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jun 24, 2014 7:57:12 PM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Jun 24, 2014 7:57:13 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jun 24, 2014 7:57:13 PM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jun 24, 2014 7:57:43 PM org.apache.tomcat.util.net.AprEndpoint stop
WARNING: endpoint.warn.unlockAcceptorFailed
Jun 24, 2014 7:57:43 PM org.apache.tomcat.util.net.AprEndpoint stop
WARNING: endpoint.warn.unlockAcceptorFailed
Jun 24, 2014 7:57:43 PM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
8005端口被占用端口查看没有占用。。。端口换下吧。。。。什么项目都没跑我把8005换成8055也不行都是起来后短暂的几秒钟然后又挂掉
netstat-a
看看端口是否被占用了!!!
多谢各位帮忙!问题解决了,自己作死==!修改了这个东东
<spanstyle="color:#666666;font-family:Verdana,'MicrosoftYaHei',Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;background-color:#FFFFFF;">若是Centos,则请在/etc/udev/rules.d目录下建文件60-net.rules,并输入内容
<spanstyle="color:#666666;font-family:Verdana,'MicrosoftYaHei',Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;background-color:#FFFFFF;">SUBSYSTEM=="net",ACTION=="add",KERNELS=="0000:00:03.0",NAME="eth0"
<spanstyle="color:#666666;font-family:Verdana,'MicrosoftYaHei',Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;background-color:#FFFFFF;">SUBSYSTEM=="net",ACTION=="add",KERNELS=="0000:00:04.0",NAME="eth1"
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。