Failed to initialize component [Connector[HTTP/1.1-8086]]

严重: Failed to initialize end point associated with ProtocolHandler ["http-apr-8086"]
java.lang.Exception: Socket bind failed: [730048] ͨ³£ÿ¸öÌ׽Ó×ֵØַ(ЭÒé/ÍøÂçµØַ/¶˿Ú)ֻÔÊÐíʹÓ
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:430)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:623)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:640)
at org.apache.catalina.startup.Catalina.load(Catalina.java:665)
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.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
2014-3-23 16:55:58 org.apache.catalina.core.StandardService initInternal
严重: Failed to initialize connector [Connector[HTTP/1.1-8086]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8086]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:640)
at org.apache.catalina.startup.Catalina.load(Catalina.java:665)
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.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 12 more
Caused by: java.lang.Exception: Socket bind failed: [730048] ͨ³£ÿ¸öÌ׽Ó×ֵØַ(ЭÒé/ÍøÂçµØַ/¶˿Ú)ֻÔÊÐíʹÓ
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:430)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:623)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
... 13 more
2014-3-23 16:55:58 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8087"]
2014-3-23 16:55:58 org.apache.coyote.AbstractProtocol init
严重: Failed to initialize end point associated with ProtocolHandler ["ajp-apr-8087"]
java.lang.Exception: Socket bind failed: [730048] ͨ³£ÿ¸öÌ׽Ó×ֵØַ(ЭÒé/ÍøÂçµØַ/¶˿Ú)ֻÔÊÐíʹÓ
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:430)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:623)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:640)
at org.apache.catalina.startup.Catalina.load(Catalina.java:665)
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.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
2014-3-23 16:55:58 org.apache.catalina.core.StandardService initInternal
严重: Failed to initialize connector [Connector[AJP/1.3-8087]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8087]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:640)
at org.apache.catalina.startup.Catalina.load(Catalina.java:665)
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.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 12 more
Caused by: java.lang.Exception: Socket bind failed: [730048] ͨ³£ÿ¸öÌ׽Ó×ֵØַ(ЭÒé/ÍøÂçµØַ/¶˿Ú)ֻÔÊÐíʹÓ
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:430)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:623)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
... 13 more
2014-3-23 16:55:58 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 596 ms
2014-3-23 16:55:58 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2014-3-23 16:55:58 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
2014-3-23 16:55:58 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\docs
2014-3-23 16:55:59 org.apache.tomcat.websocket.server.WsSci onStartup
信息: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available. 
2014-3-23 16:55:59 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\examples
2014-3-23 16:55:59 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2014-3-23 16:55:59 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2014-3-23 16:55:59 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@9a9161')
2014-3-23 16:55:59 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\fish
2014-3-23 16:55:59 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\fish\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2014-3-23 16:56:04 com.sun.faces.config.ConfigureListener contextInitialized
信息: 初始化上下文 '/fish' 的 Mojarra 2.0.3 (FCS b03)
2014-3-23 16:56:06 com.sun.faces.spi.InjectionProviderFactory createInstance
信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。
2014-3-23 16:56:06 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\fish.myeclipse.bak
2014-3-23 16:56:06 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\fish.myeclipse.bak\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2014-3-23 16:56:11 com.sun.faces.config.ConfigureListener contextInitialized
信息: 初始化上下文 '/fish.myeclipse.bak' 的 Mojarra 2.0.3 (FCS b03)
2014-3-23 16:56:12 com.sun.faces.spi.InjectionProviderFactory createInstance
信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。
2014-3-23 16:56:13 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\fy_copy
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags is already defined
2014-3-23 16:56:16 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
2014-3-23 16:56:16 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
2014-3-23 16:56:16 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\host-manager
2014-3-23 16:56:16 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\manager
2014-3-23 16:56:16 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\software\tomcat\apache-tomcat-7.0.47.fy_console\webapps\ROOT
2014-3-23 16:56:16 org.apache.catalina.startup.Catalina start
信息: Server startup in 17367 ms
2014-3-23 16:56:16 org.apache.catalina.core.StandardServer await
严重: StandardServer.await: create[localhost:8085]: 
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:427)
at org.apache.catalina.startup.Catalina.await(Catalina.java:779)
at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
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:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)
2014-3-23 16:56:16 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-apr-8086"]
2014-3-23 16:56:16 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-apr-8087"]
2014-3-23 16:56:16 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
2014-3-23 16:56:16 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextDestroyed()
2014-3-23 16:56:16 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextDestroyed()
2014-3-23 16:56:16 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/fish.myeclipse.bak] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@17e8cbf]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2014-3-23 16:56:16 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/fish] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@e436df]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2014-3-23 16:56:16 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["http-apr-8086"]
2014-3-23 16:56:16 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["http-apr-8086"]
2014-3-23 16:56:16 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["ajp-apr-8087"]
2014-3-23 16:56:16 org.apache.coyote.AbstractProtocol destroy

信息: Destroying ProtocolHandler ["ajp-apr-8087"]



如果都配置好之后,但是未在防火墙中新增加你在配置文件中的端口号,启动时依然会报错。所有解决方案:

XP系统防火墙配置如下:

在控制面板中,打开安全中心,找到防火墙,然后在防火墙的”例外“中添加你复制的Tomcat中配置文件中的端口号,就可以了。

你可能感兴趣的:(tomcat)