JBoss Community

Re: InvocationTargetException when starting process

created by jnorris in jBPM - View the full discussion

Hi Maciej,

 

I was under the impression from other posts that the transaction manager lookup property wasn't needed for AS7.  I've looked at so many posts and blogs trying to resolve this issue I'm not sure what I'm doing now.  Maybe that was in relation to JPA2.  I'll add the lookup back in and try again.  Can you point me to the correct class name to use?

 

In the code we are looking up the transaction manager like this when starting a process since we haven't been able to get spring to wire one in:




TransactionManager jbossTXM = (TransactionManager) new InitialContext().lookup("java:jboss/TransactionManager");

 

Thanks,

Jim

Reply to this message by going to Community

Start a new discussion in jBPM at Community