2 Replies Latest reply on Jun 17, 2013 4:02 AM by peter craddock

    error in ejbStore

    peter craddock Novice

      I have a set of tests that check the CRUD operation of my application and I have found a problem when ejbStore is called where the real Exception is not being wrapped and sent back to the client.


      When the test do an instert (ejbCreate) with a Duplicate Name the exception is thrown on the server and is sent back to the client as a RemoteException that contains a TransactionRolledBackException that then contains my exception as expected. In the update test (ejbStore) is called and the DupliacteNameException is thrown but all the client gets is a TransactionRolledBackException with no cause or detail.


      This is a EJB2.1 app that uses BMP