-
Bug
-
Resolution: Done
-
Critical
-
AS 5.0.0.CR1
-
None
A working Beta4 EJB3 application is broken with CR1.
A RuntimeException appears when my @Service bean is loaded.
The root cause is :
Caused by: java.lang.RuntimeException: Call setBeanContext, not setTargetObject
at org.jboss.ejb3.interceptors.container.ContainerMethodInvocation.setTargetObject(ContainerMethodInvocation.java:120)
at org.jboss.ejb3.service.ServiceContainer.populateInvocation(ServiceContainer.java:473)
at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:371)
at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:343)
at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:215)
This seems to be related to JBAS-5477.
I have
@Management
public interface StartupMgmt
and
@Service
public class Startup implements StartupMgmt {
void create() throws Exception;
void start() throws Exception;
void stop() throws Exception;
void destroy();
}
- is blocked by
-
EJBTHREE-1505 ServiceContainer invocation not working
- Resolved