Dear all,
I'm trying to integrate the jpm-enterprise.jar into my own project. I have added it as EJB module in my application.ear and all the beans deploy like it should.
I have a ejb3 session bean that starts up the process.
it fails in EjbSchedulerService.java
try { Context initial = new InitialContext(); LocalTimerServiceHome localTimerServiceHome = (LocalTimerServiceHome) initial.lookup("java:comp/env/ejb/LocalTimerServiceBean"); localTimerService = localTimerServiceHome.create(); } catch (Exception e) { JbpmException jbpmException = new JbpmException("ejb local timer lookup problem", e); log.error(e); throw jbpmException; }
<session> <ejb-name>InklessProcessInitiatorBean</ejb-name> <ejb-ref> <ejb-ref-name>service/LotService</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> </ejb-ref> <ejb-local-ref> <ejb-ref-name>ejb/LocalTimerServiceBean</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local-home> org.jbpm.scheduler.ejbtimer.LocalTimerServiceHome </local-home> <local> org.jbpm.scheduler.ejbtimer.LocalTimerService </local> <ejb-link>TimerServiceBean</ejb-link> </ejb-local-ref> </session>
<session> <ejb-name>InklessProcessInitiatorBean</ejb-name> <ejb-ref> <ejb-ref-name>service/LotService</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <jndi-name>xxmlx_shopfloor_intf/LotService/remote</jndi-name> </ejb-ref> <ejb-local-ref> <ejb-ref-name>ejb/LocalTimerServiceBean</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local-home> org.jbpm.scheduler.ejbtimer.LocalTimerServiceHome </local-home> <local> org.jbpm.scheduler.ejbtimer.LocalTimerService </local> <ejb-link>TimerServiceBean</ejb-link> <local-jndi-name>LocalTimerService</local-jndi-name> </ejb-local-ref> </session>