It is because the destinations services are being destroyed twice.
I added a guard to the ServiceMBeanSupport class in 3.0 to
prevent this but the question is should this be happening.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Jason Dillon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 26, 2002 4:34 PM
Subject: [JBoss-dev] JMS Destination exceptions on shutdown


> I am also seeing lots of these when shutting down the server:
>
> <snip>
> javax.jms.JMSException: This destination is not open!
>         at
>
org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestinationMan
ager.java:795)
>         at
>
org.jboss.mq.server.jmx.DestinationMBeanSupport.destroyService(DestinationMB
eanSupport.java:114)
>         at
> org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:264)
>         at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
>
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
>         at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>         at
>
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
a:891)
>         at $Proxy6.destroy(Unknown Source)
>         at
org.jboss.system.ServiceController.destroy(ServiceController.java:461)
>         at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
>
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
>         at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
>         at $Proxy3.destroy(Unknown Source)
>         at org.jboss.deployment.SARDeployer.destroy(SARDeployer.java:597)
>         at
org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:408)
>         at
org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:354)
>         at
org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:300)
>         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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
>         at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>         at
>
org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerIm
pl.java:678)
>         at
org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:661)
> </snip>
>
> Why?
>
> --jason
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to