6 Replies Latest reply on Jan 17, 2004 4:51 AM by flashwindcn

    war redeploy error

    flashwindcn Newbie

      when I redeploy a war file in jboss3.2.3, it display the following errors:

      2004-01-17 13:21:03,606 DEBUG [org.apache.struts.validator.ValidatorPlugIn] Destroying ValidatorPlugin
      2004-01-17 13:21:04,988 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/F:/jboss/server/default/tmp/deploy/tmp3381ecardTony1.war/ restart will delete it
      2004-01-17 13:23:10,428 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/F:/jboss/server/default/deploy/ecardTony1.war
      2004-01-17 13:23:10,578 ERROR [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Problem in init
      java.util.zip.ZipException: unexpected EOF
      at java.util.zip.ZipInputStream.read(ZipInputStream.java:159)
      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:301)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2004-01-17 13:23:10,608 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deloyment: file:/F:/jboss/server/default/deploy/ecardTony1.war
      org.jboss.deployment.DeploymentException: unexpected EOF; - nested throwable: (java.util.zip.ZipException: unexpected EOF)
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:350)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      Caused by: java.util.zip.ZipException: unexpected EOF
      at java.util.zip.ZipInputStream.read(ZipInputStream.java:159)
      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:301)
      ... 15 more

      who can tell me why!
      thanks!