tomcat报错误 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

严重: Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
	at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:408)
	at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:482)
	at org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:355)
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
	at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
	at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:572)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430)
2011-10-10 17:48:41 org.apache.catalina.core.StandardService initInternal
严重: Failed to initialize connector [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:912)
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
2011-10-10 17:48:41 org.apache.coyote.AbstractProtocolHandler init
严重: Failed to initialize end point associated with ProtocolHandler ["ajp-apr-8009"]
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
严重: Failed to initialize connector [Connector[AJP/1.3-8009]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:912)
 
  
 
  
解决方法:
 
  
应该是8080端口被占用了,你可以安装其它的软件已经占用了这个端口 
可以修改一下tomcat/config中的server.xml文件
在里面找到
    
将8080改成8090或其它的即可

 
 

你可能感兴趣的:(java)