Deploy jar to Tomcat

I wrote a REST API function to retrieve the activity names from a process definition and then built the jar camunda-engine-rest-core-7.12.0.jar. I then deployed the jar on Tomcat at camunda-bpm-tomcat-7.11.0\server\apache-tomcat-9.0.19\webapps\camunda\WEB-INF\lib of the community edition and then restarted the engine. However the function REST path is not recognized. Are the jars affected by the caching or did I do something wrong with build and deployment?


And this is the function I use in

List getProcessActivityNames(@Context UriInfo uriInfo);

Hi @Dimitrios,

I just checked my tomcat directory extracted from the zip and there is no camunda-engine-rest-core.jar.

The classes are packaged as camunda-engine-rest-jaxrs2-7.12.0-alpha4.jar.

To be safe, run mvn clean package on the engine-rest folder as the deployable war files are handled in the assembly subfolder. You can speed up the build with -Dmaven.test.skip=true and miss the 3350 written for the Rest Api.

Hope this helps, Ingo

Yes! It worked perfectly. Thank you very mych!

All best