0 Replies Latest reply on Jul 19, 2007 12:22 PM by Mark Spritzler

    Unable to redeploy war file

    Mark Spritzler Apprentice

      I have a simple war file for a Cactus unit test, so there is just one Servlet in in. Anyway, I get errors when trying to redeploy in AS5, This is from building the AS from JBoss-head. 7/17/07

      09:17:24,078 INFO [TomcatDeployment] undeploy, ctxPath=/jboss-as5-testsuite, vfsUrl=jboss-as5-testsuite.war
      09:17:28,093 ERROR [EJBRegistrationDeployer] Error during deploy: vfsfile:/C:/JBossSVN/jboss-head/build/output/jboss-5.0
      .0.Beta3/server/default/deploy/jboss-as5-testsuite.war
      org.jboss.deployers.spi.DeploymentException: java.lang.NullPointerException
       at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrationDeployer.java:172)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.deploy(AbstractVFSRealDeployer.java:45)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:164)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:661)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:624)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:588)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:304)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1257)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:685)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:813)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:735)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:573)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:374)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:427)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:340)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:222)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.j
      ava:65)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.
      java:142)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166
      )
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:455)
       at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:440)
       at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:406)
       at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:348)
       at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrationDeployer.java:160)
       ... 25 more
      09:17:28,093 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/JBossSVN/jboss-head/build/outpu
      t/jboss-5.0.0.Beta3/server/default/deploy/jboss-as5-testsuite.war state=PostClassLoader mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: java.lang.NullPointerException
       at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrationDeployer.java:172)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.deploy(AbstractVFSRealDeployer.java:45)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:164)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:661)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:624)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:588)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:304)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1257)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:685)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:813)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:735)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:573)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:374)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:427)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:340)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:222)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.j
      ava:65)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.
      java:142)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166
      )
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:455)
       at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:440)
       at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:406)
       at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:348)
       at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrationDeployer.java:160)
       ... 25 more
      09:17:28,109 WARN [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR
       DETAILS):
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      vfsfile:/C:/JBossSVN/jboss-head/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-as5-testsuite.war -> java.lan
      g.NullPointerException
      
      
       at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:553)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:379)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:292)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:222)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.j
      ava:65)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.
      java:142)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166
      )
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      


      Thanks