New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

war包有毒 #1

Open
marswong opened this Issue Apr 6, 2016 · 9 comments

Comments

Projects
None yet
2 participants
@marswong

marswong commented Apr 6, 2016

打成war包报了一大堆错啊,求教怎么打

@SmilerLaughter

This comment has been minimized.

Show comment
Hide comment
@SmilerLaughter

SmilerLaughter Apr 6, 2016

Owner

直接下载,然后导入进eclipse

Owner

SmilerLaughter commented Apr 6, 2016

直接下载,然后导入进eclipse

@marswong

This comment has been minimized.

Show comment
Hide comment
@marswong

marswong Apr 6, 2016

我没用eclipse,我用IDEA打开也报错

marswong commented Apr 6, 2016

我没用eclipse,我用IDEA打开也报错

@SmilerLaughter

This comment has been minimized.

Show comment
Hide comment
@SmilerLaughter

SmilerLaughter Apr 6, 2016

Owner

你那个有jdk吗

Owner

SmilerLaughter commented Apr 6, 2016

你那个有jdk吗

@marswong

This comment has been minimized.

Show comment
Hide comment
@marswong

marswong Apr 6, 2016

你说呢。。。

···
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 12 2016 11:39:59 UTC
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
06-Apr-2016 16:55:39.312 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: F:\Java\jdk\jre
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_60-b27
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: F:\Tomcat 9.0
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\Tomcat 9.0
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\Tomcat 9.0
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=F:\Tomcat 9.0
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\Tomcat 9.0\temp
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=F:\Tomcat 9.0\conf\logging.properties
06-Apr-2016 16:55:39.315 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
06-Apr-2016 16:55:39.315 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
06-Apr-2016 16:55:39.315 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
06-Apr-2016 16:55:39.315 INFO [main] 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: F:\Tomcat 9.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;F:\RailsInstaller\Ruby2.2.0\bin;F:\Java\jdk\bin;F:\Git\cmd;F:\nodejs;F:\Python27;;.
06-Apr-2016 16:55:41.333 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:55:41.449 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:55:41.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:55:41.464 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:55:41.464 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 3981 ms
06-Apr-2016 16:55:41.595 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-Apr-2016 16:55:41.595 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:55:41.764 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive F:\Tomcat 9.0\webapps\survey.war
06-Apr-2016 16:55:42.049 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/survey]
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:109)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:130)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:614)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:300)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:55:42.134 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@52dc1b97]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4847)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4979)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@2468c54a]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
... 16 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:136)
... 17 more

06-Apr-2016 16:55:42.134 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive F:\Tomcat 9.0\webapps\survey.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:730)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:55:42.150 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive F:\Tomcat 9.0\webapps\survey.war has finished in 370 ms
06-Apr-2016 16:55:42.150 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\docs
06-Apr-2016 16:55:43.134 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [179] milliseconds.
06-Apr-2016 16:55:43.186 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\docs has finished in 1,036 ms
06-Apr-2016 16:55:43.186 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\host-manager
06-Apr-2016 16:55:43.381 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\host-manager has finished in 195 ms
06-Apr-2016 16:55:43.381 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\manager
06-Apr-2016 16:55:43.455 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\manager has finished in 74 ms
06-Apr-2016 16:55:43.455 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\ROOT
06-Apr-2016 16:55:43.502 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\ROOT has finished in 47 ms
06-Apr-2016 16:55:43.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
06-Apr-2016 16:55:43.539 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
06-Apr-2016 16:55:43.540 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2074 ms
06-Apr-2016 16:56:11.159 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:56:11.310 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:56:11.361 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
06-Apr-2016 16:56:11.542 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:56:11.542 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:56:52.674 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:56:52.677 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 12 2016 11:39:59 UTC
06-Apr-2016 16:56:52.678 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0
06-Apr-2016 16:56:52.678 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: F:\Java\jdk\jre
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_60-b27
06-Apr-2016 16:56:52.680 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
06-Apr-2016 16:56:52.680 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: F:\Tomcat 9.0
06-Apr-2016 16:56:52.680 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\Tomcat 9.0
06-Apr-2016 16:56:52.681 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=F:\Tomcat 9.0\conf\logging.properties
06-Apr-2016 16:56:52.681 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Apr-2016 16:56:52.682 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=F:\Tomcat 9.0
06-Apr-2016 16:56:52.682 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\Tomcat 9.0
06-Apr-2016 16:56:52.683 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\Tomcat 9.0\temp
06-Apr-2016 16:56:52.684 INFO [main] 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: F:\Java\jdk\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;F:\RailsInstaller\Ruby2.2.0\bin;F:\Java\jdk\bin;F:\Git\cmd;F:\nodejs;F:\Python27;.
06-Apr-2016 16:56:53.117 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:56:53.247 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:56:53.251 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:56:53.255 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:56:53.255 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1028 ms
06-Apr-2016 16:56:53.306 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-Apr-2016 16:56:53.306 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:56:53.341 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive F:\Tomcat 9.0\webapps\survey.war
06-Apr-2016 16:56:53.418 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/survey]
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:109)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:130)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:614)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:300)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:56:53.434 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@3acda1cc]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4847)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4979)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@2e2fa0da]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
... 16 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:136)
... 17 more

