-
Bug
-
Resolution: Done
-
Major
-
EJB 3.0 RC1
-
None
1. Deploy a stateful bean to a running JBoss instance
2. Modify the code of your bean
3. Redeploy
(maybe repeat 2 and 3 a couple of times)
and you will get an exception. Workaround: restart JBoss. This is terrible for development where you want quick turnaround time.
[exec] 2005-09-07 18:16:38,750 [ScannerThread] WARN org.jboss.system.ServiceController - Problem starting service jboss.j2ee:service=EJB3,name=ch.logobject.test.session.ServerWorker
[exec] java.lang.ClassCastException: org.jboss.ejb3.stateful.StatefulContainer
[exec] at org.jboss.naming.Util.createSubcontext(Util.java:52)
[exec] at org.jboss.naming.Util.createSubcontext(Util.java:35)
[exec] at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:45)
[exec] at org.jboss.ejb3.stateful.StatefulContainer.start(StatefulContainer.java:69)
[exec] at org.jboss.ejb3.stateful.StatefulManager.startService(StatefulManager.java:85)
[exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287)
[exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:236)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
[exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
[exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
[exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
[exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
[exec] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
[exec] at $Proxy0.start(Unknown Source)
[exec] at org.jboss.system.ServiceController.start(ServiceController.java:453)
[exec] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
[exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
[exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
[exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
[exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
[exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
[exec] at $Proxy87.start(Unknown Source)
[exec] at org.jboss.ejb3.Ejb3JmxDeployment.start(Ejb3JmxDeployment.java:175)
[exec] at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:39)
[exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287)
[exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:236)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
[exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
[exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
[exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
[exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
[exec] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
[exec] at $Proxy0.start(Unknown Source)
[exec] at org.jboss.system.ServiceController.start(ServiceController.java:453)
[exec] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
[exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
[exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
[exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
[exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
[exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
[exec] at $Proxy10.start(Unknown Source)
[exec] at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:198)
[exec] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
[exec] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:963)
[exec] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
[exec] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
[exec] at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[exec] at java.lang.reflect.Method.invoke(Method.java:585)
[exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
[exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
[exec] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
[exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
[exec] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
[exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
[exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
[exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
[exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
[exec] at $Proxy6.deploy(Unknown Source)
[exec] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
[exec] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489)
[exec] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
[exec] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
[exec] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
- blocks
-
JBAS-2603 EJB3 update
- Closed