cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying Activiti REST and Explorer as WABs

arandall
Champ in-the-making
Champ in-the-making
I have successfully got the Activiti engine running as an OSGI bundle and am able to deploy processes as per the Activiti in Action book.

Now I would like to deploy Activiti REST and Explorer inside Karaf but have been unsuccessful in my attempts.

Has anyone been able to do this and/or can someone give me any pointers?

Thanks.
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Which version of Activiti are you using? 5.15?
What does unsuccessful mean? Do you get error messages?

Best regards,

arandall
Champ in-the-making
Champ in-the-making
I am using 5.15. I have hit many issues, which is why I wasn't specific initially.

I have created an Activiti feature file and have had lots of missing dependancies.

The final piece of the puzzle was that the JackonConverter was not being loaded. In the end I just created an additional class
<code>
public class KarafActivitiRestServicesApplication extends ActivitiRestServicesApplication {

    @Override
    public synchronized Restlet createInboundRoot() {
        Engine.getInstance().getRegisteredConverters().add(new JacksonConverter());
        return super.createInboundRoot();
    }
}
</code>

On initial tests things are looking good however my main question is does anyone else runs it in this way as I'm curious to learn of a simpler way to get things running?