cancel
Showing results for 
Search instead for 
Did you mean: 

Different Activiti deployments (engine in OSGI | REST+Explorer in Tomcat)

ralfkrone
Champ in-the-making
Champ in-the-making
Hello everyone,

I’ve managed to install the Activti engine in Apache Karaf. But I wasn’t able to integrate the web apps Activiti REST and Activiti Explorer as OSGI applications. So I would prefer to deploy them to a separate Tomcat Server.

No I wonder if it is possible to use the Activti engine in Karaf to execute the Tasks and let the REST and Explorer application in Tomcat do the frontend stuff? My intention is to deploy new services and processes at runtime in OSGI and control the execution by the REST or Explorer application in Tomcat.

Thanks a lot!

Ralf
2 REPLIES 2

trademak
Star Contributor
Star Contributor
You can't use an Activiti Engine deployed in Karaf directly from an Explorer application that's deployed in Tomcat. The Explorer application has a built-in Engine and communicates with the Java api, and the same goes for the REST app.

Best regards,

ralfkrone
Champ in-the-making
Champ in-the-making
Thanks Tijs for your reply. I guess it's also not possible to start a process instance in Karaf and let the user finish only Form Tasks in the separate Explorer application? Maybe the user is able to view and finish the User Task, but as soon as the process goes to the next Service Task, the process probably continues in the wrong Explorer engine?

Has someone in this forum managed to run the REST web application inside an OSGI-container? I tried to convert it, but it's really not easy especially because of the mixed Spring 3 and 4 versions and component-scan. I would really appreciate if someone can share some experience with this.

Ralf