Can't deploy webapps

581 views
Skip to first unread message

Melanie Windrich

unread,
Jul 29, 2014, 7:33:44 AM7/29/14
to camunda-...@googlegroups.com
Hey everyone,

I tried to do the Cockpit Plugin How To but i couldn't start the integrated Jetty server because of a strande Java Exception. So I tried to deploy the Webapp on my Camunda JBoss Distribution but the deployment didn't work (even with the GIT version of the Plugin).

Then I just tried to deploy the original webapp. I.e. I cloned the webapp repository and build it (that worked fine) and then copied the .war from ..\camunda-bpm-webapp\distro\jboss\target to the ..\server\jboss-as-7.2.0.Final\standalone\deployments folder of my camunda-bpm-jboss-7.2.0-alpha3 distribution. I tried to rename the file to the filename of the original webapp-deployment but my cmd keeps telling me "JBAS014777:   Services which failed to start:      service jboss.deployment.unit."camunda-webapp-jboss-7.2.0-alpha3.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."camunda-webapp-jboss-7.2.0-alpha3.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "camunda-webapp-jboss-7.2.0-alpha3.war""

I attatch my full server.log

Can anyone please help me?

Thanks and greetings

Melanie
server.log

Daniel Meyer

unread,
Jul 29, 2014, 7:45:38 AM7/29/14
to camunda-...@googlegroups.com
Hi Melanie,

I see this log output:

13:08:04,590 INFO  [org.camunda.bpm.container.impl.jboss.deployment.processor.ProcessApplicationProcessor] (MSC service thread 1-2) Detected user-provided @ProcessApplication component with name 'org.camunda.bpm.pa.DevProcessApplication'.
13:08:05,955 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."camunda-webapp-jboss-7.2.0-alpha3.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."camunda-webapp-jboss-7.2.0-alpha3.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "camunda-webapp-jboss-7.2.0-alpha3.war"
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExe


It seems like it is trying to deploy a process application 'org.camunda.bpm.pa.DevProcessApplication' we use during development (providing demo data).

You need to build the camunda-bpm-webapp repository without a profile:

cd camunda-bpm-webapp
mvn clean install -DskipTests

Does this help?

----

Btw, in order to add a plugin to the camunda webapp (cockpit), you do not need to build the webapp yourself. You could simply add the JAR file containing your plugin resources to the WEB-INF/lib folder of a webapp distribution you downloaded from camunda. We need to change this in the tutorial, sorry for that.

Cheers,
Daniel
--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/866153b7-8c44-4420-9b2b-5d656eaa98c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
---------------------------------------------
We are Hiring Open Source Developers!
http://www.camunda.org/community/jobs.html
---------------------------------------------
Blog: http://blog.camunda.org
Twitter: https://twitter.com/meyerdan
---------------------------------------------
camunda services GmbH - The Business Process Company Zossener Straße 55-58 - 10961 Berlin
www.camunda.com - in...@camunda.com
---------------------------------------------
Daniel Meyer
Project Lead
Telefon +49  30 664 04 09 – 00
daniel...@camunda.com
---------------------------------------------
Amtsgericht Charlottenburg: HRB 113230 B 
Geschäftsführer: Jakob Freund, Bernd Rücker 
---------------------------------------------

Melanie Windrich

unread,
Jul 29, 2014, 8:09:02 AM7/29/14
to camunda-...@googlegroups.com
Hi Daniel,

yes, it works! And thanks for the hint with the JAR!

Cheers,

Melanie
Reply all
Reply to author
Forward
0 new messages