[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-cvs
Subject:    [jira] [Created] (TOMEE-2203) ApplicationException: defined by assemblyDescriptor, embedded don't wo
From:       Andreas_Schörk_(JIRA) <jira () apache ! org>
Date:       2018-07-30 9:49:00
Message-ID: JIRA.13175510.1532944102000.116413.1532944140179 () Atlassian ! JIRA
[Download RAW message or body]

Andreas Sch=C3=B6rk created TOMEE-2203:
-------------------------------------

             Summary: ApplicationException: defined by assemblyDescriptor, =
embedded don't work
                 Key: TOMEE-2203
                 URL: https://issues.apache.org/jira/browse/TOMEE-2203
             Project: TomEE
          Issue Type: Bug
            Reporter: Andreas Sch=C3=B6rk


Hello,

[https://github.com/1and1/ejb-cdi-unit/blob/master/ejb-cdi-unit-tomee/src/t=
est/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,

=C2=A0

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 ig=
nore. If you remove these two methods the error will be shown.

=C2=A0

=C2=A0

=C2=A0

=C2=A0

testDeclaredAppExcInCurrentTra

=C2=A0

testDeclaredAppExcInCurrentTra

testDeclaredAppExcInCurrentTra



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic