Problem in deploying web modules
jagag Sep 5, 2006 8:31 AMHi,
Am using JBoss4.0 and JDK1.5
I dont have any problem in running the server but wen i try to deploy the module I have done, it's not getting deployed as war file. Rather I get the following exceptions
17:32:59,497 WARN [JARDeployer] Failed to add deployable jar: file:/D:/jboss-4.0.3SP1/jboss-4.0.3SP1/server/default/tmp/deploy/tmp42988sample.html
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:362)
at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:269)
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.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
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)
I have also tried getting the war file by ANT scripts and putting that into deploy folder. I get some more exceptions for that
java.io.EOFException: Unexpected end of ZLIB input stream
org.jboss.deployment.DeploymentException: Unexpected end of ZLIB input stream; - nested throwable: (java.io.EOFException: Unexpected end of ZLIB input stream)
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
Kindly help me to get rid of this issue.