Install camunda as a windows service

Hi,

I have set up camunda (camunda BPM platform v7.7.0) on my windows 7 machine. I want to install this as a windows service.

How do I do that?

Hi,
if you are running it in a Tomcat container, I would suggest running the Tomcat container as a windows service. Hence checkout the docs on how to run Tomcat as a windows service. Once you have a Tomcat service, install Camunda as per a greenfield Tomcat container installationā€¦

regards

Rob

2 Likes

Hi Rob,

I have set up tomcat windows service on my machine.

Could you provide me some documentation on how I can install camunda as per a greenfield Tomcat container installation.

Thanks,
Deepti

We do not use green field for installations.

What is the other way of installing camunda?

Here is the installation guide for Tomcat: https://docs.camunda.org/manual/7.8/installation/full/tomcat/

1 Like

Hi Throben,

I was able to install camunda as a windows service.

How ever , when I call the rendered form api :http://localhost:9999/engine-rest/process-definition/key/TafeIdeaWorkFlow/rendered-form

I get a 404 error : The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Please help.

Thanks,
Deepti

Hi Throben,

I was using Apache 8.5 when the camunda version was 7.7.0 which required Apache Tomcat Server version: 8.0.24.

So I have reinstalled Apache 8.0

But I still cant access http://localhost:9999/engine-rest/engine/
It still throws me a 404 error The requested resource is not available.

I have followed the procedure given under
https://docs.camunda.org/manual/7.8/installation/full/tomcat/manual/
under REST API

Do the Tomcat log files contain any errors?

No Errors. I have attached the log files.

catalina.2018-01-22.log (10.2 KB)

You can set the following log levels and try again:

org.jboss.resteasy.core.level = FINE
org.jboss.resteasy.plugins.providers.level = FINE
org.jboss.resteasy.plugins.server.level = FINE
org.jboss.resteasy.specimpl.level = FINE

This should produce output when the engine-rest application is deployed and whenever you make a request.

Hi,

Stefan Schulz answered like below, and it worked for me.

It was easy: For BPM Tomcat 7.4.0, running on Tomcat 8.0.24, i downloaded the suitable 64-bit-Tomcat-Distribution (8.0.30 worked fine for me) and dropped tomcat8.exe and service.bat in the bin-directory of the BPM-Tomcat (camunda-bpm-tomcat-7.4.0\server\apache-tomcat-8.0.24\bin). Running the service.bat like this

service.bat install CamundaService

installed me camunda bpm as a service (appearing as ā€˜Apache Tomcat 8.0 CamundaServiceā€™ in the windows service overview) on Windows 7 and Windows Server 2008 without problems.

https://groups.google.com/forum/#!topic/camunda-bpm-users/Be719UGvq9Q

1 Like

Yes and Stefan`s solution saved me! :smiley: