[
https://jira.jboss.org/jira/browse/EJBTHREE-2076?page=com.atlassian.jira....
]
Andrew Lee Rubinger updated EJBTHREE-2076:
------------------------------------------
Description:
http://jboss.hudson.alrubinger.com/job/EJB3_Integration_TestSuite_AS_TRUN...
junit.framework.AssertionFailedError: EJB 3.0 4.5.2 getInvokedBusinessInterface is illegal
when bean is invoked through 2.1 view
at
org.jboss.ejb3.test.ejbcontext.unit.EjbContextUnitTestCase.testStatelessInvokedBusinessInterface(EjbContextUnitTestCase.java:144)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
With the removal of "isBusinessInterface" checks within the container we need to
know when to throw EJBException when SessionContext.getInvokedBusinessInterface is called
from outside an EJB3.x view. Cache the BIs at deployment time and only do a lookup, not a
full inspection upon metadata, during invocation.
was:
http://jboss.hudson.alrubinger.com/job/EJB3_Integration_TestSuite_AS_TRUN...
Regression in
org.jboss.ejb3.test.ejbcontext.unit/EjbContextUnitTestCase/testStatelessInvokedBusinessInterface/
---------------------------------------------------------------------------------------------------------------
Key: EJBTHREE-2076
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-2076
Project: EJB 3.0
Issue Type: Bug
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
http://jboss.hudson.alrubinger.com/job/EJB3_Integration_TestSuite_AS_TRUN...
junit.framework.AssertionFailedError: EJB 3.0 4.5.2 getInvokedBusinessInterface is
illegal when bean is invoked through 2.1 view
at
org.jboss.ejb3.test.ejbcontext.unit.EjbContextUnitTestCase.testStatelessInvokedBusinessInterface(EjbContextUnitTestCase.java:144)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.extensions.TestSetup.run(TestSetup.java:27)
With the removal of "isBusinessInterface" checks within the container we need
to know when to throw EJBException when SessionContext.getInvokedBusinessInterface is
called from outside an EJB3.x view. Cache the BIs at deployment time and only do a
lookup, not a full inspection upon metadata, during invocation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira