ClassNotFoundException: TomcatBpmPlatformBootstrap Tomcat 7.15

Dear Community,

I wanted to install pre-packaged Camunda with Tomcat. I downloaded pre-packaged tomcat from: Camunda Download Center -

When I download version 7.14 or 7.15 and start the tomcat either by start-camunda.bat or by apache/tomcat/startup.bat it throws the following exception:

18-Apr-2021 16:30:15.575 SEVERE [main] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
java.lang.ClassNotFoundException: org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:104)
	at org.apache.catalina.startup.ListenerCreateRule.begin(ListenerCreateRule.java:70)
	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1293)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:510)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1377)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2708)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:534)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1551)
	at org.apache.catalina.startup.Catalina.parseServerXml(Catalina.java:617)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:709)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:302)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:472)

If I use version 7.12 it works with no problems. Has something changed with the latest versions? I have been following the guide: Install the Pre-Packaged Distribution | docs.camunda.org

Basically, it says,
-download
-unzip
-start

According to the guide no configuration is necessary. What am I missing?

Any hint will be appreciated! Thanks in advance.

Check v7.15, i do not see any see issues. What version of JDK are you using?

I tried v7.14 and v7.15. Both produced the exception. Only v.12 did work.

I am using:
java version “11.0.2” 2019-01-15 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.2+9-LTS)

Hello Philipp,

I am not able to reproduce the error. Could you please give more details:

  • Did you perform any modifications before starting the server?
  • How did you start the server?
  • Could you please attach the complete server log from the start?

Best regards,
Yana

Hello Yana,

sorry for the late response.

I downloaded camunda-bpm-tomcat-7.15.0.zip

Then, I unzipped the archive.

Afterwards I started it with start-camunda.bat

I have got not more stacktrace than what I have posted in the question (camunda-bpm-tomcat-7.15.0\server\apache-tomcat-9.0.43\logs\catalina.2021-04-30.log)

I haven’t changed anything. As I said. I downloaded the archive, unzipped it and started it.

Hi Philipp,

Could you please upload the complete server log file that you referenced - camunda-bpm-tomcat-7.15.0\server\apache-tomcat-9.0.43\logs\catalina.2021-04-30.log

When i tested with JDK 8, it works fine.

@Niall , Would it be possible to add JDK Compatibility when new version is launched. Till what version is supported, what’s being deprecated.

Hi Yana,

curiously, there is not much more stacktrace. The entire log in this file is:

03-May-2021 08:32:30.923 SEVERE [main] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
java.lang.ClassNotFoundException: org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:104)
	at org.apache.catalina.startup.ListenerCreateRule.begin(ListenerCreateRule.java:70)
	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1293)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1551)
	at org.apache.catalina.startup.Catalina.parseServerXml(Catalina.java:617)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:709)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:302)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:472)
03-May-2021 08:33:33.872 SEVERE [main] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
	java.lang.ClassNotFoundException: org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap
		at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
		at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:104)
		at org.apache.catalina.startup.ListenerCreateRule.begin(ListenerCreateRule.java:70)
		at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1293)
		at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
		at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
		at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
		at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
		at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
		at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
		at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
		at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1551)
		at org.apache.catalina.startup.Catalina.parseServerXml(Catalina.java:617)
		at org.apache.catalina.startup.Catalina.load(Catalina.java:709)
		at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:302)
		at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:472)
