javax.jms.JMSException: The destination is being used.


Solutions on the web

Solution icon of web
via sourceforge.net by Unknown author, 1 year ago
The destination is being used.

Stack trace

javax.jms.JMSException: The destination is being used.
	at org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestinationManager.java:807)
	at org.jboss.mq.server.jmx.DestinationMBeanSupport.destroyService(DestinationMBeanSupport.java:142)
	at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:284)
	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(ReflectedMBeanDispatcher.java:284)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
	at $Proxy14.destroy(Unknown Source)
	at org.jboss.system.ServiceController.destroy(ServiceController.java:531)
	at org.jboss.system.ServiceController.destroy(ServiceController.java:522)
	at org.jboss.system.ServiceController.destroy(ServiceController.java:522)
	at org.jboss.system.ServiceController.destroy(ServiceController.java:522)
	at org.jboss.system.ServiceController.destroy(ServiceController.java:522)
	at sun.reflect.GeneratedMethodAccessor60.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(ReflectedMBeanDispatcher.java:284)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
	at $Proxy4.destroy(Unknown Source)
	at org.jboss.deployment.SARDeployer.destroy(SARDeployer.java:408)
	at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:522)
	at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:473)
	at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:359)
	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(ReflectedMBeanDispatcher.java:284)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
	at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:849)
	at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:824)
	at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.