Camunda-bpm-tomcat-7.19.0 not working?

Hello everyone! Did someone try to run this? I tested on both jdk8 and jdk17 - same result. I have not make any changes to config files! I justt have downloaded https://downloads.camunda.cloud/release/camunda-bpm/tomcat/7.19/camunda-bpm-tomcat-7.19.0.zip , unpacked and run catalina.bat run. But tomcat fails to start because of errors:

29-Aug-2023 15:41:29.227 SEVERE [main] org.apache.catalina.startup.Catalina.start
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478)
Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing ‘deploy BPM platform’ => ‘Start process engine default’: couldn’t lookup datasource from jdbc/ProcessEngine: Name [jdbc/ProcessEngine] is not bound in this Context. Unable to find [jdbc].
at org.camunda.bpm.container.impl.ContainerIntegrationLogger.exceptionWhilePerformingOperationStep(ContainerIntegrationLogger.java:316)
at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:136)
at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:160)
at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:216)
at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.deployBpmPlatform(TomcatBpmPlatformBootstrap.java:83)
at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.lifecycleEvent(TomcatBpmPlatformBootstrap.java:61)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:909)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
… 5 more
Caused by: org.camunda.bpm.engine.ProcessEngineException: couldn’t lookup datasource from jdbc/ProcessEngine: Name [jdbc/ProcessEngine] is not bound in this Context. Unable to find [jdbc].
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.initDataSource(ProcessEngineConfigurationImpl.java:1630)
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:1132)
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:1103)
at org.camunda.bpm.container.impl.jmx.services.JmxManagedProcessEngineController.start(JmxManagedProcessEngineController.java:38)
at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.startService(MBeanServiceContainer.java:77)
at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.startService(MBeanServiceContainer.java:63)
at org.camunda.bpm.container.impl.deployment.StartProcessEngineStep.performOperationStep(StartProcessEngineStep.java:119)
at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:120)
… 14 more
Caused by: javax.naming.NameNotFoundException: Name [jdbc/ProcessEngine] is not bound in this Context. Unable to find [jdbc].
at org.apache.naming.NamingContext.lookup(NamingContext.java:840)
at org.apache.naming.NamingContext.lookup(NamingContext.java:172)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:161)
at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.initDataSource(ProcessEngineConfigurationImpl.java:1628)
… 21 more

Hi @cammunda-user,

sorry, it works on my machine:

C:\Camunda\camunda-bpm-tomcat-7.19.0\server\apache-tomcat-9.0.72\bin>catalina.bat run
Using CATALINA_BASE:   "C:\Camunda\camunda-bpm-tomcat-7.19.0\server\apache-tomcat-9.0.72"
Using CATALINA_HOME:   "C:\Camunda\camunda-bpm-tomcat-7.19.0\server\apache-tomcat-9.0.72"
Using CATALINA_TMPDIR: "C:\Camunda\camunda-bpm-tomcat-7.19.0\server\apache-tomcat-9.0.72\temp"
Using JRE_HOME:        "C:\Tools\Java\openjdk-17.0.5"
Using CLASSPATH:       "C:\Camunda\camunda-bpm-tomcat-7.19.0\server\apache-tomcat-9.0.72\bin\bootstrap.jar;C:\Camunda\camunda-bpm-tomcat-7.19.0\server\apache-tomcat-9.0.72\bin\tomcat-juli.jar"
Using CATALINA_OPTS:   "-Xmx512m"
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
29-Aug-2023 18:14:55.174 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Server Version:        Apache Tomcat/9.0.72
29-Aug-2023 18:14:55.178 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 18 2023 09:25:13 UTC
29-Aug-2023 18:14:55.179 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.72.0
29-Aug-2023 18:14:55.179 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
29-Aug-2023 18:14:55.179 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
29-Aug-2023 18:14:55.179 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Architektur:           amd64
29-Aug-2023 18:14:55.179 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Tools\Java\openjdk-17.0.5
29-Aug-2023 18:14:55.179 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           17.0.5+8
29-Aug-2023 18:14:55.180 INFORMATION [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Hersteller:        Eclipse Adoptium
...
29-Aug-2023 18:15:52.449 INFORMATION [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Camunda\camunda-bpm-tomcat-7.19.0\server\apache-tomcat-9.0.72\webapps\ROOT] has finished in [4.240] ms
29-Aug-2023 18:15:52.454 INFORMATION [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
29-Aug-2023 18:15:52.481 INFORMATION [main] org.apache.catalina.startup.Catalina.start Server startup in [56945] milliseconds

Hope this helps, Ingo

Hi, thanks for your reply. I finally get it work, but I need to add prefix java: “jdbc/ProcessEngine” to “java:jdbc/ProcessEngine”. Spent 3 hours on it :grin:. Are you sure it works without it?

Hi @cammunda-user,

I have never changed the default configuration. It always started correctly after unzipping.

Maybe it depends on the JDK, as there are many alternatives available today?

But I think it’s not worth to spend more time on it. Good to read that you have a running system now.

Cheers, Ingo