Hi All,
I'm trying to set up xWiki to run as a service via the Tomcat method.
I have installed Tomcat 8.0.12, Java 7 update 67 and extracted
xwiki-enterprise-web-6.1.war into the webapps folder under Tomcat. I am running on
Windows Server 2012 R2.
Tomcat recognizes it but when I go to
http://localhost:8080/xwiki it initializes and then
appears to hang at 100%.
I can't help thinking I've missed a step. I've re-read the instruction page
and have tried adding:
-XX:MaxPermSize=256m
-Xmx800m
As a troubleshooting step but no luck.
In the tomcat stderr log file I have this:
16-Sep-2014 15:58:54.012 INFO [localhost-startStop-3]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory
C:\Program Files (x86)\Apache Software Foundation\Tomcat 8.0\webapps\xwiki
16-Sep-2014 15:58:54.184 SEVERE [localhost-startStop-3]
org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xwiki]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1071)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1722)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.catalina.LifecycleException: Failed to start component
[org.apache.catalina.webresources.StandardRoot@4ba620]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4983)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component
[org.apache.catalina.webresources.JarResourceSet@1ce3a26]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:684)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: zip file is
empty
at
org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:94)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 16 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at
org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:86)
... 17 more
What have I missed?
Thanks.