[JBoss JIRA] Created: (EJBTHREE-766) InstanceNotFoundExceptions while undeploying @Service beans
by Jeff Schnitzer (JIRA)
InstanceNotFoundExceptions while undeploying @Service beans
-----------------------------------------------------------
Key: EJBTHREE-766
URL: http://jira.jboss.com/jira/browse/EJBTHREE-766
Project: EJB 3.0
Issue Type: Bug
Components: EJB3 Extensions
Affects Versions: EJB 3.0 RC9 - FD
Environment: JBoss 4.0.5.GA
Reporter: Jeff Schnitzer
For a trivial @Service pojo packaged in a JAR in an EAR, jboss prints InstanceNotFoundExceptions in the logs while undeploying. These exceptions do not appear in 4.0.4.GA. It looks like JBoss is trying to undeploy the service twice.
The log messages (and exceptions) are noted below. The service is a trivial POJO with start() and stop() methods that do nothing but log. I can attach the test case if you want but it's pretty simple.
-----
2006-10-29 19:29:25,287 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/C:/java/jboss-4.0.5.GA/server/default/deploy/ContainerTest.ear, isShutdown=true
2006-10-29 19:29:25,287 DEBUG [org.jboss.deployment.MainDeployer] Stopping sub deployment: file:/C:/java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp4969ContainerTest.ear-contents/ContainerTest.jar
2006-10-29 19:29:25,287 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorEJB3] stop: file:/C:/java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp4969ContainerTest.ear-contents/ContainerTest.jar
2006-10-29 19:29:25,287 DEBUG [org.jboss.ejb3.EJB3Deployer] init, ContainerTest.jar
2006-10-29 19:29:25,287 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.j2ee:service=EJB3,module=ContainerTest.jar
2006-10-29 19:29:25,287 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: jboss.j2ee:service=EJB3,module=ContainerTest.jar dependent services are: []
2006-10-29 19:29:25,287 DEBUG [org.jboss.ejb3.Ejb3Module] Stopping jboss.j2ee:service=EJB3,module=ContainerTest.jar
2006-10-29 19:29:25,287 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3
2006-10-29 19:29:25,287 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3 dependent services are: []
2006-10-29 19:29:25,287 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Stopping jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3
2006-10-29 19:29:25,297 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] removeTimerService: org.jboss.ejb.txtimer.TimerServiceImpl@172bab9
2006-10-29 19:29:25,297 DEBUG [org.jboss.system.ServiceController] stopping service: x:service=Go
2006-10-29 19:29:25,297 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: x:service=Go dependent services are: []
2006-10-29 19:29:25,297 DEBUG [test.GoBean] stop()
2006-10-29 19:29:25,297 DEBUG [org.jboss.system.ServiceController] destroying service: x:service=Go
2006-10-29 19:29:25,297 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: x:service=Go dependent services are: []
2006-10-29 19:29:25,297 DEBUG [org.jboss.system.ServiceController] removing service: x:service=Go
2006-10-29 19:29:25,297 DEBUG [org.jboss.system.ServiceController] removing x:service=Go from server
2006-10-29 19:29:25,297 WARN [org.jboss.ejb3.ServiceDelegateWrapper] Stopping failed jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3
java.lang.RuntimeException: javax.management.InstanceNotFoundException: x:service=Go is not registered.
at org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:159)
at org.jboss.ejb3.service.ServiceContainer.stop(ServiceContainer.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.ServiceDelegateWrapper.stopService(ServiceDelegateWrapper.java:118)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.stop(Unknown Source)
at org.jboss.system.ServiceController.stop(ServiceController.java:508)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy67.stop(Unknown Source)
at org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:151)
at org.jboss.ejb3.JmxKernelAbstraction.uninstall(JmxKernelAbstraction.java:175)
at org.jboss.ejb3.Ejb3Deployment.stop(Ejb3Deployment.java:501)
at org.jboss.ejb3.Ejb3Module.stopService(Ejb3Module.java:107)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.stop(Unknown Source)
at org.jboss.system.ServiceController.stop(ServiceController.java:508)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy37.stop(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.stop(EJB3Deployer.java:469)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.stop(DeployerInterceptor.java:122)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.stop(SubDeployerInterceptorSupport.java:196)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:99)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy38.stop(Unknown Source)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:667)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:659)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:638)
at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:516)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1050)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1025)
at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:988)
Caused by: javax.management.InstanceNotFoundException: x:service=Go is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
at org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:383)
at org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:155)
... 97 more
2006-10-29 19:29:25,307 DEBUG [org.jboss.system.ServiceController] destroying service: jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3
2006-10-29 19:29:25,307 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3 dependent services are: []
2006-10-29 19:29:25,307 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Destroying jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3
2006-10-29 19:29:25,307 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Destroyed jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3
2006-10-29 19:29:25,307 DEBUG [org.jboss.system.ServiceController] removing service: jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3
2006-10-29 19:29:25,307 DEBUG [org.jboss.system.ServiceController] removing jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3 from server
2006-10-29 19:29:25,307 DEBUG [org.jboss.ejb3.Ejb3Deployment] error trying to shut down ejb container
java.lang.RuntimeException: javax.management.InstanceNotFoundException: jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3 is not registered.
at org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:159)
at org.jboss.ejb3.JmxKernelAbstraction.uninstall(JmxKernelAbstraction.java:175)
at org.jboss.ejb3.Ejb3Deployment.stop(Ejb3Deployment.java:501)
at org.jboss.ejb3.Ejb3Module.stopService(Ejb3Module.java:107)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.stop(Unknown Source)
at org.jboss.system.ServiceController.stop(ServiceController.java:508)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy37.stop(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.stop(EJB3Deployer.java:469)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.stop(DeployerInterceptor.java:122)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.stop(SubDeployerInterceptorSupport.java:196)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:99)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy38.stop(Unknown Source)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:667)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:659)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:638)
at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:516)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1050)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1025)
at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:988)
Caused by: javax.management.InstanceNotFoundException: jboss.j2ee:ear=ContainerTest.ear,jar=ContainerTest.jar,name=Go,service=EJB3 is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
at org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:383)
at org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstraction.java:155)
... 66 more
2006-10-29 19:29:25,317 DEBUG [org.jboss.ejb3.Ejb3Module] Stopped jboss.j2ee:service=EJB3,module=ContainerTest.jar
2006-10-29 19:29:25,317 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.j2ee:service=EARDeployment,url='ContainerTest.ear'
2006-10-29 19:29:25,317 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: jboss.j2ee:service=EARDeployment,url='ContainerTest.ear' dependent services are: []
2006-10-29 19:29:25,317 DEBUG [org.jboss.deployment.EARDeployment] Stopping jboss.j2ee:service=EARDeployment,url='ContainerTest.ear'
2006-10-29 19:29:25,317 DEBUG [org.jboss.deployment.EARDeployment] Stopped jboss.j2ee:service=EARDeployment,url='ContainerTest.ear'
2006-10-29 19:29:25,317 DEBUG [org.jboss.deployment.MainDeployer] Destroying sub deployment: file:/C:/java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp4969ContainerTest.ear-contents/ContainerTest.jar
2006-10-29 19:29:25,317 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorEJB3] destroy: file:/C:/java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp4969ContainerTest.ear-contents/ContainerTest.jar
2006-10-29 19:29:25,317 DEBUG [org.jboss.system.ServiceController] destroying service: jboss.j2ee:service=EJB3,module=ContainerTest.jar
2006-10-29 19:29:25,317 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss.j2ee:service=EJB3,module=ContainerTest.jar dependent services are: []
2006-10-29 19:29:25,317 DEBUG [org.jboss.ejb3.Ejb3Module] Destroying jboss.j2ee:service=EJB3,module=ContainerTest.jar
2006-10-29 19:29:25,317 DEBUG [org.jboss.ejb3.Ejb3Module] Destroyed jboss.j2ee:service=EJB3,module=ContainerTest.jar
2006-10-29 19:29:25,317 DEBUG [org.jboss.system.ServiceController] removing service: jboss.j2ee:service=EJB3,module=ContainerTest.jar
2006-10-29 19:29:25,317 DEBUG [org.jboss.system.ServiceController] removing jboss.j2ee:service=EJB3,module=ContainerTest.jar from server
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 4 months
[JBoss JIRA] Created: (JBPM-839) Can't store JSR170 node.
by David Chan (JIRA)
Can't store JSR170 node.
------------------------
Key: JBPM-839
URL: http://jira.jboss.com/jira/browse/JBPM-839
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2 beta 2
Environment: windows XP english version
JDK 1.5.10
jackrabbit 1.2.1
Reporter: David Chan
Assigned To: Tom Baeyens
when I run the test case org.jbpm.jcr.JcrDbTest , hibernate session can't be committed.
see below key lines:
....deploy process.
....
ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("document approval");
.....
Node documentNode = processInstanceNode.addNode("document");
.....
contextInstance.setVariable("document", documentNode);
....
According to the chapter 12 titled 'Document management' of user guide, it said:
"Next, JCR Node's can be stored in the process variables"
that seems doesn't work!
I also viewed the class file 'JcrNodeInstance' and found it extends class 'VariableInstance',
the node-type variable ought support persistent.
something else wrong?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 4 months
[JBoss JIRA] Created: (JBPM-833) DbPersistenceService.beginTransaction() should check for isTransactionEnabled
by Chris Russell (JIRA)
DbPersistenceService.beginTransaction() should check for isTransactionEnabled
-----------------------------------------------------------------------------
Key: JBPM-833
URL: http://jira.jboss.com/jira/browse/JBPM-833
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2 beta 2
Environment: jbpm-enterprise.ear Jboss AS 4.0.5GA with ejb3 and JMS.
cvs head version.
Reporter: Chris Russell
Assigned To: Tom Baeyens
Fix For: jBPM jPDL 3.2.1
jbm-console web app calls DbPersistenceService.beginTransaction() directly and so it needs to test for isTransactionEnabled.
In trying to deploy jbpm-enterprise.ear to jboss as 4.0.5ga I cant figure out how to properly configure CMT or JTA so I just set in
jbpm.cfg.xml
<field name="isCurrentSessionEnabled"><false /></field>
<field name="isTransactionEnabled"><false /></field>
This allowed me to continue trying to successfully run/deploy the ear and jbpm-console. I then started getting an Exception from the JbpmPhaseListener. In looking at code I realized that beginTransaction was not checking the flag. So either make that method private or it needs to check the flag. I changed it to check the flag and this got me on to the next set of issues. (Still dont know how to configure transactions properly)
code:
public void beginTransaction() {
//RSC Shouldnt this check for isTransactionEnabled??
if (isTransactionEnabled) {
log.debug("beginning hibernate transaction");
transaction = session.beginTransaction();
} else {
log.debug("DbPersistenceService.beginTransaction() called but isTransactionEnabled==false");
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 4 months
[JBoss JIRA] Created: (JBCACHE-950) Expose information about buddy group membership
by Brian Stansberry (JIRA)
Expose information about buddy group membership
-----------------------------------------------
Key: JBCACHE-950
URL: http://jira.jboss.com/jira/browse/JBCACHE-950
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Brian Stansberry
Assigned To: Manik Surtani
Currently there is no way for external code to find out any information about how the cache participates in buddy relationships.
Two issues (probably should be subtasks):
1) BuddyManager exposes getBuddyAddresses() but that only provides info about the group for which the node is data owner, not for any groups the node participates in as a buddy. Also, it returns an internal data structure, making it unsafe to expose to random code.
Because of this, if a "primary buddy" wanted to gravitate some or all data upon exit of the data owner, it would have no way to know if it is primary. Having all buddies gravitate data would be "a bad thing".
1) In 2.0.0 I believe the BuddyManager is not available except through CacheSPI. Perhaps some info about buddy group membership could be exposed via RuntimeConfig.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 4 months
[JBoss JIRA] Created: (JGRP-418) MuxChannel.getState() always returns false with StreamingStateTransfer protocol
by Jerry Gauthier (JIRA)
MuxChannel.getState() always returns false with StreamingStateTransfer protocol
-------------------------------------------------------------------------------
Key: JGRP-418
URL: http://jira.jboss.com/jira/browse/JGRP-418
Project: JGroups
Issue Type: Bug
Affects Versions: 2.4.1
Reporter: Jerry Gauthier
Assigned To: Vladimir Blagojevic
When I execute DRMTestCase.testIsMasterReplica() in JBossAS 5.0 using the StreamingStateTransfer protocol, MuxChannel.getState() always returns false. This method is invoked from ClusterPartition.fetchState(); it returns false even though debugging the other node in a two node cluster shows that the state has been retrieved. If I use the StateTransfer protocol instead, the transfer is successful.
I started debugging this issue and determined that ClusterPartition never successfully retrieves state from the multiplexer channel when using StreamingStateTransfer. It's possible that the problem lies in ClusterPartition but this can't be determined until it's understood why getState() is returning false.
This problem can be replicated as follows.
1) Ensure that you're using the latest JBossAS 5.0.0 HEAD cluster and testsuite\cluster code as I made recent changes in this area.
2) Modify ..\cluster\output\resources\jgroups-multiplexer.sar\META-INF\multiplexer-stacks.xml. Change the "tunnel" stack to use StreamingStateTransfer instead of StateTransfer. This is the stack used by the test in DRMTestCase.testIsMasterReplica().
3) Running the test should show the following result.
<error message="Initial serviceState transfer failed: Channel.getState() returned false" type="java.lang.IllegalStateException">java.lang.IllegalStateException: Initial serviceState transfer failed: Channel.getState() returned false
at org.jboss.ha.framework.server.ClusterPartition.fetchState(ClusterPartition.java:511)
at org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:335)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at org.jboss.test.cluster.test.DRMTestCase.testIsMasterReplica(DRMTestCase.java:686)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
</error>
4) Note: DRMTestCase.testIsMasterReplica() won't execute successfully with the StateTransfer protocol until JGRP-416 is resolved. This issue causes JGroups to issue UnsupportedOperationException for UnmodifiableVector during the merge process in the test case. I've patched the problem in JGroups locally and confirmed that the test does run successfully for StateTransfer after this issue is resolved. It's not necessary to patch JGRP-416 to investigate MuxChannel.getState() as the state problem occurs before the UnmodifiableVector problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 4 months