06-Apr-2016 16:56:53.450 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive F:\Tomcat 9.0\webapps\survey.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:730)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:56:53.450 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive F:\Tomcat 9.0\webapps\survey.war has finished in 110 ms
06-Apr-2016 16:56:53.450 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\docs
06-Apr-2016 16:56:53.888 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\docs has finished in 438 ms
06-Apr-2016 16:56:53.888 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\host-manager
06-Apr-2016 16:56:53.982 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\host-manager has finished in 94 ms
06-Apr-2016 16:56:53.982 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\manager
06-Apr-2016 16:56:54.035 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\manager has finished in 53 ms
06-Apr-2016 16:56:54.035 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\ROOT
06-Apr-2016 16:56:54.067 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\ROOT has finished in 32 ms
06-Apr-2016 16:56:54.067 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
06-Apr-2016 16:56:54.067 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
06-Apr-2016 16:56:54.067 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 825 ms
06-Apr-2016 16:59:42.796 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
06-Apr-2016 16:59:42.812 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:59:42.865 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:59:42.928 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
06-Apr-2016 16:59:42.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:59:42.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:59:42.950 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:59:42.965 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M4
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 12 2016 11:39:59 UTC
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: F:\Java\jdk\jre
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_60-b27
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\Tomcat 9.0\temp
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=F:\Tomcat 9.0\conf\logging.properties
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
06-Apr-2016 17:00:49.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
06-Apr-2016 17:00:49.500 INFO [main] 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: F:\Tomcat 9.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;F:\RailsInstaller\Ruby2.2.0\bin;F:\Java\jdk\bin;F:\Git\cmd;F:\nodejs;F:\Python27;;.
06-Apr-2016 17:00:49.664 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 17:00:49.732 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 17:00:49.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 17:00:49.732 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 17:00:49.748 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 694 ms
06-Apr-2016 17:00:49.769 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-Apr-2016 17:00:49.769 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M4
06-Apr-2016 17:00:49.801 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive F:\Tomcat 9.0\webapps\survey.war
06-Apr-2016 17:00:49.832 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/survey]
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:109)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:130)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:614)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:300)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 17:00:49.848 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@46a8fd7e]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4847)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4979)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@112b97b7]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
... 16 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:136)
... 17 more

06-Apr-2016 17:00:49.848 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive F:\Tomcat 9.0\webapps\survey.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:730)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 17:00:49.848 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive F:\Tomcat 9.0\webapps\survey.war has finished in 47 ms
06-Apr-2016 17:00:49.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\docs
06-Apr-2016 17:00:50.185 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\docs has finished in 322 ms
06-Apr-2016 17:00:50.185 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\host-manager
06-Apr-2016 17:00:50.237 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\host-manager has finished in 52 ms
06-Apr-2016 17:00:50.237 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\manager
06-Apr-2016 17:00:50.268 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\manager has finished in 31 ms
06-Apr-2016 17:00:50.268 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\ROOT
06-Apr-2016 17:00:50.306 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\ROOT has finished in 38 ms
06-Apr-2016 17:00:50.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
06-Apr-2016 17:00:50.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
06-Apr-2016 17:00:50.322 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 574 ms
06-Apr-2016 17:01:22.451 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 17:01:22.501 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 17:01:22.567 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
06-Apr-2016 17:01:22.604 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
06-Apr-2016 17:01:22.604 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

···

你看看有什么错

marswong commented Apr 6, 2016

你说呢。。。

