3 Replies Latest reply on Jul 12, 2002 5:48 AM by Julian Gosnell

    jzentry==0 on redeploy of ear

    Bill Pfeiffer Newbie

      About every 3rd or 4th deploy of my ear, the following error is returned to the browser via jetty:

      HTTP ERROR: 500 jzentry == 0
      RequestURI=/afwar/static/content/index.jsp

      I'm Using JBoss 301 RC1 (w/ Jetty) on WinXP, Sun JDK 1.3.1 03.

      Is anyone else seeing this?

      Bill Pfeiffer

        • 1. Re: jzentry==0 on redeploy of ear
          Julian Gosnell Expert

          I think I have seen a similar error. It was something to do with the cache that holds open jar files for re-access getting confused.

          Are there no exceptions in your server.log ?

          Jules

          • 2. Re: jzentry==0 on redeploy of ear
            Bill Pfeiffer Newbie

            Here's the stack trace:

            2002-07-11 12:22:42,333 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/C:/Java/jboss-3.0.1RC1/server/af/tmp/deploy/server/af/deploy/espeedear.ear/63.espeedear.ear-contents/af.war
            java.lang.InternalError: jzentry == 0
            at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
            at java.util.jar.JarFile$1.nextElement(JarFile.java:198)
            at org.apache.jasper.compiler.TldLocationsCache.tldConfigJar(TldLocationsCache.java:234)
            at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:207)
            at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)
            at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
            at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
            at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:225)
            at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:420)
            at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:446)
            at org.jboss.jetty.Jetty.deploy(Jetty.java:406)
            at org.jboss.jetty.JettyService.performDeploy(JettyService.java:247)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:779)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
            at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
            at $Proxy4.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
            2002-07-11 12:22:42,333 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/C:/Java/jboss-3.0.1RC1/server/af/deploy/espeedear.ear
            org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/Java/jboss-3.0.1RC1/server/af/tmp/deploy/server/af/deploy/espeedear.ear/63.espeedear.ear-contents/af.war; - nested throwable: (java.lang.InternalError: jzentry == 0)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:804)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:779)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
            at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
            at $Proxy4.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
            + nested throwable:
            java.lang.InternalError: jzentry == 0
            at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
            at java.util.jar.JarFile$1.nextElement(JarFile.java:198)
            at org.apache.jasper.compiler.TldLocationsCache.tldConfigJar(TldLocationsCache.java:234)
            at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:207)
            at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)
            at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
            at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
            at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:225)
            at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:420)
            at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:446)
            at org.jboss.jetty.Jetty.deploy(Jetty.java:406)
            at org.jboss.jetty.JettyService.performDeploy(JettyService.java:247)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:779)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
            at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
            at $Proxy4.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
            2002-07-11 12:22:42,333 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@ba21ac1a{ url=file:/C:/Java/jboss-3.0.1RC1/server/af/deploy/espeedear.ear, deployedLastModified=1026394182077 }
            org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/Java/jboss-3.0.1RC1/server/af/tmp/deploy/server/af/deploy/espeedear.ear/63.espeedear.ear-contents/af.war; - nested throwable: (java.lang.InternalError: jzentry == 0)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:804)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:779)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
            at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
            at $Proxy4.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
            + nested throwable:
            java.lang.InternalError: jzentry == 0
            at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
            at java.util.jar.JarFile$1.nextElement(JarFile.java:198)
            at org.apache.jasper.compiler.TldLocationsCache.tldConfigJar(TldLocationsCache.java:234)
            at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:207)
            at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)
            at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
            at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
            at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:225)
            at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:420)
            at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:446)
            at org.jboss.jetty.Jetty.deploy(Jetty.java:406)
            at org.jboss.jetty.JettyService.performDeploy(JettyService.java:247)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:779)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
            at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
            at $Proxy4.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)

            • 3. Re: jzentry==0 on redeploy of ear
              Julian Gosnell Expert

              well I guess that confirms it.

              what JDK are you using ?

              I'm on 1.4 and haven't seen this for some time...

              You could try a more general forum - this is not web-specific... - someone else MUST have seen it.


              Jules