Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Cannot Reproduce
-
cms7-release-7.5.0
-
None
Description
I've checked out latest Hippo CMS, I've build it and I try to run it with mvn -P cargo.run, according to the README.txt in "archetypes/website/target/gettingstarted". When tomcat starts the application it reports multiple ZipExceptions for loading the generated jar files. I can reproduce this if I try to run Hippo in Eclipse with the same jar files on the build path. I presume it is Maven which is compiling faulty jar files but cannot confirm that. The exceptions look as follows:
[WARNING] [talledLocalContainer] Oct 13, 2011 3:02:20 PM org.apache.catalina.startup.TldConfig tldScanJar
[WARNING] [talledLocalContainer] SEVERE: Exception processing JAR at resource path [...]hipposrc/archetypes/website/target/gettingstarted/target/tomcat6x/shared/lib/hippo-repository-api-2.21.03-SNAPSHOT.jar in context /cms
[WARNING] [talledLocalContainer] java.util.zip.ZipException: error in opening zip file
[WARNING] [talledLocalContainer] at java.util.zip.ZipFile.open(Native Method)
[WARNING] [talledLocalContainer] at java.util.zip.ZipFile.<init>(ZipFile.java:131)
[WARNING] [talledLocalContainer] at java.util.jar.JarFile.<init>(JarFile.java:150)
[WARNING] [talledLocalContainer] at java.util.jar.JarFile.<init>(JarFile.java:114)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:346)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:273)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:634)
[WARNING] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4611)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
[WARNING] [talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:525)
[WARNING] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
[WARNING] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[WARNING] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[WARNING] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[WARNING] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:616)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
[WARNING] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)