3 Replies Latest reply on Oct 17, 2011 2:11 AM by Vijay Kumar

    Deployment Related problem

    Vijay Kumar Newbie

      Hi Experts,

       

      When i deployed a project suddenly i have got some error saying like this,

      16:00:27,712 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController
      ] Error installing to PreReal: name=vfs:///C:/jboss-6.0.0.Final/server/default/d
      eploy/StrutsExample2/WEB-INF/web.xml state=PostClassLoader mode=Manual requiredS
      tate=PreReal: org.jboss.deployers.spi.DeploymentException: java.lang.ClassNotFou
      ndException: org.apache.struts.action.ActionServlet from BaseClassLoader@19fbcc3
      {vfs:///C:/jboss-6.0.0.Final/server/default/deploy/StrutsExample2/WEB-INF/web.xm
      l}
              at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.chec
      kDeclaredApplicationClassAsServlet(ResteasyScannerDeployer.java:257) [:6.0.0.Fin
      al]
              at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.scan
      (ResteasyScannerDeployer.java:108) [:6.0.0.Final]
              at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.inte
      rnalDeploy(ResteasyScannerDeployer.java:64) [:6.0.0.Final]
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
      AbstractRealDeployer.java:55) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
      Wrapper.java:179) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
      sImpl.java:1832) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
      rst(DeployersImpl.java:1550) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
      Impl.java:1491) [:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
      ctControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:2044) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
      ctController.java:1083) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementSta
      teDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:1246) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:1139) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
      ller.java:939) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
      ller.java:654) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersI
      mpl.java:1983) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
      Impl.java:1076) [:2.2.0.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
      rImpl.java:679) [:2.2.0.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.p
      rocess(MainDeployerPlugin.java:106) [:6.0.0.Final]
              at org.jboss.profileservice.dependency.ProfileControllerContext$Delegate
      Deployer.process(ProfileControllerContext.java:143) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.
      deploy(HDScanner.java:240) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.
      complete(HDScanner.java:192) [:0.2.2]
              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(Two
      PCActionWrapper.java:57) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificat
      ionAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificat
      ionAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]
              at org.jboss.profileservice.management.ModificationSession.prepare(Modif
      icationSession.java:87) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.internal
      Perfom(AbstractActionController.java:234) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.performW
      rite(AbstractActionController.java:213) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(
      AbstractActionController.java:150) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(
      AbstractActionController.java:135) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanne
      r.java:146) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner
      .java:90) [:0.2.2]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
      1) [:1.6.0_03]
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java
      :317) [:1.6.0_03]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.
      6.0_03]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_03]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_03]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_03]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:885) [:1.6.0_03]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:907) [:1.6.0_03]
              at java.lang.Thread.run(Thread.java:619) [:1.6.0_03]
      Caused by: java.lang.ClassNotFoundException: org.apache.struts.action.ActionServ
      let from BaseClassLoader@19fbcc3{vfs:///C:/jboss-6.0.0.Final/server/default/depl
      oy/StrutsExample2/WEB-INF/web.xml}
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoa
      der.java:480) [jboss-classloader.jar:2.2.0.GA]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251) [:1.6.0_03]
              at org.jboss.resteasy.integration.deployers.ResteasyScannerDeployer.chec
      kDeclaredApplicationClassAsServlet(ResteasyScannerDeployer.java:253) [:6.0.0.Fin
      al]
              ... 41 more

      16:00:27,790 WARN  [org.jboss.profileservice.deployment.hotdeploy.HDScanner] Sca
      n failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary
      of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** DEPLOYMENTS IN ERROR: Name -> Error

      vfs:///C:/jboss-6.0.0.Final/server/default/deploy/StrutsExample2/WEB-INF/web.xml
      -> org.jboss.deployers.spi.DeploymentException: java.lang.ClassNotFoundExceptio
      n: org.apache.struts.action.ActionServlet from BaseClassLoader@19fbcc3{vfs:///C:
      /jboss-6.0.0.Final/server/default/deploy/StrutsExample2/WEB-INF/web.xml}


      DEPLOYMENTS IN ERROR:
        Deployment "vfs:///C:/jboss-6.0.0.Final/server/default/deploy/StrutsExample2/W
      EB-INF/web.xml" is in error due to the following reason(s): java.lang.ClassNotFo
      undException: org.apache.struts.action.ActionServlet from BaseClassLoader@19fbcc
      3{vfs:///C:/jboss-6.0.0.Final/server/default/deploy/StrutsExample2/WEB-INF/web.x
      ml}

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
      loyersImpl.java:1370) [:2.2.0.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
      loyersImpl.java:1316) [:2.2.0.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainD
      eployerImpl.java:968) [:2.2.0.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.c
      heckComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]
              at org.jboss.profileservice.dependency.ProfileControllerContext$Delegate
      Deployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.
      deploy(HDScanner.java:246) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.
      complete(HDScanner.java:192) [:0.2.2]
              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(Two
      PCActionWrapper.java:57) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificat
      ionAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificat
      ionAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]
              at org.jboss.profileservice.management.ModificationSession.prepare(Modif
      icationSession.java:87) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.internal
      Perfom(AbstractActionController.java:234) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.performW
      rite(AbstractActionController.java:213) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(
      AbstractActionController.java:150) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(
      AbstractActionController.java:135) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanne
      r.java:146) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner
      .java:90) [:0.2.2]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
      1) [:1.6.0_03]
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java
      :317) [:1.6.0_03]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.
      6.0_03]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_03]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_03]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_03]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:885) [:1.6.0_03]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:907) [:1.6.0_03]
              at java.lang.Thread.run(Thread.java:619) [:1.6.0_03]

       

       

      please let me know what should be done for the project to run