当我运行独立的 Hornetq 时出现此错误,我试图从 tomcat 连接到它。我收到此错误:
javax.management.InstanceNotFoundException: org.hornetq:module=Core,type=Queue,address="jms.queue.MyQueue",name="jms.queue.MyQueue"
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)