···
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 12 2016 11:39:59 UTC
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0
06-Apr-2016 16:55:39.293 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
06-Apr-2016 16:55:39.312 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: F:\Java\jdk\jre
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_60-b27
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: F:\Tomcat 9.0
06-Apr-2016 16:55:39.313 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\Tomcat 9.0
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\Tomcat 9.0
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=F:\Tomcat 9.0
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\Tomcat 9.0\temp
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Apr-2016 16:55:39.314 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=F:\Tomcat 9.0\conf\logging.properties
06-Apr-2016 16:55:39.315 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
06-Apr-2016 16:55:39.315 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
06-Apr-2016 16:55:39.315 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
06-Apr-2016 16:55:39.315 INFO [main] 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: F:\Tomcat 9.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;F:\RailsInstaller\Ruby2.2.0\bin;F:\Java\jdk\bin;F:\Git\cmd;F:\nodejs;F:\Python27;;.
06-Apr-2016 16:55:41.333 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:55:41.449 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:55:41.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:55:41.464 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:55:41.464 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 3981 ms
06-Apr-2016 16:55:41.595 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-Apr-2016 16:55:41.595 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:55:41.764 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive F:\Tomcat 9.0\webapps\survey.war
06-Apr-2016 16:55:42.049 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/survey]
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:109)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:130)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:614)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:300)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:55:42.134 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@52dc1b97]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4847)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4979)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@2468c54a]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
... 16 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:136)
... 17 more

06-Apr-2016 16:55:42.134 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive F:\Tomcat 9.0\webapps\survey.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:730)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:55:42.150 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive F:\Tomcat 9.0\webapps\survey.war has finished in 370 ms
06-Apr-2016 16:55:42.150 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\docs
06-Apr-2016 16:55:43.134 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [179] milliseconds.
06-Apr-2016 16:55:43.186 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\docs has finished in 1,036 ms
06-Apr-2016 16:55:43.186 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\host-manager
06-Apr-2016 16:55:43.381 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\host-manager has finished in 195 ms
06-Apr-2016 16:55:43.381 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\manager
06-Apr-2016 16:55:43.455 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\manager has finished in 74 ms
06-Apr-2016 16:55:43.455 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\ROOT
06-Apr-2016 16:55:43.502 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\ROOT has finished in 47 ms
06-Apr-2016 16:55:43.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
06-Apr-2016 16:55:43.539 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
06-Apr-2016 16:55:43.540 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2074 ms
06-Apr-2016 16:56:11.159 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:56:11.310 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:56:11.361 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
06-Apr-2016 16:56:11.542 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:56:11.542 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:56:52.674 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:56:52.677 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 12 2016 11:39:59 UTC
06-Apr-2016 16:56:52.678 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0
06-Apr-2016 16:56:52.678 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: F:\Java\jdk\jre
06-Apr-2016 16:56:52.679 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_60-b27
06-Apr-2016 16:56:52.680 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
06-Apr-2016 16:56:52.680 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: F:\Tomcat 9.0
06-Apr-2016 16:56:52.680 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\Tomcat 9.0
06-Apr-2016 16:56:52.681 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=F:\Tomcat 9.0\conf\logging.properties
06-Apr-2016 16:56:52.681 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Apr-2016 16:56:52.682 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=F:\Tomcat 9.0
06-Apr-2016 16:56:52.682 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\Tomcat 9.0
06-Apr-2016 16:56:52.683 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\Tomcat 9.0\temp
06-Apr-2016 16:56:52.684 INFO [main] 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: F:\Java\jdk\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;F:\RailsInstaller\Ruby2.2.0\bin;F:\Java\jdk\bin;F:\Git\cmd;F:\nodejs;F:\Python27;.
06-Apr-2016 16:56:53.117 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:56:53.247 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:56:53.251 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:56:53.255 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 16:56:53.255 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1028 ms
06-Apr-2016 16:56:53.306 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-Apr-2016 16:56:53.306 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M4
06-Apr-2016 16:56:53.341 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive F:\Tomcat 9.0\webapps\survey.war
06-Apr-2016 16:56:53.418 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/survey]
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:109)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:130)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:614)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:300)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:56:53.434 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@3acda1cc]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4847)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4979)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@2e2fa0da]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
... 16 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:136)
... 17 more

