-
1. Re: Can't control queues from jconsole
ataylor Jun 26, 2009 4:07 AM (in response to nbhatia)you are getting th error because jConsole doesn't have access to the JBoss Messaging classes. add the jars if you want to do this.
alternatively use the JMX or Admin console -
2. Re: Can't control queues from jconsole
timfox Jun 26, 2009 5:29 AM (in response to nbhatia)However, the user shouldn't have to put the JBM jars on the jconsole classpath, we should only be passing back standard types not SimpleString.
We should look into this. -
3. Re: Can't control queues from jconsole
jmesnil Jun 26, 2009 5:41 AM (in response to nbhatia)this was fixed in 2.0.0.BETA2 release (see https://jira.jboss.org/jira/browse/JBMESSAGING-1605)
-
4. Re: Can't control queues from jconsole
nbhatia Jun 26, 2009 8:30 AM (in response to nbhatia)How do I look up queues in JBoss JMX console? I click jboss.messaging then name=JMSProvider,service=JMSProviderLoader, but I don't see any queues under there. At least with jconsole I was able to get to the queues quite easily.
-
5. Re: Can't control queues from jconsole
jmesnil Jun 26, 2009 9:50 AM (in response to nbhatia)JBoss Messaging is not currently manageable through the AS 5 console but it is planned: https://jira.jboss.org/jira/browse/JBMESSAGING-1636
-
6. Re: Can't control queues from jconsole
jmesnil Jun 26, 2009 10:31 AM (in response to nbhatia)err... sorry, I confused JON and AS 5 JMX console.
there is an issue in the current configuration of JBoss Messaging which prevents to manage it directly in AS 5 console.
To fix it:
1/ change the MBeanServer code in deploy/messaging.sar/jbm-jboss-beans.xml to:<bean name="MBeanServer" class="javax.management.MBeanServer"> <constructor factoryClass="org.jboss.mx.util.MBeanServerLocator" factoryMethod="locateJBoss"/> </bean>
2/ edit conf/props/messaging-users.properties and add the line:JBM.MANAGEMENT.ADMIN.USER=CHANGE ME!!
3/ that's it, JBoss Messaging is manageable using the JMX console: http://localhost:8080/jmx-console/
in the domain tab using "org.jboss.messaging"
We'll fix this configuration issue in our next release.
Sorry for the inconvenience -
7. Re: Can't control queues from jconsole
timfox Jun 26, 2009 12:43 PM (in response to nbhatia)Jeff, please add a JIRA for this too.
-
8. Re: Can't control queues from jconsole
nbhatia Jun 28, 2009 10:46 AM (in response to nbhatia)Thanks Jeff. That worked for me.