Tomcat installation of Camunda 7.12 stand alone & REST API

I am new to Camunda and this type of programming.

The standalone version of Camunda is up and running on my Tomcat server. I went to https://start.camunda.com/ and created a project with only the rest API checked as suggested here Tomcat installation of Camunda & REST API - cannot start REST API - #24 by danny_xneelo. Then I created a .war file on Eclipse as a Maven install with the project. After that I deployed it on my server. Lastly, I attempted to deploy a BPMN file with the Camunda Modeler to the rest API. However, I always get the error could not connect to the server. What would be the path to get to it or what might I be missing? I tried /engine-rest/deployment.

If you already have the tomcat version of the engine setup and working then you don’t need to use start.camunda.com. that’s only for when you’d rather use spring boot than tomcat.

Hi Niall,

Thanks for responding!

I have the standalone tomcat version and can’t seem to access the rest API with the modeler to deploy a BPMN project to it. I thought I needed some separate version of the rest API since in the standalone version the rest API is not exposed for the modeler to connect to? Did I understand something wrong?

If you downloaded the regular tomcat distro it should have the rest api already waiting.
You should be able to test it with this call :slight_smile:
http://localhost:8080/engine-rest/engine
it should respond with:

[{"name":"default"}]

1 Like

Hi Niall,

I have the standalone not the regular tomcat version installed. I downloaded it from here https://docs.camunda.org/manual/7.12/installation/standalone-webapplication/ I deployed the Tomcat version and it works correctly. The rest api doesn’t appear to be included this package. So I downloaded https://repo1.maven.org/maven2/org/camunda/bpm/camunda-engine-rest/7.12.0/camunda-engine-rest-7.12.0-tomcat.war and tried to deploy it but it always fails to start. I have tried to redeploy it several times. What am I doing wrong?

Is there any reason why you’re not just downloading the complete distro from here:

Niall,

I am not using that version because we hope to deploy Camunda on our production Resin server with all of the other things we have running (similar to tomcat). We are trying to have as few servers running at the same time to decrease server maintenance and space. Is there not a way to use the standalone version and an api to deploy BPM models? If you can’t deploy models to the standalone version why was it created? What are some scenarios for the use of the standalone version?

Thanks