jboss war deployment failed

7,534 views
Skip to first unread message

regn...@temasys.com.sg

unread,
Apr 28, 2014, 1:24:46 AM4/28/14
to kur...@googlegroups.com
Hi all,

I recently tried to make some testing using the fi-lab-demo/kmf-content-demo.war that I found here: https://ci.kurento.com/apps/
When I follow the installation guide here: http://www.kurento.org/docs/current/Installation_Guide.html I installed the jboss server, copied the war file ("fi-lab-demo-4.2.2.war") to the folder /opt/jboss/standalone/deployments/ and then give it the jboss rights.

But then when I launch the jboss server the war is not deployed:
/opt/jboss/standalone/deployments/fi-lab-demo-4.2.2.war         /opt/jboss/standalone/deployments/README.txt
/opt/jboss/standalone/deployments/fi-lab-demo-4.2.2.war.failed

And here is the error message:
13:13:15,100 INFO  [org.jboss.as] (MSC service thread 1-10) JBAS015951: Admin console listening on http://127.0.0.1:9990
13:13:15,101 ERROR [org.jboss.as] (MSC service thread 1-10) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 2487ms - Started 140 of 220 services (3 services failed or missing dependencies, 76 services are passive or on-demand)
13:13:15,102 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "fi-lab-demo-4.2.2.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"fi-lab-demo-4.2.2.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"fi-lab-demo-4.2.2.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"fi-lab-demo-4.2.2.war\""}}
13:13:15,124 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment fi-lab-demo-4.2.2.war in 20ms
13:13:15,125 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.naming.context.java.module."fi-lab-demo-4.2.2"."fi-lab-demo-4.2.2" (missing) dependents: [service jboss.naming.context.java.module."fi-lab-demo-4.2.2"."fi-lab-demo-4.2.2".ValidatorFactory, service jboss.naming.context.java.module."fi-lab-demo-4.2.2"."fi-lab-demo-4.2.2".Validator] 
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."fi-lab-demo-4.2.2.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."fi-lab-demo-4.2.2.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "fi-lab-demo-4.2.2.war"

13:13:15,127 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.\"fi-lab-demo-4.2.2.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"fi-lab-demo-4.2.2.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"fi-lab-demo-4.2.2.war\""}}}}
^C13:19:51,083 INFO  [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
13:19:51,086 INFO  [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService
13:19:51,086 INFO  [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager
13:19:51,087 INFO  [org.jboss.as.controller] JBAS014774: Service status report
JBAS014776:    Newly corrected services:
      service jboss.naming.context.java.module."fi-lab-demo-4.2.2"."fi-lab-demo-4.2.2" (new available)

13:19:51,088 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 9ms

I'm not a jboss expert so could you help me to solve this issue?

Ivan Gracia

unread,
Apr 28, 2014, 4:59:50 AM4/28/14
to Kurento Public
Hi,

Could you please provide the full server log? There should be some exceptions thrown somewhere in that log, that could throw some light on your problem.

Regards,
Ivan.


--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

regn...@temasys.com.sg

unread,
Jun 1, 2014, 10:07:06 PM6/1/14
to kur...@googlegroups.com
Some time later I found the reason: the used Java version wasn't the right one.
sudo update-alternatives --config java
solved the problem

Ivan Gracia

unread,
Jun 2, 2014, 3:42:47 AM6/2/14
to Kurento Public
Which version of Java were you using? Java 8?

regn...@temasys.com.sg

unread,
Jun 2, 2014, 3:50:04 AM6/2/14
to kur...@googlegroups.com
Not exactly sure but I think: /usr/lib/jvm/java-6-oracle/jre/bin/java

Ivan Gracia

unread,
Jun 2, 2014, 5:28:01 AM6/2/14
to Kurento Public
Ok, I see. We are using Java 7 for development. Actually, if you try to compile the project with Maven, it won't let you if you have anything older than that. I guess that you downloaded the project from the site pointed in the documents. We'll have to include Java 7 as minimum requirements.

Regards,
Ivan.
Reply all
Reply to author
Forward
0 new messages