SEVERE: StandardServer.await: create[8035]:

报错问题:

SEVERE: StandardServer.await: create[8035]: 

java.net.BindException: Address already in use

        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)

May 30, 2014 5:24:59 PM org.apache.coyote.http11.Http11Protocol pause

INFO: Pausing Coyote HTTP/1.1 on http-8065

解决方案: 

  1. 修改tomcat/conf/server.xml文件,将<Server port="8035" shutdown="SHUTDOWN">8035改成不常用的端口号即可,比如8088

        linux 如何检查正在使用的端口:

            netstat –nlpt或netstat -nat

2. 查看进程号:netstat -anp |grep 8065,然后在kill得到的进程号.


                                                                                                                            Name:Xr

                                                                                                                            Date:2014-05-31 22:51












你可能感兴趣的:(SEVERE: StandardServer.await: create[8035]:)