[jBPM Users] - WebLogic 10 : couldn't lookup 'UserTransaction' from jndi
by dtoch
I'm trying to use JBPM 4.2 in WebLogic 10, but I get:
org.jbpm.api.JbpmException: couldn't lookup 'UserTransaction' from jndi: Unable to resolve 'UserTransaction'. Resolved '': Unable to resolve 'UserTransaction'. Resolved ''
at org.jbpm.pvm.internal.tx.jta.JtaTransaction.lookupFromJndi(JtaTransaction.java:137)
at org.jbpm.pvm.internal.tx.jta.JtaTransaction.lookupJeeUserTransaction(JtaTransaction.java:116)
at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:42)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:177)
at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.buildProcessEngine(ProcessEngineImpl.java:170)
In WebLogic the JNDI name is javax.transaction.UserTransaction, not UserTransaction. Apparently org.jbpm.pvm.internal.tx.jta.JtaTransaction contains a protected member userTransactionJndiName in order to pass another JNDI name then the default one which is for JBoss, but I'm not sure what's the correct/elegant way to override it. Should I use the JBPM Environment API for this, or should I customize the JBPM XML configurations?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266939#4266939
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266939
16 years, 4 months
[jBPM Users] - JBoss AS & jBPM
by StevenMayhew
Hi all,
I'm having a few issues sorting out an installation of JBoss to configure it correctly with jBPM. Currently I have a JBoss AS instance running correctly on the machine and it all works perfectly. However its integrating it with jBPM that I'm having issues with. The only tutorial that I could find is dated (http://www.jboss.org/community/wiki/jbpm3gettingstarted) and isn't much help with the latest version (4.2) of jBPM.
I tried reverting to an old version so that I could run through the instructions in the wiki and still had no luck. Basically I'm just after some guidance to configuring my JBoss 5.1.0 install so that I can successfully use jBPM with it.
Any help at all would be appreciated. You can assume that so far all I have done is unzip the JBoss AS instance and tested it, because thats pretty much as far as I have come before hitting brick walls and enduring head-smash-on-desk moments.
Cheers,
Steven
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266938#4266938
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266938
16 years, 4 months