Redeployment of clustered ejb3 hangs
Hello,
2 jonas servers j1 and j2 are started with CMI service. 2 jars (ejb2 and ejb3) are deployed on server j1. Undeployment of ejb3 is OK, but the following redeployment of ejb3 hangs.
*** ejb 2 undeployment + redeployment : OK ***
jonas admin -n j1 -r /home/bezard/bases/j1/deploy/hello.jar
OW2 JOnAS 5.2.1 [ http://jonas.ow2.org / jonas@ow2.org ] Connected on service:jmx:rmi:///jndi/rmi://localhost:1099/jrmpconnector_j1 2011-07-19 11:06:39,259 : EJB21Deployer.doUndeploy : Undeploying hello.jar 2011-07-19 11:06:39,265 : JContainer.remove : hello: HelloWorld no longer available [SUCCESS] Undeployment OK (Check result with listmodules or listapps command).
bezard@bellecour:~/bases/j1/conf> 2011-07-19 11:06:42,328 : EJB21Deployer.doDeploy : Deploying hello.jar 2011-07-19 11:06:42,467 : BeanEventListener.addClusteredObject : The object with name myHelloWorld is clustered. 2011-07-19 11:06:42,626 : JContainer.addBean : HelloWorld available
*** ejb 3 undeployment + redeployment : KO ***
bezard@bellecour:~/bases/j1/conf> jonas admin -n j1 -r /home/bezard/bases/j1/deploy/simpleEjb3-0.0.1-SNAPSHOT.jar
OW2 JOnAS 5.2.1 [ http://jonas.ow2.org / jonas@ow2.org ]
Connected on service:jmx:rmi:///jndi/rmi://localhost:1099/jrmpconnector_j1 2011-07-19 11:09:12,873 : EasyBeansDeployer.doUndeploy : Undeploying 'simpleEjb3-0.0.1-SNAPSHOT.jar'... 2011-07-19 11:09:13,076 : Embedded.removeContainer : Container '/home/bezard/bases/j1/work/ejb3s/j1/simpleEjb3-0.0.1-SNAPSHOT_2011.07.19-10.58.12.jar' removed 2011-07-19 11:09:13,078 : EasyBeansDeployer.doUndeploy : 'simpleEjb3-0.0.1-SNAPSHOT.jar' EJB3 Deployable is now undeployed [SUCCESS] Undeployment OK (Check result with listmodules or listapps command).
2011-07-19 11:09:13,696 : EasyBeansDeployer.doDeploy : Deploying 'simpleEjb3-0.0.1-SNAPSHOT.jar'... bezard@bellecour:~/bases/j1/conf> 2011-07-19 11:09:13,748 : Enhancer.enhance : Beans found are [SayHelloEjb3] 2011-07-19 11:09:13,800 : CmiEventListener.handle : The bean with the jndi name com.amundi.simpleEjb3.ejb.SayHelloEjb3_com.amundi.simpleEjb3.api.ISayHelloEjb3@Remote and the interface name com.amundi.simpleEjb3.api.ISayHelloEjb3 is clustered. 2011-07-19 11:09:13,803 : CmiEventListener.handle : The bean with the jndi name com.amundi.simpleEjb3.ejb.SayHelloEjb3_com.amundi.simpleEjb3.api.ISayHelloEjb3@Remote and the interface name com.amundi.simpleEjb3.api.ISayHelloEjb3 is clustered. 2011-07-19 11:09:13,805 : CmiEventListener.handle : The bean with the jndi name com.amundi.simpleEjb3.ejb.SayHelloEjb3_com.amundi.simpleEjb3.api.ISayHelloEjb3@Remote and the interface name com.amundi.simpleEjb3.api.ISayHelloEjb3 is clustered. 2011-07-19 11:09:13,806 : CmiEventListener.handle : The bean with the jndi name com.amundi.simpleEjb3.ejb.SayHelloEjb3_com.amundi.simpleEjb3.api.ISayHelloEjb3@Remote and the interface name com.amundi.simpleEjb3.api.ISayHelloEjb3 is clustered.
control-C allows to return to prompt, but server can't be stop ("jonas stop" command hangs...)
This problem doesn't occur:
- with ejb2
- with ejb2 and ejb3 when j2 is not started. (only j1 is running)
Best regards Pascale