- 论坛徽章:
- 0
|
tomcat 停止后,80端口还在?再启动就提示已经使用.?
[root@localhost tomcat]# netstat -nat;
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address Stat e
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LIST EN
tcp 0 0 0.0.0.0:691 0.0.0.0:* LIST EN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LIST EN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN
tcp 0 0 ::ffff:127.0.0.1:8005 :::* LIST EN
tcp 0 0 :::8009 :::* LIST EN
tcp 0 0 :::80 :::* LIST EN
tcp 0 0 :::22 :::* LIST EN
tcp 326 0 ::1:80 ::1:32791 CLOS E_WAIT
tcp 326 0 ::1:80 ::1:32813 CLOS E_WAIT
再启动,tomcat提示:
2007-9-5 6:33:30 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0/jre/lib/i386/client:/usr/java/jdk1.5.0/jre/lib/i386:/usr/java/jdk1.5.0/jre/../lib/i386
2007-9-5 6:33:30 org.apache.coyote.http11.Http11BaseProtocol init
严重: Error initializing endpoint
java.net.BindException: Address already in use:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:29
at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:57
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
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:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007-9-5 6:33:30 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:80 |
|