Can't upload war file to Camunda Cockpit


#1

Hello,

at the moment I’m trying to implement my own BPMN with Java-Code in Camunda. I used your tutorial on youtube https://www.youtube.com/watch?v=HxtZf5VD6lQ.
instead of using Wildfly Server I’m using a Tomcat 9.05 server. So I created a Maven Project as descriped in the tutorial and build a war file via maven install. Theproject was successfully build and stored in the webapps folder. Also tomcat already created a folder with the subfolders “forms”, “META-INF” and “WEB-INF” at this directory.
Although in the Camunda web cockpit (http://localhost:8080/camunda/app/cockpit/default/#/processes) I can’t find my deployed process.

Does someone know what I have done wrong?
Thanks in advance


#2

Hi @Luke
May you post your tomcat server log, please…


#3

Where can I see my Tomcat Log?
I downloaded the Community Plattform via https://camunda.com/download/ and executed the start-camunda.sh script. This is the output I got from this command:

Lukas:camunda-bpm-tomcat-7.9.0 lukas$ /Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/start-camunda.sh
starting camunda BPM platform on Tomcat Application Server
Using CATALINA_BASE: /Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5
Using CATALINA_HOME: /Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5
Using CATALINA_TMPDIR: /Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/temp
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home
Using CLASSPATH: /Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/bin/bootstrap.jar:/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/bin/tomcat-juli.jar
Tomcat started.
Lukas:camunda-bpm-tomcat-7.9.0 lukas$ -e We are sorry… We tried all we could do but we couldn’t locate your default browser…
If you want to see our default website please open your browser and insert this URL:
http://localhost:8080/camunda-welcome/index.html


#4

…/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/logs


#5

Thank you. I think you mean the Catalina log, right?

11-Oct-2018 13:56:45.185 INFORMATION [Thread-8] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14015 Shutting down the JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor]
11-Oct-2018 13:56:45.187 INFORMATION [19] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14020 JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor] stopped job acquisition
11-Oct-2018 13:56:45.204 INFORMATION [Thread-8] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08051 Process application camunda-invoice undeployed
11-Oct-2018 13:56:45.208 INFORMATION [Thread-8] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-00007 Process Engine default closed
11-Oct-2018 13:56:45.208 INFORMATION [Thread-8] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08049 Camunda BPM platform stopped at ‘Apache Tomcat/9.0.5’
11-Oct-2018 13:56:45.210 INFORMATION [Thread-8] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“http-nio-8080”]
11-Oct-2018 13:56:45.215 INFORMATION [Thread-8] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“ajp-nio-8009”]
11-Oct-2018 13:56:45.272 INFORMATION [Thread-8] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
11-Oct-2018 13:56:45.318 WARNUNG [Thread-8] org.camunda.commons.logging.BaseLogger.logWarn ENGINE-07017 Calling undeploy() on process application that is not deployed.
11-Oct-2018 13:56:45.390 INFORMATION [Thread-8] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“http-nio-8080”]
11-Oct-2018 13:56:45.394 INFORMATION [Thread-8] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“ajp-nio-8009”]
11-Oct-2018 13:56:45.397 INFORMATION [Thread-8] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler [“http-nio-8080”]
11-Oct-2018 13:56:45.398 INFORMATION [Thread-8] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler [“ajp-nio-8009”]
11-Oct-2018 14:06:10.426 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.5
11-Oct-2018 14:06:10.434 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 6 2018 21:42:23 UTC
11-Oct-2018 14:06:10.434 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.5.0
11-Oct-2018 14:06:10.435 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X
11-Oct-2018 14:06:10.435 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.14
11-Oct-2018 14:06:10.435 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64
11-Oct-2018 14:06:10.435 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
11-Oct-2018 14:06:10.435 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_181-b13
11-Oct-2018 14:06:10.436 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
11-Oct-2018 14:06:10.436 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5
11-Oct-2018 14:06:10.436 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5
11-Oct-2018 14:06:10.437 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/conf/logging.properties
11-Oct-2018 14:06:10.437 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Oct-2018 14:06:10.438 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
11-Oct-2018 14:06:10.438 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
11-Oct-2018 14:06:10.438 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx512m
11-Oct-2018 14:06:10.438 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=256m
11-Oct-2018 14:06:10.438 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:PermSize=256m
11-Oct-2018 14:06:10.438 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
11-Oct-2018 14:06:10.439 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5
11-Oct-2018 14:06:10.439 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5
11-Oct-2018 14:06:10.439 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/temp
11-Oct-2018 14:06:10.439 INFORMATION [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/lukas/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
11-Oct-2018 14:06:10.684 INFORMATION [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
11-Oct-2018 14:06:10.714 INFORMATION [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Oct-2018 14:06:10.722 INFORMATION [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“ajp-nio-8009”]
11-Oct-2018 14:06:10.723 INFORMATION [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Oct-2018 14:06:10.724 INFORMATION [main] org.apache.catalina.startup.Catalina.load Initialization processed in 955 ms
11-Oct-2018 14:06:11.197 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08046 Found camunda bpm platform configuration in CATALINA_BASE/CATALINA_HOME conf directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/conf/bpm-platform.xml] at ‘file:/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/conf/bpm-platform.xml’
11-Oct-2018 14:06:11.477 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-12003 Plugin ‘ProcessApplicationEventListenerPlugin’ activated on process engine ‘default’
11-Oct-2018 14:06:11.491 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-12003 Plugin ‘SpinProcessEnginePlugin’ activated on process engine ‘default’
11-Oct-2018 14:06:11.497 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatProvider[name = application/json]
11-Oct-2018 14:06:11.835 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatProvider[name = application/xml]
11-Oct-2018 14:06:11.851 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormat[name = application/xml]
11-Oct-2018 14:06:11.851 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat[name = application/json]
11-Oct-2018 14:06:11.852 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-12003 Plugin ‘ConnectProcessEnginePlugin’ activated on process engine ‘default’
11-Oct-2018 14:06:12.148 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo CNCT-01004 Discovered provider for connector id ‘http-connector’ and class ‘org.camunda.connect.httpclient.impl.HttpConnectorImpl’: ‘org.camunda.connect.httpclient.impl.HttpConnectorProviderImpl’
11-Oct-2018 14:06:12.151 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo CNCT-01004 Discovered provider for connector id ‘soap-http-connector’ and class ‘org.camunda.connect.httpclient.soap.impl.SoapHttpConnectorImpl’: ‘org.camunda.connect.httpclient.soap.impl.SoapHttpConnectorProviderImpl’
11-Oct-2018 14:06:16.106 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-00001 Process Engine default created.
11-Oct-2018 14:06:16.108 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor].
11-Oct-2018 14:06:16.111 INFORMATION [Thread-6] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14018 JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor] starting to acquire jobs
11-Oct-2018 14:06:16.116 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08048 Camunda BPM platform sucessfully started at ‘Apache Tomcat/9.0.5’.
11-Oct-2018 14:06:16.140 INFORMATION [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
11-Oct-2018 14:06:16.140 INFORMATION [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.5
11-Oct-2018 14:06:16.158 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/camunda-welcome]
11-Oct-2018 14:06:18.606 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:18.638 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/camunda-welcome] has finished in [2,480] ms
11-Oct-2018 14:06:18.638 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/engine-rest]
11-Oct-2018 14:06:20.815 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:21.010 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/engine-rest] has finished in [2,372] ms
11-Oct-2018 14:06:21.010 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/h2]
11-Oct-2018 14:06:22.322 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:22.330 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/h2] has finished in [1,320] ms
11-Oct-2018 14:06:22.330 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/camunda]
11-Oct-2018 14:06:24.859 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:25.278 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/camunda] has finished in [2,948] ms
11-Oct-2018 14:06:25.278 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/docs]
11-Oct-2018 14:06:26.567 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:26.568 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/docs] has finished in [1,290] ms
11-Oct-2018 14:06:26.569 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/manager]
11-Oct-2018 14:06:27.773 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:27.784 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/manager] has finished in [1,215] ms
11-Oct-2018 14:06:27.785 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/camunda-invoice]
11-Oct-2018 14:06:28.926 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:28.926 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07015 Detected @ProcessApplication class ‘org.camunda.bpm.example.invoice.InvoiceProcessApplication’
11-Oct-2018 14:06:28.936 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08024 Found processes.xml file at file:/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/camunda-invoice/WEB-INF/classes/META-INF/processes.xml
11-Oct-2018 14:06:28.965 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08023 Deployment summary for process archive ‘camunda-invoice’:

    invoiceBusinessDecisions.dmn
    invoice.v2.bpmn
    review-invoice.cmmn

