05-17-2018 03:08 PM
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?
05-18-2018 06:38 AM
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
09-24-2018 11:28 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.