AnsweredAssumed Answered

How does the process engine loader know where to look?

Question asked by rsaunder on Mar 26, 2015
Latest reply on Mar 31, 2015 by jbarrez
I have an activiti project that runs as a war, but cannot find the ProcessEngineLookup implementation when deployed as an ear. I've copied the war's META-INF to every conceivable location within the EAR's root directory without success.  I've also tried qualifying the implementation's class name with the war name, when referencing it within the ear.

So I looked at the source to understand how the lookup works. If I'm looking at a current version, it's done by asking the container for the implementation bean. I've declared the implementation class a @ManagedBean.

What else do I need to do to enable activiti to find the implementation class at runtime? (Wildfly 8.2.0)

The motivation for creating the ear was to put the activiti jars in a separate file from JavaDelegates, which apparently is necessary for the delegates to be found.

Outcomes