3 Replies Latest reply on Mar 21, 2002 5:16 AM by nicktaylor

    "java.lang.InternalError: jzentry == 0" when deploying war

    nicktaylor

      I've just started porting my stuff to 3.0.0beta. I use Apache Axis and after starting JBoss, dropped axis.war into deploy which through the following:

      org.jboss.deployment.DeploymentException: Could not deploy: file:/D:/AllMine/SophX/jboss-3.0.0beta/deploy/axis.war; - nested throwable is: java.lang.InternalError: jzentry == 0
      java.lang.InternalError: jzentry == 0
      at java.util.zip.ZipFile$2.nextElement(Unknown Source)
      at java.util.jar.JarFile$1.nextElement(Unknown Source)
      at org.apache.jasper.compiler.TldLocationsCache.tldConfigJar(TldLocation
      sCache.java:234)
      at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocations
      Cache.java:207)
      at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache
      .java:139)
      at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.
      java:345)
      at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
      at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:203)

      at org.mortbay.jetty.servlet.ServletHandler.start(ServletHandler.java:38
      0)
      at org.mortbay.jetty.servlet.FilterHandler.start(FilterHandler.java:160)

      at org.mortbay.http.HttpContext.startHandlers(HttpContext.java:1449)
      at org.jboss.jetty.JBossWebApplicationContext.startHandlers(JBossWebAppl
      icationContext.java:203)
      at org.mortbay.http.HttpContext.start(HttpContext.java:1420)
      at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
      ontext.java:365)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:391)
      at org.jboss.jetty.JettyService.performDeploy(JettyService.java:297)
      at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:3
      89)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      org.jboss.deployment.DeploymentException: Could not deploy: file:/D:/AllMine/Sop
      hX/jboss-3.0.0beta/deploy/axis.war; - nested throwable is: java.lang.InternalErr
      or: jzentry == 0
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)

      Doing the same with the JBoss2.4.4/Jetty bundle deploys the Axis stuff fine. I am missing something with JBoss3/Jetty? Can wars be deployed in Jboss3 by dropping them into the deploy directory?

      Cheers
      Nick