-
Bug
-
Resolution: Done
-
Major
-
EAP 5.0.0
-
Workaround Exists
-
-
-
Documented as Resolved Issue
The unified classloader is used loading an interface from another jar archive in the /deploy when that interface is called from within a scoped EAR rather than the interface included in the EAR itself.
Our tests show when an interface is in a jar in the deploy directory and also in the scoped my.ear Once passivate gets called from a class within the EAR, that calls that interface, then it throws a ClassCastException on ClassLocal myEJB = ClassLocal.class.cast(obj);
However it is actually a ClassNotFound, looking in the debugger. We see that instead of using the context of the ejb which would be the EAR classloader, the unified classloader is used instead and hence the resulting exception
- incorporates
-
JBAS-8126 CNFE Exceptions due to the wrong classloader being used
- Closed