问题描述
2011-2-2817:22:43org.apache.catalina.core.AprLifecycleListenerinit信息:LoadedAPRbasedApacheTomcatNativelibrary1.1.14.2011-2-2817:22:43org.apache.catalina.core.AprLifecycleListenerinit信息:APRcapabilities:IPv6[false],sendfile[true],acceptfilters[false],random[true].2011-2-2817:22:44org.apache.coyote.http11.Http11AprProtocolinit严重:Errorinitializingendpointjava.lang.Exception:Socketbindfailed:[730048]?????????×???(Э?é/??????/???)????í?????Ρ?atorg.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)atorg.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)atorg.apache.catalina.connector.Connector.initialize(Connector.java:1058)atorg.apache.catalina.core.StandardService.initialize(StandardService.java:677)atorg.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)atorg.apache.catalina.startup.Catalina.load(Catalina.java:530)atorg.apache.catalina.startup.Catalina.load(Catalina.java:550)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)2011-2-2817:22:44org.apache.catalina.startup.Catalinaload严重:Catalina.startLifecycleException:Protocolhandlerinitializationfailed:java.lang.Exception:Socketbindfailed:[730048]?????????×???(Э?é/??????/???)????í?????Ρ?atorg.apache.catalina.connector.Connector.initialize(Connector.java:1060)atorg.apache.catalina.core.StandardService.initialize(StandardService.java:677)atorg.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)atorg.apache.catalina.startup.Catalina.load(Catalina.java:530)atorg.apache.catalina.startup.Catalina.load(Catalina.java:550)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)2011-2-2817:22:44org.apache.catalina.startup.Catalinaload信息:Initializationprocessedin1033ms2011-2-2817:22:44org.apache.catalina.core.StandardServicestart信息:StartingserviceCatalina2011-2-2817:22:44org.apache.catalina.core.StandardEnginestart信息:StartingServletEngine:ApacheTomcat/6.0.182011-2-2817:22:45org.apache.catalina.core.ApplicationContextlog信息:ContextListener:contextInitialized()2011-2-2817:22:45org.apache.catalina.core.ApplicationContextlog信息:SessionListener:contextInitialized()2011-2-2817:22:45org.apache.coyote.http11.Http11AprProtocolstart严重:Errorstartingendpointjava.lang.Exception:Socketbindfailed:[730048]?????????×???(Э?é/??????/???)????í?????Ρ?atorg.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)atorg.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:717)atorg.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)atorg.apache.catalina.connector.Connector.start(Connector.java:1131)atorg.apache.catalina.core.StandardService.start(StandardService.java:531)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:710)atorg.apache.catalina.startup.Catalina.start(Catalina.java:578)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2011-2-2817:22:45org.apache.catalina.startup.Catalinastart严重:Catalina.start:LifecycleException:service.getName():"Catalina";Protocolhandlerstartfailed:java.lang.Exception:Socketbindfailed:[730048]?????????×???(Э?é/??????/???)????í?????Ρ?atorg.apache.catalina.connector.Connector.start(Connector.java:1138)atorg.apache.catalina.core.StandardService.start(StandardService.java:531)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:710)atorg.apache.catalina.startup.Catalina.start(Catalina.java:578)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2011-2-2817:22:45org.apache.catalina.startup.Catalinastart信息:Serverstartupin1849ms2011-2-2817:22:45org.apache.catalina.core.StandardServerawait严重:StandardServer.await:create[8005]:java.net.BindException:Addressalreadyinuse:JVM_Bindatjava.net.PlainSocketImpl.socketBind(NativeMethod)atjava.net.PlainSocketImpl.bind(UnknownSource)atjava.net.ServerSocket.bind(UnknownSource)atjava.net.ServerSocket.<init>(UnknownSource)atorg.apache.catalina.core.StandardServer.await(StandardServer.java:373)atorg.apache.catalina.startup.Catalina.await(Catalina.java:642)atorg.apache.catalina.startup.Catalina.start(Catalina.java:602)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)声明下:我的端口号没有重复的
解决方案
解决方案二:
Socketbindfailed,这个可以改下tomcat的server.xml的配置,把8080用另一个端口替代。