06-Apr-2016 16:56:53.450 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive F:\Tomcat 9.0\webapps\survey.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:730)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 16:56:53.450 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive F:\Tomcat 9.0\webapps\survey.war has finished in 110 ms
06-Apr-2016 16:56:53.450 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\docs
06-Apr-2016 16:56:53.888 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\docs has finished in 438 ms
06-Apr-2016 16:56:53.888 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\host-manager
06-Apr-2016 16:56:53.982 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\host-manager has finished in 94 ms
06-Apr-2016 16:56:53.982 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\manager
06-Apr-2016 16:56:54.035 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\manager has finished in 53 ms
06-Apr-2016 16:56:54.035 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\ROOT
06-Apr-2016 16:56:54.067 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\ROOT has finished in 32 ms
06-Apr-2016 16:56:54.067 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
06-Apr-2016 16:56:54.067 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
06-Apr-2016 16:56:54.067 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 825 ms
06-Apr-2016 16:59:42.796 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
06-Apr-2016 16:59:42.812 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:59:42.865 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:59:42.928 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
06-Apr-2016 16:59:42.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:59:42.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 16:59:42.950 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
06-Apr-2016 16:59:42.965 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M4
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 12 2016 11:39:59 UTC
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: F:\Java\jdk\jre
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_60-b27
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=F:\Tomcat 9.0
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\Tomcat 9.0\temp
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=F:\Tomcat 9.0\conf\logging.properties
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
06-Apr-2016 17:00:49.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
06-Apr-2016 17:00:49.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
06-Apr-2016 17:00:49.500 INFO [main] 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: F:\Tomcat 9.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;F:\RailsInstaller\Ruby2.2.0\bin;F:\Java\jdk\bin;F:\Git\cmd;F:\nodejs;F:\Python27;;.
06-Apr-2016 17:00:49.664 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 17:00:49.732 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 17:00:49.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 17:00:49.732 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Apr-2016 17:00:49.748 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 694 ms
06-Apr-2016 17:00:49.769 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-Apr-2016 17:00:49.769 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M4
06-Apr-2016 17:00:49.801 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive F:\Tomcat 9.0\webapps\survey.war
06-Apr-2016 17:00:49.832 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/survey]
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:109)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:130)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:614)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:300)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:149)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 17:00:49.848 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@46a8fd7e]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4847)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4979)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@112b97b7]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:141)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:692)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
... 16 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:103)
at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:136)
... 17 more

06-Apr-2016 17:00:49.848 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive F:\Tomcat 9.0\webapps\survey.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/survey]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:730)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

06-Apr-2016 17:00:49.848 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive F:\Tomcat 9.0\webapps\survey.war has finished in 47 ms
06-Apr-2016 17:00:49.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\docs
06-Apr-2016 17:00:50.185 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\docs has finished in 322 ms
06-Apr-2016 17:00:50.185 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\host-manager
06-Apr-2016 17:00:50.237 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\host-manager has finished in 52 ms
06-Apr-2016 17:00:50.237 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\manager
06-Apr-2016 17:00:50.268 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\manager has finished in 31 ms
06-Apr-2016 17:00:50.268 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory F:\Tomcat 9.0\webapps\ROOT
06-Apr-2016 17:00:50.306 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory F:\Tomcat 9.0\webapps\ROOT has finished in 38 ms
06-Apr-2016 17:00:50.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
06-Apr-2016 17:00:50.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
06-Apr-2016 17:00:50.322 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 574 ms
06-Apr-2016 17:01:22.451 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
06-Apr-2016 17:01:22.501 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
06-Apr-2016 17:01:22.567 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
06-Apr-2016 17:01:22.604 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
06-Apr-2016 17:01:22.604 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

···

你看看有什么错

@SmilerLaughter

This comment has been minimized.

Show comment
Hide comment
@SmilerLaughter

SmilerLaughter Apr 6, 2016

Owner

我用的tomcat 8.0

Owner

SmilerLaughter commented Apr 6, 2016

我用的tomcat 8.0

@marswong

This comment has been minimized.

Show comment
Hide comment
@marswong

marswong Apr 6, 2016

不要告诉我你用的java8 before来写的项目?

marswong commented Apr 6, 2016

不要告诉我你用的java8 before来写的项目?

@SmilerLaughter

This comment has been minimized.

Show comment
Hide comment
@SmilerLaughter
Owner

SmilerLaughter commented Apr 6, 2016

1.7

@marswong

This comment has been minimized.

Show comment
Hide comment
@marswong

marswong Apr 6, 2016

好吧,Tomcat 9只支持java SE 8+

marswong commented Apr 6, 2016

好吧,Tomcat 9只支持java SE 8+

@marswong

This comment has been minimized.

Show comment
Hide comment
@marswong

marswong Apr 6, 2016

register.jsp里面Structs2的一个jar没引进
没有TLDs

marswong commented Apr 6, 2016

register.jsp里面Structs2的一个jar没引进
没有TLDs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment