问题描述
环境struts2+hibernate3.3+spring2.5在启动tomcat6时发生如下错误:严重: Error starting endpointjava.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:717)at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)at org.apache.catalina.connector.Connector.start(Connector.java:1131)at org.apache.catalina.core.StandardService.start(StandardService.java:531)at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)at org.apache.catalina.startup.Catalina.start(Catalina.java:578)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.start(Bootstrap.java:288)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2008-9-28 22:28:09 org.apache.catalina.startup.Catalina start严重: Catalina.start: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??at org.apache.catalina.connector.Connector.start(Connector.java:1138)at org.apache.catalina.core.StandardService.start(StandardService.java:531)at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)at org.apache.catalina.startup.Catalina.start(Catalina.java:578)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.start(Bootstrap.java:288)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2008-9-28 22:28:09 org.apache.catalina.startup.Catalina start
解决方案
是否端口被占用了