03-May-2021 08:33:33.878 WARNING [main] org.apache.catalina.startup.Catalina.parseServerXml Unable to load server configuration from [C:\camunda-bpm-tomcat-7.15.0\server\apache-tomcat-9.0.43\conf\server.xml]
	org.xml.sax.SAXParseException; systemId: file:/C:/camunda-bpm-tomcat-7.15.0/server/apache-tomcat-9.0.43/conf/server.xml; lineNumber: 34; columnNumber: 92; Error at line [34] column [92]: [org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap]
		at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:1982)
		at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2014)
		at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1296)
		at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
		at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
		at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
		at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
		at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
		at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
		at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
		at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
		at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1551)
		at org.apache.catalina.startup.Catalina.parseServerXml(Catalina.java:617)
		at org.apache.catalina.startup.Catalina.load(Catalina.java:709)
		at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:302)
		at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:472)
	Caused by: java.lang.ClassNotFoundException: org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap
		at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
		at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:104)
		at org.apache.catalina.startup.ListenerCreateRule.begin(ListenerCreateRule.java:70)
		at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1293)
		... 21 more
03-May-2021 08:33:33.880 SEVERE [main] org.apache.catalina.startup.Catalina.start Cannot start server, server instance is not configured

It says that there is problem in the server.xml at line 92. This is where org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap is registered as listener.

  <Listener className="org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap" />

I tried with jdk 8. However, no success.

Enable Debug log in tomcat, it will bring more info. Please post exact JDK version being used.

The error is quite unusual.
Can you share the list of files in this directory: camunda-bpm-tomcat-7.15.0\server\apache-tomcat-9.0.43\lib
Further to that what is your operation system? Do you have option to try to run the server on other machine? Also have you tried to start the tomcat from here:
camunda-bpm-tomcat-7.15.0\server\apache-tomcat-9.0.43\bin>startup

I have set all logging levels in logging.properties to FINEST. However, there is no more stacktrace than the one I’ve already posted.

The list of files in the directory lib is:

28/01/2021 21:28 13,350 annotations-api.jar
28/01/2021 21:28 54,692 catalina-ant.jar
28/01/2021 21:28 124,506 catalina-ha.jar
28/01/2021 21:28 63,075 catalina-ssi.jar
28/01/2021 21:28 78,813 catalina-storeconfig.jar
28/01/2021 21:28 337,423 catalina-tribes.jar
28/01/2021 21:28 1,712,048 catalina.jar
28/01/2021 21:28 3,122,418 ecj-4.18.jar
28/01/2021 21:28 89,186 el-api.jar
28/01/2021 21:28 170,240 jasper-el.jar
28/01/2021 21:28 570,210 jasper.jar
28/01/2021 21:28 27,301 jaspic-api.jar
28/01/2021 21:28 63,814 jsp-api.jar
28/01/2021 21:28 282,099 servlet-api.jar
28/01/2021 21:28 11,656 tomcat-api.jar
28/01/2021 21:28 923,473 tomcat-coyote.jar
28/01/2021 21:28 323,987 tomcat-dbcp.jar
28/01/2021 21:28 69,287 tomcat-i18n-cs.jar
28/01/2021 21:28 75,203 tomcat-i18n-de.jar
28/01/2021 21:28 105,127 tomcat-i18n-es.jar
28/01/2021 21:28 166,917 tomcat-i18n-fr.jar
28/01/2021 21:28 187,563 tomcat-i18n-ja.jar
28/01/2021 21:28 190,082 tomcat-i18n-ko.jar
28/01/2021 21:28 52,544 tomcat-i18n-pt-BR.jar
28/01/2021 21:28 48,405 tomcat-i18n-ru.jar
28/01/2021 21:28 172,395 tomcat-i18n-zh-CN.jar
28/01/2021 21:28 149,747 tomcat-jdbc.jar
28/01/2021 21:28 36,455 tomcat-jni.jar
28/01/2021 21:28 224,666 tomcat-util-scan.jar
28/01/2021 21:28 198,276 tomcat-util.jar
28/01/2021 21:28 234,459 tomcat-websocket.jar
28/01/2021 21:28 40,039 websocket-api.jar

My operation system is Windows 10. Unfortunately, I do not have the opportunity to use another machine.

Yes, I have also tried to start the server via camunda-bpm-tomcat-7.15.0\server\apache-tomcat-9.0.43\bin>startup