Hi everyone.
I can’t run camunda-bpm-ee-tomcat-7.13.0-ee trial version withTomcat 10.0.16.
In full distribution version of camunda there is Tomcat 9.0.52 and runs fine.
There is error while starting application:
SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [org.camunda.bpm.cockpit.impl.web.bootstrap.CockpitContainerBootstrap]
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
…
i searched for solution and found this:
The jakarta.servlet.Servlet is part of Servlet API version 5.0 which in turn is part of Jakarta EE version 9. Your servlet is actually extending from javax.servlet.Servlet which in turn is part of an older JEE version which is actually not supported by your target runtime (Tomcat 10.x). Stack overflow
So. in Tomcat 10 there is update for ServletApi from v4.0 to v5.0.
What do i do to run Camunda at Tomcat 10?
P.S. i am not java developer and i am using camunda as standalone application
I guess you already received an answer to your question in GitHub, but here are the details for the rest as well.
Camunda 7.20.0 supports Spring Boot 3.1 (and all implications by this, including Spring 6 and embedded Tomcat 10). So if you use Camunda Spring Boot Starter 7.20 or Camunda Run 7.20, Tomcat 10 will be used as server.
We didn’t explicitly listed this on the supported environment and Spring Boot version compatibility pages.
Support for Tomcat 10 is not mentioned under Supported Environments | docs.camunda.org as there are listed only the container-managed scenarios (Spring Boot uses embedded Tomcat server).