How to add cockpit and Admin inside embedded spring implementation

940 views
Skip to first unread message

on....@gmail.com

unread,
Feb 3, 2016, 9:32:02 AM2/3/16
to camunda BPM users
Hi All,

We are evaluating Camunda and in process of doing POC.

We already have a War application and we using Camunda BPMN embedded inside Spring based application.

Now we want to add cockpit also under our war file. Can you please share some link on what steps needs to be followed sp that we can add cockpit inside our Application war file.

I have gone through Camunda site and various other blogs but getting confused with the right steps.

Any pointers will be of great help.

Regards
Ashwin Shah

thorben....@camunda.com

unread,
Feb 3, 2016, 10:04:27 AM2/3/16
to camunda BPM users, on....@gmail.com
Hi Ashwin Shah,

I don't think it is best practice to pack Camunda Cockpit into your custom application since there may be conflicts with classes and resources unless you build Cockpit from the sources yourself.

If having Cockpit as a separate application is ok for you, then you can download the standalone Cockpit variant [1]. Just like your custom application, it contains an embedded engine and you'll have to configure both engines against the same database. See link [1] for a pointer how to configure the embedded engine in the standalone version of Cockpit.

Cheers,
Thorben

[1] https://docs.camunda.org/manual/7.4/introduction/downloading-camunda/#standalone-web-application-distribution

Daniel Meyer

unread,
Feb 3, 2016, 10:14:58 AM2/3/16
to camunda BPM users, on....@gmail.com
If you want to do this, just do a maven war overlay of the standalone distribution of the web application that Thorben mentioned


=> Add this dependency  to your pom: 

<groupId>org.camunda.bpm.webapp</groupId>
<artifactId>camunda-webapp-tomcat-standalone</artifactId>
<packaging>war</packaging>

Ashwin Shah

unread,
Feb 4, 2016, 5:55:15 AM2/4/16
to thorben....@camunda.com, camunda BPM users
Hi Thorben,

Thank you for your quick reply.
As suggested by you I followed the below links

Followed instruction from this below link
https://docs.camunda.org/manual/7.4/installation/standalone-webapplication/

Downloaded war file form below link->Camunda Standalone Webapp-> apache tomcat-> 7.4.0-Final
https://camunda.org/download/

On my vanilla Tomcat webapps folder I copied the camunda standalone war file but when I try to open the below url I am getting 404 error.

Note: I do not see any error in Tomcat console or Tomcat log files.

thorben....@camunda.com

unread,
Feb 4, 2016, 6:00:13 AM2/4/16
to camunda BPM users, thorben....@camunda.com, on....@gmail.com
Hi Ashwin Shah,

on Tomcat, the servlet context path of a web application is the name of the war file (minus the .war). So, if you deploy a file named camunda-standalone.war, the URL Is going to be localhost:9080/camunda-standalone

Cheers,
Thorben


Am Donnerstag, 4. Februar 2016 11:55:15 UTC+1 schrieb Ashwin Shah:
Hi Thorben,

Thank you for your quick reply.
As suggested by you I followed the below links

Followed instruction from this below link
https://docs.camunda.org/manual/7.4/installation/standalone-webapplication/

Downloaded war file form below link->Camunda Standalone Webapp-> apache tomcat-> 7.4.0-Final
https://camunda.org/download/

On my vanilla Tomcat webapps folder I copied the camunda standalone war file but when I try to open the below url I am getting 404 error.

Note: I do not see any error in Tomcat console or Tomcat log files.

Thorben Lindhauer

unread,
Feb 4, 2016, 8:31:49 AM2/4/16
to Ashwin Shah, camunda BPM users

Hi Ashwin Shah,

 

It is not required to install the shared engine BPM platform since the standalone web application bundles an embedded engine . Which link did you download the standalone web application from?

 

Cheers,
Thorben

 

Von: Ashwin Shah [mailto:on....@gmail.com]
Gesendet: Donnerstag, 4. Februar 2016 14:21
An: Thorben Lindhauer <thorben....@camunda.com>
Betreff: Re: How to add cockpit and Admin inside embedded spring implementation

 

Hi Thorben,

Yes I had renamed my camunda*.war file to camunda.war and tried the url but it did not work.

I followed the below documentation to make it work.

Doubt: Is it mandatory that we need to follow the Link1  suggested steps even for a standalone camunda cockpit to work.?

Regards

Ashwin Shah

 

 

On Thu, Feb 4, 2016 at 4:30 PM, <thorben....@camunda.com> wrote:

Hi Ashwin Shah,

on Tomcat, the servlet context path of a web application is the name of the war file (minus the .war). So, if you deploy a file named camunda-standalone.war, the URL Is going to be localhost:9080/camunda-standalone

Cheers,
Thorben

Am Donnerstag, 4. Februar 2016 11:55:15 UTC+1 schrieb Ashwin Shah:

Hi Thorben,

Thank you for your quick reply.

As suggested by you I followed the below links

Followed instruction from this below link
https://docs.camunda.org/manual/7.4/installation/standalone-webapplication/

Downloaded war file form below link->Camunda Standalone Webapp-> apache tomcat-> 7.4.0-Final
https://camunda.org/download/

On my vanilla Tomcat webapps folder I copied the camunda standalone war file but when I try to open the below url I am getting 404 error.


Note: I do not see any error in Tomcat console or Tomcat log files.

Das Bild wurde vom Absender entfernt. Inline image 1

Das Bild wurde vom Absender entfernt. Inline image 2

Regards

Ashwin Shah

Reply all
Reply to author
Forward
0 new messages