If we deploy the jBPM services EJB API, for example, in an EAR/lib and then try to use it from an EAR/jar, we will have the following exception:
WARN [org.jbpm.kie.services.impl.KModuleDeploymentService] (default task-1) Unexpected error while deploying unit be.mainsysgroup.loans:sandbox:1.0.1-SNAPSHOT: java.lang.RuntimeException: java.lang.IllegalArgumentException: Unable to look up object from jndi using name java:module/ExecutorServiceEJBImpl
The executor is registered during the deployment of a kjar:
The problem is that the JNDI name used is only visible for the module where the EJB is deployed. A possible solution is a new system property that will allow users to configure the executor service JNDI name.
- clones
-
RHPAM-189 Allow users to configure the Executor JNDI name when using the EJB API
- Closed