日期:2014-05-17  浏览次数:20796 次

Tomcat6启动不了,哪位大哥帮帮忙!
情况:今天学校社团里换了联通的宽带,连上网了就启动不了Tomcat6了

如果禁止访问网络就能启动,端口查看了没有被占用,换了其他端口也不好使。

在连网情况下,Tomcat6和7是下面同样的状况,我又启动tomcat5则没有问题

(PS:电脑win7系统,没装联通宽带之前用校内网就没问题,其他同学的电脑也没问题,我的网线是插在交换机上的,ip自动获取)



2011-10-17 21:07:25 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[8005]: 
java.net.BindException: Cannot assign requested address: JVM_Bind
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)
2011-10-17 21:07:25 org.apache.coyote.http11.Http11AprProtocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080
2011-10-17 21:07:25 org.apache.coyote.ajp.AjpAprProtocol pause
信息: Pausing Coyote AJP/1.3 on ajp-8009
2011-10-17 21:07:26 org.apache.catalina.core.StandardService stop
信息: Stopping service Catalina
2011-10-17 21:07:26 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextDestroyed()
2011-10-17 21:07:26 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextDestroyed()
2011-10-17 21:07:26 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/Chat] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1bf7b23]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@2d7440]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-10-17 21:07:26 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/Chat] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@2b349d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@8b567c]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-10-17 21:07:27 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/lr] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-10-17 21:07:27 org.apache.coyote.http11.Http11AprProtocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8080

------解决方案--------------------
1. 能否把server.xml代码帖出来?
2. 能否把C:\WINDOWS\system32\drivers\etc\hosts 贴出来?