开发者社区> 问答> 正文

tomcat启动问题 在线等!!!谢谢!!!?报错

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

展开
收起
爱吃鱼的程序员 2020-06-20 16:59:57 480 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    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" 

    2020-06-20 17:00:14
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
《Nginx 代理系统常用手册》 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载