How to catch com.ibm.ejs.cm.exception.WorkRolledbackException

Discussions

General J2EE: How to catch com.ibm.ejs.cm.exception.WorkRolledbackException

  1. Hi
    When i run EJB, at end of business processing i get the message:


    "com.ibm.ejs.cm.exception.WorkRolledbackException: Outstanding work on this connection which was not comitted or rolledback by the user has been rolledback."

    I know the exact cause of the Exception, but could anyone tell me how to catch com.ibm.ejs.cm.exception.WorkRolledbackException. (I could not get com.ibm.ejs.cm.exception.WorkRolledbackException class , thats the main problem)

    It is extremely important for me as i want to display customize message (Client doesn't like the original above message!!!!).
    Currently iam catching 'Exception' and couldnot found com.ibm.ejs.cm.exception.WorkRolledbackException.

    Any Solutions.....

    Rgds

    Somal

    Note: Iam using a simple bean (an utility class) to close the connection
  2. getting same error.Pls reply ASAP[ Go to top ]

    Hi,
     I am also getting the same error.Please let me know the solution.This is very urgent.
    -----------------------------
    Outstanding work on this connection which was not comitted or rolledback by the user has been rolledback.
    ---------------------------.

    Thanks,
    GT