File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Meteor in Action
this week in the
EJB and other Java EE Technologies
Joined: Oct 08, 2008
Dec 29, 2009 10:07:11
I have an MDB in place for which the transaction attribute in deployment descriptor is set to "Not Supported" and the transaction is CMT and I have used ejbContext.setRollbackOnly() method in that mdb
I am getting below exception
Exception: ; nested exception is:
After some debugging i found that for CMT bean when transaction attribute is set to "Not Supported" and if you use ejbContext.setRollbackOnly() then in this scenario we get
But In my case i didnt got IllegalstateException exception whereas I got EJB Exception: ; nested exception is:
Let me know whether this Out-Of-memory exception can occur if we use ejbContext.setRollbackOnly()
Thanks in Advance
I agree. Here's the link:
subject: EJB Exception
Topic: Big doubt! Spec Page 361 -- IllegalStateException for Supports attribute.
Doubts in Enthuware mock Questions
Question about Transactions in EJB / MDB scenario
EJB 3.0 Transaction Question
Big doubt! Spec Page 361 -- IllegalStateException for Supports attribute.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015