-
1. Re: jbpm4 and oracle application server integration
kukeltje Aug 13, 2009 1:29 PM (in response to stup)jndi and names etc has always been tricky, so I'm not sure there is an easy 'fix'. If this is just the thing, you are lucky ;-)
-
2. Re: jbpm4 and oracle application server integration
dubbeld Aug 14, 2009 4:10 AM (in response to stup)Yes, you can until some jbpm4 issues are fixed (see JIRA), extend JtaTransaction and in the contructed set the userTransactionJndiName property to the java:comp one.
Also created a new "CorrectedTransactionBinding" class which is the same as TransactionBinding in jbpm4 but which passes for the JtaTransaction the extended class above to the ObjectDescriptor
then make a copy of the jbpm.wire.bindings.xml as such it is first in classpath (WEB-INF/classes f.e.) and change the regular TransactionBinding to your "CorrectedTransactionBinding".
You would expect you could use jbpm.user.bindings.xml but that currently won't work :-(
Its not the most optimal solution but at least is much better then changing the jbpm4 codebase each time after an upgrade. -
3. Re: jbpm4 and oracle application server integration
stup Aug 14, 2009 4:17 AM (in response to stup)Thanks! :)
That's exactly i've been looking for -
4. Re: jbpm4 and oracle application server integration
kukeltje Aug 14, 2009 11:27 AM (in response to stup);-) I would have (temporarily) changed in in the source ..... LOL. And I should also have mentioned that indeed there are some issues and once those are fixed patching is not needed.
-
5. Re: jbpm4 and oracle application server integration
kukeltje Aug 14, 2009 11:28 AM (in response to stup)And now I forgot to add: providing the real patches will be welcomed :-)