Yet another LOW point in my career as software designer.
I found what was the problem and it has nothing to do with transactions
I was doing remoteHome.remove(remoteInterface) which is failing becuase it
expects a PrimaryKey (that's explain the Cast error).
I don't know which transaction model should I follow
- use JmsXA and enlist the JMS in the transaction [ I noticed sometimes
the following message
18:56:47,578 WARN [TxConnectionManager] Prepare called on a local tx. Use of
local
| transactions on a jta transaction with more than one branch may result in
inconsistent
| data in some cases of failure.
- use afterCompletion(true) to send my JMS
Thanks for your help
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899048#3899048
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899048
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user