Skip to content

Debbo Demo部署到Tomcat报错

zhangwei5095 edited this page Sep 22, 2016 · 1 revision

###使用Dubbox2.8.4版本 在CentOS-Server1 上部署了dubbo-admin-2.8.4.war解压到Tomcat7/webapps/ROOT目录下,安装了zookeeper作为dubbo的注册中心。 http://server1:8080/启动正常。 ###使用root root账号登录正常 dubbo admin主界面

###但直接运行测试类是OK的

com.alibaba.dubbo.demo.provider.DemoProvider

package com.alibaba.dubbo.demo.provider;

import com.alibaba.dubbo.config.ProtocolConfig;

public class DemoProvider {

public static void main(String[] args) {

// new Thread(new Runnable() { // public void run() { // try { // Thread.sleep(20000); // } catch (InterruptedException e) { // e.printStackTrace(); // } // ProtocolConfig.destroyAll(); // } // }).start(); com.alibaba.dubbo.container.Main.main(args); }

}

注册到zookeeper是成功的,dubbo admin后台可以看到该provider的注册发布信息。

###本地部署dubbo provider demo报错 不部署dubbo-demo-provider-2.8.4.war的时候,Tomcat7启动正常;

但dubbo-demo->dubbo-demo-provider-2.8.4.war部署在本地tomcat7中, 修改C:\Program Files\apache-tomcat-7.0.64\webapps\dubbo-demo-provider-2.8.4\WEB-INF\classes\META-INF\spring\dubbo-demo-provider.xml文件

<dubbo:registry address="zookeeper://192.168.0.179:2181"/>

然后启动本地的tomcat7报错.. 信息如下: 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.64 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Aug 19 2015 17:18:06 UTC 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 7.0.64.0 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 7 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.1 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: amd64 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: C:\Program Files\Java\jdk1.7.0_80\jre 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.7.0_80-b15 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: C:\Program Files\apache-tomcat-7.0.64 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: C:\Program Files\apache-tomcat-7.0.64 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.config.file=C:\Program Files\apache-tomcat-7.0.64\conf\logging.properties 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=C:\Program Files\apache-tomcat-7.0.64\endorsed 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=C:\Program Files\apache-tomcat-7.0.64 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=C:\Program Files\apache-tomcat-7.0.64 二月 26, 2016 10:55:09 上午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.io.tmpdir=C:\Program Files\apache-tomcat-7.0.64\temp 二月 26, 2016 10:55:09 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: 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_80\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\TortoiseSVN\bin;C:\Program Files\apache-maven-3.3.3\bin;C:\Program Files\Java\jdk1.7.0_80\bin;C:\Program Files\nodejs;C:\Program Files (x86)\scala\bin;C:\Users\Administrator\AppData\Roaming\npm;. 二月 26, 2016 10:55:09 上午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 二月 26, 2016 10:55:10 上午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8443"] 二月 26, 2016 10:55:10 上午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 二月 26, 2016 10:55:10 上午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 2544 ms 二月 26, 2016 10:55:10 上午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 二月 26, 2016 10:55:10 上午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.64 二月 26, 2016 10:55:10 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\docs 二月 26, 2016 10:55:11 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\docs has finished in 670 ms 二月 26, 2016 10:55:11 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\dubbo-demo-provider-2.8.4 二月 26, 2016 10:55:13 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile 信息: validateJarFile(C:\Program Files\apache-tomcat-7.0.64\webapps\dubbo-demo-provider-2.8.4\WEB-INF\lib\javax.servlet-api-3.1.0.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class 二月 26, 2016 10:55:13 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile 信息: validateJarFile(C:\Program Files\apache-tomcat-7.0.64\webapps\dubbo-demo-provider-2.8.4\WEB-INF\lib\tomcat-embed-core-8.0.11.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class 二月 26, 2016 10:55:22 上午 org.apache.catalina.startup.TldConfig execute 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 二月 26, 2016 10:55:24 上午 org.apache.catalina.core.StandardContext setPath 警告: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to [] 二月 26, 2016 10:55:24 上午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8888"] 二月 26, 2016 10:55:24 上午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Tomcat 二月 26, 2016 10:55:24 上午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.64 二月 26, 2016 10:55:25 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8888"] 二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\dubbo-demo-provider-2.8.4 has finished in 16,618 ms 二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\examples 二月 26, 2016 10:55:28 上午 org.apache.catalina.core.StandardContext resourcesStart 严重: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\apache-tomcat-7.0.64\temp\webapps\examples does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5132) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5319) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.core.ContainerBase addChildInternal 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Error in resourceStart() at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5320) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 严重: Error deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\examples java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:905) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\examples has finished in 69 ms 二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\host-manager 二月 26, 2016 10:55:28 上午 org.apache.catalina.core.StandardContext resourcesStart 严重: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\apache-tomcat-7.0.64\temp\webapps\host-manager does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5132) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5319) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.core.ContainerBase addChildInternal 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/host-manager]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Error in resourceStart() at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5320) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 严重: Error deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\host-manager java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/host-manager]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:905) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\host-manager has finished in 30 ms 二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\manager 二月 26, 2016 10:55:28 上午 org.apache.catalina.core.StandardContext resourcesStart 严重: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\apache-tomcat-7.0.64\temp\webapps\manager does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5132) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5319) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.core.ContainerBase addChildInternal 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manager]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Error in resourceStart() at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5320) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 严重: Error deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\manager java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manager]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:905) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\manager has finished in 29 ms 二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\ROOT 二月 26, 2016 10:55:28 上午 org.apache.catalina.core.StandardContext resourcesStart 严重: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\apache-tomcat-7.0.64\temp\webapps\ROOT does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5132) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5319) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.core.ContainerBase addChildInternal 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Error in resourceStart() at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5320) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 严重: Error deploying web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\ROOT java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:905) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory C:\Program Files\apache-tomcat-7.0.64\webapps\ROOT has finished in 32 ms 二月 26, 2016 10:55:28 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 二月 26, 2016 10:55:28 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8443"] 二月 26, 2016 10:55:28 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 二月 26, 2016 10:55:28 上午 org.apache.catalina.startup.Catalina start 信息: Server startup in 17655 ms

Clone this wiki locally