Downloaded activiti 6.0 war files (app, admin & rest) and deployed into tomcat server. Updated the below properties files (with oracle db information, userid and password) from the exploded war file directories
activiti-admin.properties, db.properties, activiti-app.properties.
After the above changes, "activiti-app" and "activiti-admin" applications were accessible; created some user tasks from "activiti-app" and was able to see the same tasks in "activiti-admin" UI and from the oracle database as well.
Question 1: Not able to access "activiti-rest" UI, it is throwing 404 error. Is there any other additional configurations required to make it work?
Question 2: When tried to upload a bpmn file (which was created from Activiti 5.22), it was throwing a below exception:
May 17, 2018 2:53:20 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [dispatcher] in context with path [/activiti-admin] threw exception [Request processing failed; nested exception is com.activiti.service.activiti.exception.ActivitiServiceException: An error occured while calling Activiti: HTTP/1.1 400 Bad Request] with root cause
com.activiti.service.activiti.exception.ActivitiServiceException: An error occured while calling Activiti: HTTP/1.1 400 Bad Request
Can someone please provide your suggestions about how to overcome this error?
activiti-rest doesn't have a UI. It only contains rest endpoints for example you can list process definitions using the following endpoint
http://localhost:8080/activiti-rest/service/repository/process-definitions
For more about the REST API check Activiti User Guide
For you second question, seems that you tried to upload the process from the admin-app. Were you able to configure the admin-app to point to the activiti REST API (activiti-rest module) ? Should look something like
Hi Bassam,
Can we use same database for activiti-app and activiti-admin. I am not about to use same database. Please help me how you did it.
Another thing is I am not able to configure for cluster. Any advice helpful.
Thanks
Sreeni
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.