error deploying on jboss

647 views
Skip to first unread message

sas

unread,
Nov 3, 2011, 1:54:45 PM11/3/11
to play-framework
Hi

I'm trying to deploy to JBoss AS 7.0.1.Final "Zap", more precisely to
openshift

I get the following error:

Failed to start service jboss.deployment.unit."ROOT.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ROOT.war".PARSE: Failed to process phase PARSE
of deployment "ROOT.war"

I followed this ticket workaround
https://play.lighthouseapp.com/projects/57987/tickets/1173-play-war-doesnt-deploy-on-jboss-as-702



but is doesn't seem to work (I managed to make it work once, but now
it no longer does, and I have no idea what could have changed...)

the error says it can parse the jboss-web.xml file, this is my jboss-
web.xml

---
<jboss-web>
<class-loading java2classloadingcompliance="false">
<loader-repository>
com.example:archive=unique-archive-name
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>
---

I've copied it from http://www.playframework.org/documentation/1.2.3/deployment#Deploying

Any idea? Is someone working on this issue?

here's the full error log

saludos

sas


----

13:31:40,199 INFO [org.jboss.as.deployment] (DeploymentScanner-
threads - 1) Found ROOT.war in deployment directory. To trigger
deployment create a file called ROOT.war.dodeploy
13:31:40,226 INFO [org.jboss.as.server.deployment] (MSC service
thread 1-4) Starting deployment of "ROOT.war"
13:31:44,100 ERROR [org.jboss.msc.service.fail] (MSC service thread
1-3) MSC00001: Failed to start service
jboss.deployment.unit."ROOT.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ROOT.war".PARSE: Failed to process phase PARSE
of deployment "ROOT.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:
121)
at org.jboss.msc.service.ServiceControllerImpl
$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl
$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_20]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
Caused by:
org.jboss.as.server.deployment.DeploymentUnitProcessingException:
Failed to parse "/var/lib/libra/2c1155bbcc86422da456e988568b4cc8/
playdemo/jbossas-7.0/standalone/deployments/ROOT.war/WEB-INF/jboss-
web.xml" at [2,2]
at
org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:
68)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:
115)
... 5 more

13:31:44,106 INFO [org.jboss.as.server.controller] (DeploymentScanner-
threads - 2) Deployment of "ROOT.war" was rolled back with failure
message {"Failed services" => {"jboss.deployment.unit.\"ROOT.war
\".PARSE" => "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"ROOT.war\".PARSE: Failed to process phase
PARSE of deployment \"ROOT.war\""}}
13:31:44,148 INFO [org.jboss.as.server.deployment] (MSC service
thread 1-1) Stopped deployment ROOT.war in 41ms
13:31:44,150 ERROR [org.jboss.as.deployment] (DeploymentScanner-
threads - 1) {"Composite operation failed and was rolled back. Steps
that failed:" => {"Operation step-2" => {"Failed services" =>
{"jboss.deployment.unit.\"ROOT.war\".PARSE" =>
"org.jboss.msc.service.StartException in service jboss.deployment.unit.
\"ROOT.war\".PARSE: Failed to process phase PARSE of deployment
\"ROOT.war\""}}}}

---
Reply all
Reply to author
Forward
Message has been deleted
0 new messages