[jboss-user] [JBoss Cache] - EJB Transactions across two Jboss AS

Eric Choi do-not-reply at jboss.com
Thu Apr 7 21:12:51 EDT 2011


Eric Choi [http://community.jboss.org/people/echoi11] created the discussion

"EJB Transactions across two Jboss AS"

To view the discussion, visit: http://community.jboss.org/message/598655#598655

--------------------------------------------------------------
I have two Jboss Servers running on 5.1 and I am trying to get transaction rollback to happen.

JBoss A is running a web app which makes an EJB call to JBoss B.  The EJB code on JBoss B writes to an Oracle db.
When I issue a rollback from JBoss A, the transaction becomes INACTIVE (status 6), but the db insert is not rolled back.

When I deploy both the web app and EJB on a single JBoss, it works fine.

Has anyone had success with this?

I searched extensively for this but only found articles on distributed database and jms writes.  There was little to nothing on distributed EJB calls.

Thanks in advance!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/598655#598655]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110407/ce19c4f5/attachment-0001.html 


More information about the jboss-user mailing list