AnsweredAssumed Answered

Activiti Rest not work

Question asked by karim on Jul 31, 2013
Latest reply on Apr 1, 2014 by thensgens
Hi!
When I use activiti-rest for reading the various resources (URIs) available through rest,

GET repository/deployments/{deploymentId}   (API)


curl - basic - user kermit: kermit http://localhost:8080/activiti-rest/service/deployments/15740


curl –basic –user kermit:kermit http://localhost:8080/activiti-rest/service/deployments%2F15740

I have the following message is:

(Tomcat)
INFO: 2013-07-31        22:51:27        0:0:0:0:0:0:0:1 kermit  0.0.0.0 8080    GET     /activiti-rest/service/deployments/15740        -       500     482     0       16      http://localhost:8080  curl/7.29.0     -
31-lug-2013 22.51.27 org.restlet.resource.UniformResource doCatch
AVVERTENZA: Exception or error caught in resource
org.activiti.engine.ActivitiException: No router defined
……………………………………………………………………………………….

The web.xml configuration is the default one, the activiti version 5.12, tomcat 7

However, if I use


curl –basic –user kermit:kermit http://localhost:8080/activiti-rest/service/deployments


{"data":[{"id":"15740","name":"user.bpmn20.xml","deploymentTime":"2013-06-05T14:44:29CEST","category":null},
………………………………………………………………………………………………………………….
,"total":109,"start":0,"sort":"id","order":"asc","size":10}

I get a valid response

I can't understand if it's because tomcat not work by default with backslash, but I honestly do not know how to set this property correctly.
. Or maybe it's for another reason.

Thanks for the support offered

Outcomes