7 Replies Latest reply on May 15, 2006 9:22 AM by David Richmond

    Intermitent DeploymentException: Unexpected end of ZLIB inpu

    David Richmond Newbie

      I occasionally, but not consistently, get the exception below. In fact the same WAR can fail on Production but works in Test. This can occur with any WAR file, not the specific example shown here.

      Details:
      jboss-4.0.3SP1 on Windows 2000 server using JVM 1.5.04
      WAR file is built on JDK 1.5.04 using the ANT 1.6.5 WAR task.

      Does anyone have any ideas????

      If no one has a clue, can someone tell me how, via an ANT copy to the deploy directory, I can programatically find out that the deployment failed.

      P.S. This has been reported on the BB twice elsewhere in different contexts, but neither report has an answer.

      2006-03-28 13:15:31,937 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/F:/JavaServer/jboss-4.0.3SP1/server/default/deploy/ISA/user.war
      org.jboss.deployment.DeploymentException: Unexpected end of ZLIB input stream; - nested throwable: (java.io.EOFException: Unexpected end of ZLIB input stream)
       at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:352)
       at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy31.init(Unknown Source)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
       at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
      Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
       at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
       at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
       at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
       at java.util.jar.JarInputStream.read(JarInputStream.java:171)
       at org.jboss.util.file.JarUtils.unjar(JarUtils.java:285)
       at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:302)
       ... 35 more