4.1 KiB
Camunda BPM Process Application
A Process Application for Camunda BPM.
This project has been generated by the Maven archetype camunda-archetype-servlet-war-7.11.1.
Show me the important parts!
How does it work?
How to use it?
Unit Test
You can run the JUnit test InMemoryH2Test in your IDE or using:
mvn clean test
Deployment to an Application Server
You can also build and deploy the process application to an application server. For an easy start you can download Apache Tomcat with a pre-installed Camunda from our Download Page.
Manually
- Build the application using:
mvn clean package
- Copy the *.war file from the
target
directory to the deployment directory of your application server e.g.tomcat/webapps
orwildfly/standalone/deployments
. For a faster 1-click (re-)deployment see the alternatives below.
Apache Tomcat (using Maven AntRun Plugin)
- First copy the file
build.properties.example
tobuild.properties
- Edit the
build.properties
file and put the path to your Tomcat intodeploy.tomcat.dir
. - Build and deploy the process application using:
mvn clean package antrun:run
Alternatively, you can also copy the build.properties
file to ${user.home}/.camunda/build.properties
to have a central configuration that works with all projects generated by the
Camunda Maven Archetypes e.g. the examples provided by the Camunda Consulting Team.
Apache Tomcat (using Tomcat Maven Plugin)
- Create a user in Tomcat with the role
manager-script
. - Add the user's credentials to the
tomcat7-maven-plugin
configuration in the pom.xml file. - Build and deploy the process application using:
mvn clean tomcat7:deploy
Wildfly (using Wildfly Maven Plugin)
- Build and deploy the process application using:
mvn clean wildfly:deploy
JBoss AS7 (using JBoss AS Maven Plugin)
- Build and deploy the process application using:
mvn clean jboss-as:deploy
Ant (and Maven)
- First copy the file
build.properties.example
tobuild.properties
- Edit the
build.properties
file and put the path to your application server inside it. - Build and deploy the process application using:
ant deploy.tomcat
or
ant deploy.jboss
Alternatively, you can also copy the build.properties
file to ${user.home}/.camunda/build.properties
to have a central configuration that works with all projects generated by the
Camunda Maven Archetypes e.g. the examples provided by the Camunda Consulting Team.
Run and Inspect with Tasklist and Cockpit
Once you deployed the application you can run it using Camunda Tasklist and inspect it using Camunda Cockpit.
Environment Restrictions
Built and tested against Camunda BPM version 7.11.0.