[JBoss JIRA] Created: (JBAS-5110) Undeploy of EJB3 MDB does not remove destination queue
by Thomas Diesler (JIRA)
Undeploy of EJB3 MDB does not remove destination queue
------------------------------------------------------
Key: JBAS-5110
URL: http://jira.jboss.com/jira/browse/JBAS-5110
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Reporter: Thomas Diesler
Assigned To: Carlo de Wolf
Fix For: JBossAS-4.2.3.GA
[junit] Caused by: org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq.destination:service=Queue,name=RequestQueue
[junit] at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
[junit] at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
[junit] at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
[junit] at org.jboss.system.ServiceController.install(ServiceController.java:226)
--
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
16 years, 11 months
[JBoss JIRA] Created: (JBAS-5050) web-console doesn't start
by Dimitris Andreadis (JIRA)
web-console doesn't start
-------------------------
Key: JBAS-5050
URL: http://jira.jboss.com/jira/browse/JBAS-5050
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web Console
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Dimitris Andreadis
Assigned To: Darran Lofthouse
Fix For: JBossAS-5.0.0.CR1
The applet doesn't start:
http://localhost:8080/web-console/Invoker
java.lang.NoClassDefFoundError: org/jboss/logging/Logger
at org.jboss.console.remote.Util.<clinit>(Util.java:33)
at org.jboss.console.remote.AppletRemoteMBeanInvoker.invoke(AppletRemoteMBeanInvoker.java:64)
at org.jboss.console.navtree.ConsoleTreeModel.loadTree(ConsoleTreeModel.java:118)
at org.jboss.console.navtree.ConsoleTreeModel.<init>(ConsoleTreeModel.java:73)
at org.jboss.console.navtree.AdminTreeBrowser.<init>(AdminTreeBrowser.java:77)
at org.jboss.console.navtree.AppletBrowser.start(AppletBrowser.java:65)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--
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
16 years, 11 months
[JBoss JIRA] Updated: (JBAS-1151) deadlock during cluster failover
by Brian Stansberry (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1151?page=all ]
Brian Stansberry updated JBAS-1151:
-----------------------------------
Fix Version/s: JBossAS-5.0.0.CR1
(was: JBossAS-5.0.0.Beta4)
> deadlock during cluster failover
> --------------------------------
>
> Key: JBAS-1151
> URL: http://jira.jboss.com/jira/browse/JBAS-1151
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assigned To: Brian Stansberry
> Fix For: JBossAS-5.0.0.CR1
>
>
> SourceForge Submitter: eiman .
> We are running JBoss 3.2.5 on jdk 1.4.2 running on
> redhat linux.
> In our environment we are running a two node cluster
> (node A and node B). We restarted node A and then
> within a minute restarted node B. Upon doing that we
> found a deadlock in node B:
>
> Java stack information for the threads listed above:
> ===================================================
> "MessageDispatcher up processing thread":
> at
> org.jboss.system.ServiceController.create(ServiceController.java:229)
> - waiting to lock <0x56505440> (a
> org.jboss.system.ServiceController)
> 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:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy33.create(Unknown Source)
> at
> org.jboss.web.AbstractWebContainer.create(AbstractWebContainer.java:291)
> at
> org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
> at
> org.jboss.deployment.MainDeployer.create(MainDeployer.java:782)
> at
> org.jboss.deployment.MainDeployer.create(MainDeployer.java:782)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
> 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:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.ha.singleton.HASingletonController.invokeSingletonMBeanMethod(HASingletonController.java:114)
> at
> org.jboss.ha.singleton.HASingletonController.startSingleton(HASingletonController.java:63)
> at
> org.jboss.ha.singleton.HASingletonSupport.makeThisNodeMaster(HASingletonSupport.java:137)
> at
> org.jboss.ha.singleton.HASingletonSupport.partitionTopologyChanged(HASingletonSupport.java:118)
> at
> org.jboss.ha.jmx.HAServiceMBeanSupport$1.replicantsChanged(HAServiceMBeanSupport.java:197)
> at
> org.jboss.ha.framework.server.DistributedReplicantManagerImpl.notifyKeyListeners(DistributedReplicantManagerImpl.java:701)
> - locked <0x56609350> (a java.util.HashMap)
> at
> org.jboss.ha.framework.server.DistributedReplicantManagerImpl._remove(DistributedReplicantManagerImpl.java:512)
> 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:324)
> at
> org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
> at
> org.jboss.ha.framework.server.HAPartitionImpl.handle(HAPartitionImpl.java:826)
> at
> org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615)
> at
> org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512)
> at
> org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326)
> at
> org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722)
> at
> org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554)
> at
> org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
> at java.lang.Thread.run(Thread.java:534)
> "main":
> at
> org.jboss.ha.framework.server.DistributedReplicantManagerImpl.registerListener(DistributedReplicantManagerImpl.java:398)
> - waiting to lock <0x56609350> (a java.util.HashMap)
> at
> org.jboss.ha.framework.server.HATarget.updateHAPartition(HATarget.java:130)
> at
> org.jboss.ha.framework.server.HATarget.<init>(HATarget.java:58)
> at
> org.jboss.proxy.ejb.ProxyFactoryHA.setupInvokers(ProxyFactoryHA.java:102)
> at
> org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:186)
> at
> org.jboss.proxy.ejb.ProxyFactoryHA.start(ProxyFactoryHA.java:85)
> at
> org.jboss.ejb.StatelessSessionContainer.startService(StatelessSessionContainer.java:205)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
> at $Proxy17.start(Unknown Source)
> at
> org.jboss.system.ServiceController.start(ServiceController.java:367)
> - locked <0x56505440> (a
> org.jboss.system.ServiceController)
> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy48.start(Unknown Source)
> at
> org.jboss.ejb.EjbModule.startService(EjbModule.java:367)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
> at $Proxy17.start(Unknown Source)
> at
> org.jboss.system.ServiceController.start(ServiceController.java:367)
> - locked <0x56505440> (a
> org.jboss.system.ServiceController)
> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy14.start(Unknown Source)
> at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)
> - locked <0x56679000> (a org.jboss.ejb.EJBDeployer)
> at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
> at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:828)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
> at
> sun.reflect.GeneratedMethodAccessor36.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy7.deploy(Unknown Source)
> at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
> at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
> - locked <0x56505080> (a
> org.jboss.deployment.scanner.URLDeploymentScanner)
> at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
> at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
> - locked <0x565044c0> (a
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
> at $Proxy0.start(Unknown Source)
> at
> org.jboss.system.ServiceController.start(ServiceController.java:367)
> - locked <0x56505440> (a
> org.jboss.system.ServiceController)
> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy4.start(Unknown Source)
> at
> org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
> at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
> 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:324)
> at
> org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
> at
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
> at
> org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
> at $Proxy5.deploy(Unknown Source)
> at
> org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
> at
> org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
> at org.jboss.Main.boot(Main.java:145)
> at org.jboss.Main$1.run(Main.java:399)
> at java.lang.Thread.run(Thread.java:534)
> Found 1 deadlock.
--
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
16 years, 11 months
[JBoss JIRA] Updated: (JBAS-2647) Remove potential deadlock condition from HASingletonSupport
by Brian Stansberry (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2647?page=all ]
Brian Stansberry updated JBAS-2647:
-----------------------------------
Fix Version/s: JBossAS-5.0.0.CR1
(was: JBossAS-5.0.0.Beta4)
I'll do this for CR1. It's fairly low priority as it's a quite unlikely scenario; I'm more concerned about breaking something by changing the logic.
> Remove potential deadlock condition from HASingletonSupport
> -----------------------------------------------------------
>
> Key: JBAS-2647
> URL: http://jira.jboss.com/jira/browse/JBAS-2647
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Clustering
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: JBossAS-5.0.0.CR1
>
>
> The startService() implementation HASingletonSupport inherits from HAServiceMBeanSupport has a slight potential for deadlock is a cluster topology change occurs while the singleton service itself is being deployed. The only known use case where this would occur is with the HASingletonDeployer service.
> Details:
> In Thread A
> 1) HASingletonDeployerServices is being deployed, and therefore has synchronized on org.jboss.system.ServiceController.
> 2) Calls DRM.registerListener()
> 3) Call DRM.add() (this is the next line of code)
> 4) As part of add processing, DRM callsback to the HASingleton.
> 5) Inside a synchronized block in the callback method, singleton determines if it is the master node, goes on to do its work.
> Problem occurs if a cluster topology change occurs between steps 2 and 3. In that case, the following would happen in another thread, Thread B.
> 1) Topology changes, so DRM notifies listeners.
> 2) Our HASingleton is registered as a listener, so step 5 above occurs.
> 3) Since its the master, goes and tries to deploy things in deploy-hasingleton.
> 4) Deployment can't proceed because Thread A has synchronized on org.jboss.system.ServiceController.
> 5) Thread A can't proceed because Thread B is stuck inside the synchronized block in the callback method. Deadlock.
> This is an unlikely scenario, but I'm marking this issue as major since if it does occur it deadlocks the node.
> A likely fix will involve overriding the startService() implemetation so it doesn't rely on the callback to determine whether or not its the master node. Instead it directly does what the callback code does, and then registers as a listener. Have to be careful not to drop any topology changes in the middle.
--
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
16 years, 11 months