Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2203

ApplicationException: defined by assemblyDescriptor, embedded don't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • None
    • None

    Description

      Hello,

      https://github.com/1and1/ejb-cdi-unit/blob/master/ejb-cdi-unit-tomee/src/test/java/ejbcdiunit/EmbeddedTomeeAppExcTransactionTest.java

      shows a test I would like to use, to show that ejbcdiunit a framework used to simulate a ejb-environment inside junit, behaves as embedded tomee does behave.

      There is another module which does the same in the case of jboss,

       

      The two methods

      testDeclaredAppExcInCurrentTra and

      testDeclaredAppRtExcInCurrentTra should allow to check on the behaviour in case of ApplicationExceptions defined by assemblyDescriptor. This seems not to work, so the method of the superclass has been overridden and set to ignore. If you remove these two methods the error will be shown.

       

      Greetings,

      Andreas

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschoerk Andreas Schörk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: