0 Replies Latest reply on Nov 1, 2002 2:45 PM by yufu

    Auto-Deployment Failed On JBoss 3.0 + Tomcat 4.1

    yufu Newbie

      Same application, auto-deployment works fine on JBoss 2.4.4 but always failed on JBoss 3.0. The application can be deployed successfully after restarting the server. The error message was:

      12:51:23,655 ERROR [MainDeployer] Undeployment failed: file:/E:/jboss-3.0.3_tomcat-4.1.12/server/def
      ault/deploy/workflow.war
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPo
      interException)
      at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:355)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:469)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:443)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:438)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:411)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      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:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.undeploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploymentScanner.java:457)

      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:552)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo
      ymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploym
      entScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeployme
      ntScanner.java:202)
      Caused by: java.lang.NullPointerException
      at org.jboss.util.file.Files.delete(Files.java:39)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.performUndeploy(EmbeddedCatalinaService4
      1.java:330)
      at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:345)
      ... 17 more

      Thanks.