`

Failed to start component [StandardEngine[Catalina].

    博客分类:
  • java
阅读更多
出现以下的错误的原因:
检查 web.xml文件,应该是<filter>和<filter-mapping>或者<servlet>和<servlet>标签不成对,没有完全匹配引起的。

	<filter>
		<filter-name>encodingFilter</filter-name>
		<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
		<init-param>
			<param-name>encoding</param-name>
			<param-value>UTF-8</param-value>
		</init-param>
		<init-param>
			<param-name>forceEncoding</param-name>
			<param-value>true</param-value>
		</init-param>
	</filter>
	<filter-mapping>
		<filter-name>encodingFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	<servlet>
		<servlet-name>dispatcher</servlet-name>
		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>dispatcher</servlet-name>
		<url-pattern>*.do</url-pattern>
	</servlet-mapping>


五月 22, 2013 4:02:44 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_03\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.7.0_03/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0_03/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0_03/bin/../jre/lib/amd64;C:\Program Files\Java\jdk1.7.0_03\bin;E:\app\U22\product\11.2.0\client_2\bin;E:\app\U22\product\11.2.0\client_1;C:\Program Files (x86)\Common Files\NetSarang;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit-32;C:\Program Files\TortoiseSVN\bin;D:\Program Files (x86)\MySQL\MySQL Server 5.1\bin;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;D:\Woke\android-sdk_r06-windows\tools;D:\Woke\apache-maven-3.0.4\bin;d:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;D:\Woke\eclipse;;.
五月 22, 2013 4:02:44 下午 org.apache.catalina.startup.SetAllPropertiesRule begin
警告: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '500' did not find a matching property.
五月 22, 2013 4:02:44 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:T-WebServiceServer' did not find a matching property.
五月 22, 2013 4:02:44 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
五月 22, 2013 4:02:44 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
五月 22, 2013 4:02:44 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 605 ms
五月 22, 2013 4:02:44 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
五月 22, 2013 4:02:44 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.26
五月 22, 2013 4:02:44 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Woke\webs\wtpwebapps\T-WebServiceServer\WEB-INF\lib\geronimo-servlet_2.5_spec-1.1.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
五月 22, 2013 4:02:44 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Woke\webs\wtpwebapps\T-WebServiceServer\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
五月 22, 2013 4:02:44 下午 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/T-WebServiceServer]]
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1128)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:782)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/T-WebServiceServer]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	... 7 more
Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name CharsetEncoding
	at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:3003)
	at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2968)
	at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1207)
	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357)
	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 7 more

五月 22, 2013 4:02:44 下午 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1128)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:645)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1136)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:782)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 7 more

五月 22, 2013 4:02:44 下午 org.apache.catalina.startup.Catalina start
严重: Catalina.start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:645)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1136)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 11 more

五月 22, 2013 4:02:44 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 382 ms
分享到:
评论

相关推荐

    tomcat启动的问题--apr

    2010-8-11 18:24:13 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/5.5.23 2010-8-11 18:24:13 org.apache.catalina.core.StandardHost start 信息: XML validation...

    启动 TomCat

    启动 TomCat

    struts2驱动包

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start...

    tomcat-catalina-7.0.27.jar.zip

    - `org.apache.catalina.core.StandardEngine`:Engine的实现,负责请求分发。 - `org.apache.catalina.core.StandardHost`:Host的实现,管理多个Context。 - `org.apache.catalina.core.StandardContext`:...

    项目出错求解

    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tc]]

    Tomcat7 核心包 catalina包源码

    深入到源码层面,Catalina的核心类`org.apache.catalina.core.StandardServer`负责服务器的初始化和关闭。它继承自`Lifecycle`接口,并实现了一系列的生命周期方法,如`start()`和`stop()`,确保Tomcat的正确启动和...

    SpringBoot应用部署到Tomcat中无法启动的解决方法

    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/report]] at org.apache.catalina.util.LifecycleBase.start...

    struts-2.3.8+spring-3.2.1+mybatis-3.2.2架构

    九月 18, 2013 11:39:02 上午 org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.40 九月 18, 2013 11:39:04 上午 org.apache.catalina.core....

    tomcat server.xml配置说明

    * className:指定实现 org.apache.catalina.Server 接口的类,默认值为 org.apache.catalina.core.StandardServer。 * port:指定 Tomcat 监听 shutdown 命令端口,必须设置该属性。 * shutdown:指定终止 Tomcat ...

    tomcat配置文件server文件详解.pdf

    * className:指定实现 org.apache.catalina.Engine 接口的类,默认值为 org.apache.catalina.core.StandardEngine。 Host 元素 Host 元素是 Engine 元素的子元素,用于定义一个虚拟主机。它用于处理来自 Engine ...

    报错 代码 经验

    - `org.apache.catalina.core.StandardService start` 和 `org.apache.catalina.core.StandardEngine start` 分别表示服务和引擎的启动。 2. **服务启动的时间记录:** - 日志记录了各个组件启动所需的时间,这...

    Tomcat8源代码

    它的主要类包括`org.apache.catalina.core.StandardServer`、`org.apache.catalina.core.StandardService`、`org.apache.catalina.core.StandardEngine`和`org.apache.catalina.core.StandardHost`,这些类构成了...

    tomcat6源码,学习服务引擎

    4. **容器管理**:深入研究`org.apache.catalina.core.StandardEngine`、`StandardHost`和`StandardContext`等类,理解容器的层次结构和管理机制。 5. **类加载**:探究`org.apache.catalina.loader....

    apache-tomcat-6.0.18源码

    - `org.apache.catalina.core.StandardEngine`:引擎对象,负责处理所有来自特定服务的请求。 - `org.apache.catalina.connector.Connector`:定义了Tomcat如何监听和响应HTTP请求。 - `org.apache.catalina....

    tomcat6,7源码

    在源码中,可以看到Catalina如何通过`org.apache.catalina.core.StandardEngine`、`org.apache.catalina.core.StandardHost`和`org.apache.catalina.core.StandardContext`来管理Web应用程序的生命周期。理解这些类...

    tomcat 6 源码

    Catalina包含一系列的类,如`org.apache.catalina.core.StandardServer`、`org.apache.catalina.core.StandardService`和`org.apache.catalina.core.StandardEngine`,它们构成了Tomcat服务器的层次结构。...

    tomcat7.070 源码及转成eclipse

    `org.apache.catalina.Container`接口和它的实现类如`StandardEngine`、`StandardHost`、`StandardContext`代表了容器的不同层级。 4. **请求处理**:当一个HTTP请求到达时,`org.apache.coyote.Request`对象封装...

    手写嵌入式Tomcat

    5. **创建Container**:创建`org.apache.catalina.Container`实例,通常是`org.apache.catalina.core.StandardEngine`,它是处理请求的容器。接着,为Engine添加Host和Context,Host对应域名,Context对应Web应用...

    tomcat配置详解

    - **`className`**: 指定实现`org.apache.catalina.Server`接口的具体类,默认为`org.apache.catalina.core.StandardServer`。 - **`port`**: 定义Tomcat监听关闭命令的端口号,默认为8005。该端口用于接收外部...

    jmx 监控 tomcat

    remoteAuthenticator="org.apache.catalina.mbeans.GlobalJmxRemoteLifecycleListener$SimpleRemoteAuthenticator" /&gt; ``` 3. **安装JConsole或VisualVM** JConsole是Java SDK自带的一个图形化工具,可以...

Global site tag (gtag.js) - Google Analytics