Ik ben aan het proberen om een .war te deployen in JBoss 4.0.0. Als ik alleen mijn classes en jsp bestanden package in een .war en deze deploy, dan werkt het goed. Echter wanneer ik een .jar toevoeg aan de package, dan levert het deployen de volgende exception op:
org.jboss.deployment.DeploymentException: invalid entry size (expected 104511 but got 104509 bytes); - nested throwable: (java.util.zip.ZipException: invalid entry size (expected 104511 but got 104509 bytes))
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:314)
.
.
.
Caused by: java.util.zip.ZipException: invalid entry size (expected 104511 but got 104509 bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:367)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
at java.util.jar.JarInputStream.read(JarInputStream.java:159)
at org.jboss.util.file.JarUtils.unjar(JarUtils.java:279)
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:262)
... 21 more
JBoss maakt gebruik van Tomcat 5.0.28. Wat kan hier de oorzaak van zijn? Ik heb al gekeken of eventueel de .jar corrupt is, maar dat is niet het geval. Elke willekeurige .jar levert dit probleem.
org.jboss.deployment.DeploymentException: invalid entry size (expected 104511 but got 104509 bytes); - nested throwable: (java.util.zip.ZipException: invalid entry size (expected 104511 but got 104509 bytes))
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:314)
.
.
.
Caused by: java.util.zip.ZipException: invalid entry size (expected 104511 but got 104509 bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:367)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
at java.util.jar.JarInputStream.read(JarInputStream.java:159)
at org.jboss.util.file.JarUtils.unjar(JarUtils.java:279)
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:262)
... 21 more
JBoss maakt gebruik van Tomcat 5.0.28. Wat kan hier de oorzaak van zijn? Ik heb al gekeken of eventueel de .jar corrupt is, maar dat is niet het geval. Elke willekeurige .jar levert dit probleem.