1 Reply Latest reply on May 27, 2013 3:38 AM by Andrew Tan

    drools-guvnor.war deployment issue in SOA-P5.3.1

    Andrew Tan Newbie

      Hi,

       

      I am attempting to integrate JBPM5.2 with JBoss SOA-P5.3.1 which is running on PostgreSQL.

       

      I have been able to update the jbpm-installer and my JBoss SOA-P5.3.1 to run the demo via jbpm-console by pointing -Djbpm.console.directory to the directory that contains the Evaluation.bpmn.

       

      However on startup, drools-guvnor will not deploy?

       

      When the server starts up I get the following error message in server.log:

       

      2013-05-27 16:16:01,212 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/deploy/drools-guvnor.war/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Failed to create web module
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:461)
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:97)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:409)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.io.FileNotFoundException: /mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/tmp/4st5t49-bv3jml-hh78s6le-1-hh79iixg-cc/drools-guvnor.war/WEB-INF/classes/org/drools/guvnor/client/widgets/wizards/assets/decisiontable/ActionInsertFactFieldsPageViewImpl$ActionInsertFactFieldsPageWidgetBinder.class (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
      at org.jboss.util.file.JarUtils.unjar(JarUtils.java:310)
      at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.unjar(AbstractCopyMechanism.java:330)
      at org.jboss.virtual.plugins.copy.UnjarCopyMechanism.doCopy(UnjarCopyMechanism.java:52)
      at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:186)
      at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:146)
      at org.jboss.virtual.VFSUtils.copy(VFSUtils.java:847)
      at org.jboss.virtual.VFSUtils.unjar(VFSUtils.java:828)
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:360)
      ... 28 more
      2013-05-27 16:16:01,228 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** DEPLOYMENTS IN ERROR: Name -> Error

      vfszip:/mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/deploy/drools-guvnor.war/ -> org.jboss.deployers.spi.DeploymentException: Failed to create web module


      DEPLOYMENTS IN ERROR:
        Deployment "vfszip:/mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/deploy/drools-guvnor.war/" is in error due to the following reason(s): java.io.FileNotFoundException: /mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/tmp/4st5t49-bv3jml-hh78s6le-1-hh79iixg-cc/drools-guvnor.war/WEB-INF/classes/org/drools/guvnor/client/widgets/wizards/assets/decisiontable/ActionInsertFactFieldsPageViewImpl$ActionInsertFactFieldsPageWidgetBinder.class (No such file or directory)

      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1008)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:954)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:870)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:416)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

       

      The instance of drools-guvnor that I am using is the one from this URL:

      https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.3.1.Final/guvnor-distribution-wars-5.3.1.Final-jboss-as-5.1.war

       

      I have checked the MD5 checksum against the downloaded file and I can verify that the file that the deployer is complaining about is in the WAR file.

       

      Any help would be greatly appreciated.