[rules-users] Deploying Guvnor on JBoss AS fails with FileNotFoundException

Thomas Söhngen thomas.soehngen at stockpulse.de
Thu Jan 17 06:16:29 EST 2013


Hello,

I am trying to deploy Guvnor 5.5.0.Final on JBoss AS 7.1.1.Final 
(running in a Ubuntu VM). I rename the 
"guvnor-5.5.0.Final-jboss-as-7.0.war" to "guvnor.war" and copy it in the 
"standalone\deployments" folder of the AS. The AS starts the deployment, 
but fails immediately with the following error:

12:14:44,669 INFO  [org.jboss.as.server.deployment] (MSC service thread 
1-6) JBAS015876: Starting deployment of "guvnor.war"
12:14:57,083 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) 
MSC00001: Failed to start service 
jboss.deployment.unit."guvnor.war".STRUCTURE: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."guvnor.war".STRUCTURE: Failed to process phase 
STRUCTURE of deployment "guvnor.war"
     at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) 
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
     at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) 
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
     at 
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) 
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
[rt.jar:1.6.0_18]
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
[rt.jar:1.6.0_18]
     at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_18]
Caused by: 
org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed 
to mount deployment content
     at 
org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:91) 
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
     at 
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) 
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
     ... 5 more
Caused by: java.io.FileNotFoundException: 
/home/notroot/svn/rules-engine/jboss-as-7.1.1.Final/standalone/tmp/vfs/temp45e614882d11012e/guvnor.war-6762d1b407bcac4f/WEB-INF/classes/org/drools/guvnor/client/explorer/navigation/qa/testscenarios/FactDataWidgetFactory$DeleteFactColumnButton$1.class 
(File name too long)
     at java.io.FileOutputStream.open(Native Method) [rt.jar:1.6.0_18]
     at java.io.FileOutputStream.<init>(FileOutputStream.java:209) 
[rt.jar:1.6.0_18]
     at java.io.FileOutputStream.<init>(FileOutputStream.java:160) 
[rt.jar:1.6.0_18]
     at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:870)
     at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:536)
     at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567)
     at 
org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:97) 
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
     at 
org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:87) 
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
     ... 6 more

12:14:57,559 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) 
JBAS015870: Deploy of deployment "guvnor.war" was rolled back with 
failure message {"JBAS014671: Failed services" => 
{"jboss.deployment.unit.\"guvnor.war\".STRUCTURE" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"guvnor.war\".STRUCTURE: Failed to process phase 
STRUCTURE of deployment \"guvnor.war\""}}
12:14:57,560 INFO  [org.jboss.as.server.deployment] (MSC service thread 
1-4) JBAS015877: Stopped deployment guvnor.war in 1ms
12:14:57,656 INFO  [org.jboss.as.controller] (DeploymentScanner-threads 
- 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service 
jboss.deployment.unit."guvnor.war".STRUCTURE: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."guvnor.war".STRUCTURE: Failed to process phase 
STRUCTURE of deployment "guvnor.war"

12:14:57,724 ERROR [org.jboss.as.server.deployment.scanner] 
(DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed 
and was rolled back. Steps that failed:" => {"Operation step-2" => 
{"JBAS014671: Failed services" => 
{"jboss.deployment.unit.\"guvnor.war\".STRUCTURE" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"guvnor.war\".STRUCTURE: Failed to process phase 
STRUCTURE of deployment \"guvnor.war\""}}}

Anyone got an idea, why this happens?

Best regards,
Thomas

-- 
Thomas Söhngen

Office: +49 221 294 975 20
Mobile: +49 178 732 1202
Email: thomas.soehngen at stockpulse.de

www.stockpulse.de
www.facebook.com/stockpulse

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StockPulse UG (haftungsbeschränkt)
Sitz der Gesellschaft: Köln
Amtsgericht: Köln (HRB 145359)
Vertretungsberechtige Geschäftsführer: Stefan Nann, Jonas Krauss
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StockPulse UG (Limited Liability)
Registered Office: Cologne
District Court: Cologne HRB (145359)
Managing Director: Stefan Nann, Jonas Krauss
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



More information about the rules-users mailing list