Install Camunda in Tomcat 8.5 with Postgres – And Camunda use Postges and H2

Hello,
I was trying to install Camunda 7.7 in a vanilla Tomcat 8.5 running in a docker container, following the manual https://docs.camunda.org/manual/7.7/installation/full/tomcat/manual/ .
I have added the bootstrap server listener to the server.xml, configured the JDBC resource with Postgres added the libs from the prepackaged Tomcat distribution and added the Postgres JDBC driver.

Camunda starts with the docker container and - as the Postgres database contains no data – creates the tables but later the h2 database is used.

I can’t find an error in my configurations and as the tables in Postgres are created by Camunda it, Camunda should use Postgres and not a in memory H2 Database.

Can someone help me? Should I append the *.xml files, the dockerfile or the error log?

Best Regards
Jonas

Hi @the-bug,

Please attach

  • server.xml
  • bpm-platform.xml
  • server startup log after you have wiped the PostgreSQL database clean.

Did you deploy any process application?

Cheers,
Christian

Hi @hawky4s,
thank you for the replay!
Here are the requestet Files:

bpm-platform.xml (901 Bytes)

server.xml (8.6 KB)

catalina.2017-07-11.log (17.2 KB)

I deployed Cockpit, Tasklist and Admin and the REST API too.

Best Regards
Jonas

P.S. sorry for the multiple reply. As a new User, I am not allowed to post more than one file in a post…

This line

11-Jul-2017 14:23:39.888 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/usr/local/tomcat/webapps/camunda.war]

Could it be that this is the Camunda WebApp standalone edition?
What happens when you remove that WAR file and wipe db clean? Are then only Postgresql tables being created?

Cheers,
Christian

1 Like

Thats it!
I added the wrong camunda.war.
After adding the right “Cockpit, Tasklist and Admin”- Camunda.war it is working.

Thank you @hawky4s !

Best Regards
Jonas