Hi ,
@yana.vasileva @system
I created a Spring-boot enabled camunda-application , which is running exceptionally well .
PS : I used camunda-docs for creating the application : Get started with Camunda and the Spring Boot | docs.camunda.org
But , when I try to access the rest-engine , it shows a 404 error .
My engine URL : http://localhost:8080/loan/service/rest/engine/
My question :
Does camunda-engine require any further modifications / setup ?
Yana
April 24, 2018, 8:46am
2
Hi @Arsh_Baghel ,
Could you please share your pom.xml
Best regards,Yana
Sure ,
https://pastebin.com/iX7fjwAx
This link contains the pom.xml
Yana
April 24, 2018, 1:43pm
4
Hi @Arsh_Baghel ,
You need to either include camunda-bpm-spring-boot-starter-rest
dependency to your pom or you can use the webapps rest (just check one of the calls in Cockpit).
Best regards,
Yana
1 Like
I have included " camunda-bpm-spring-boot-starter-rest" in my pom … @line40
dependency>
org.camunda.bpm.springboot
camunda-bpm-spring-boot-starter-rest
${springboot.camunda.version}
</dependency
Yana
April 24, 2018, 1:57pm
6
I am sorry, I didn’t see it.
I tried and it is working for me with http://localhost:8080/rest/engine
Could you double check your URL. What is your URL of the Camunda welcome page? (I assume that the webapps are working on your side)
Hi ,
This is the URL for the welcome page :
localhost:8080/loan/app/welcome/default/#/welcome
I am getting 500 error when i hit , http://localhost:8080/loan/rest/engine
Yana
April 24, 2018, 2:08pm
8
Could you please upload the server log file also
https://pastebin.com/SRF2FzRC
This link contains the error page that i get…
Yana
April 24, 2018, 2:20pm
10
Thanks for the trace.
How do you deploy the application?
I found this bug report and it seems that it is related
https://app.camunda.com/jira/browse/CAM-8414
Now ,I am using the work-around given at :
https://app.camunda.com/jira/browse/CAM-8414
It is working fine …
But i think that issue is still open …
I am using →
import javax.ws.rs.ApplicationPath;
import org.camunda.bpm.spring.boot.starter.rest.CamundaJerseyResourceConfig;
import org.springframework.stereotype.Component;
@Component
@ApplicationPath ("/resources")
public class RESTConfig extends CamundaJerseyResourceConfig{
}
Then , when i hit it :
Yana
April 24, 2018, 2:21pm
12
Yep, the issue is still not resolved.
Hi @yana.vasileva ,
I create " maven build - package "
and deploy WAR file to the server .