11-Oct-2018 14:06:29.496 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07021 ProcessApplication ‘camunda-invoice’ registered for DB deployments [594fd466-cd33-11e8-ae13-c62606bac40f, 58ee054c-cd33-11e8-ae13-c62606bac40f]. Will execute process definitions

    invoice[version: 2, id: invoice:2:595a34aa-cd33-11e8-ae13-c62606bac40f]
    invoice[version: 1, id: invoice:1:59097c90-cd33-11e8-ae13-c62606bac40f]

Will execute case definitions

    ReviewInvoiceCase[version: 2, id: ReviewInvoiceCase:2:5960010c-cd33-11e8-ae13-c62606bac40f]
    ReviewInvoiceCase[version: 1, id: ReviewInvoiceCase:1:592fc942-cd33-11e8-ae13-c62606bac40f]

11-Oct-2018 14:06:29.502 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatProvider[name = application/json]
11-Oct-2018 14:06:29.504 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatProvider[name = application/xml]
11-Oct-2018 14:06:29.505 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormat[name = application/xml]
11-Oct-2018 14:06:29.506 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat[name = application/json]
11-Oct-2018 14:06:29.589 INFORMATION [main] org.camunda.bpm.example.invoice.InvoiceProcessApplication.startProcessInstances No new instances of Invoice Receipt version 1 started, there are 3 instances running
11-Oct-2018 14:06:29.634 INFORMATION [main] org.camunda.bpm.example.invoice.InvoiceProcessApplication.startProcessInstances No new instances of Invoice Receipt version 2 started, there are 4 instances running
11-Oct-2018 14:06:29.634 INFORMATION [main] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08050 Process application camunda-invoice successfully deployed
11-Oct-2018 14:06:29.649 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/camunda-invoice] has finished in [1,864] ms
11-Oct-2018 14:06:29.649 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/examples]
11-Oct-2018 14:06:31.997 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:32.056 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/examples] has finished in [2,407] ms
11-Oct-2018 14:06:32.057 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/ROOT]
11-Oct-2018 14:06:33.909 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:33.910 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/ROOT] has finished in [1,854] ms
11-Oct-2018 14:06:33.911 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/host-manager]
11-Oct-2018 14:06:35.318 INFORMATION [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:06:35.320 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/host-manager] has finished in [1,410] ms
11-Oct-2018 14:06:35.324 INFORMATION [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
11-Oct-2018 14:06:35.332 INFORMATION [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
11-Oct-2018 14:06:35.334 INFORMATION [main] org.apache.catalina.startup.Catalina.start Server startup in 24610 ms
11-Oct-2018 14:06:35.998 INFORMATION [http-nio-8080-exec-2] org.jboss.resteasy.logging.impl.Slf4jLogger.info Deploying javax.ws.rs.core.Application: class org.camunda.bpm.cockpit.impl.web.CockpitApplication
11-Oct-2018 14:06:36.300 INFORMATION [http-nio-8080-exec-4] org.jboss.resteasy.logging.impl.Slf4jLogger.info Deploying javax.ws.rs.core.Application: class org.camunda.bpm.webapp.impl.engine.EngineRestApplication
11-Oct-2018 14:06:36.324 INFORMATION [http-nio-8080-exec-5] org.jboss.resteasy.logging.impl.Slf4jLogger.info Deploying javax.ws.rs.core.Application: class org.camunda.bpm.admin.impl.web.AdminApplication
11-Oct-2018 14:08:35.400 INFORMATION [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/test.war]
11-Oct-2018 14:08:37.619 INFORMATION [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Oct-2018 14:08:37.620 SCHWERWIEGEND [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.startInternal Error during ServletContainerInitializer processing
javax.servlet.ServletException: ENGINE-07013 An application must not contain more than one class annotated with @ProcessApplication.
Application ‘/test’ contains the following @ProcessApplication classes:
com.demo.test.Test
com.demo.test.CamundaBpmProcessApplication

at org.camunda.bpm.application.impl.ProcessApplicationLogger.multiplePasException(ProcessApplicationLogger.java:136)
at org.camunda.bpm.application.impl.ServletProcessApplicationDeployer.onStartup(ServletProcessApplicationDeployer.java:66)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5088)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1847)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:761)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1619)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:304)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1172)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1394)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1398)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1366)
at java.lang.Thread.run(Thread.java:748)

11-Oct-2018 14:08:37.622 SCHWERWIEGEND [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.startInternal Context [/test] startup failed due to previous errors
11-Oct-2018 14:08:37.638 INFORMATION [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/Users/lukas/Downloads/camunda-bpm-tomcat-7.9.0/server/apache-tomcat-9.0.5/webapps/test.war] has finished in [2,238] ms

My project is called test.war.


#6

From the log,
You have 2 classes annotated with @ProcessApplication.

ENGINE-07013 An application must not contain more than one class annotated with @ProcessApplication.
Application ‘/test’ contains the following @ProcessApplication classes:
com.demo.test.Test
com.demo.test.CamundaBpmProcessApplication


#7

Ok that was the problem - now it works. Thanks a lot!