-
1. QueueDepth via JMX using jnp 1099?
hughbragg Feb 6, 2011 9:47 PM (in response to hughbragg)I've tried connecting using the same method I'd use if hornet was running under jboss.
I intended to use new ObjectName("org.hornetq:module=JMS,type=Queue,name="+queueName); instead of the jboss.mq.destination
I get NameNotFoundException: jmx not bound using on ic.lookup("jmx/invoker/RMIAdaptor");
So stand alone hornet doesn't have this invoker, no surprises there I guess.
Does that mean HornetQ provides no standard way to use JMX via the jndi lookup?
-
2. QueueDepth via JMX using jnp 1099?
ataylor Feb 7, 2011 2:16 AM (in response to hughbragg)Theres a management section in the user manual that explains all the management functionality that is exposed.
-
3. Re: QueueDepth via JMX using jnp 1099?
hughbragg Feb 7, 2011 11:48 PM (in response to ataylor)Thanks Andy,
Since there is no JBoss in stand alone mode, I guess there is no way to use JMX via JNDI.
The manual certainly doesn't explain how this would be done. Should I assume it's not possible?
javax.naming.NameNotFoundException: jmx not bound
I can't see that it would be a big problem since all the pieces are there. I guess there just needs to be a way to expose the jmx interface through the jndi lookup when there is no JBoss. I can't find the interface anywhere. If it is, could you point me to some description of how to implement this?
-
4. Re: QueueDepth via JMX using jnp 1099?
ataylor Feb 8, 2011 2:29 AM (in response to hughbragg)not standalone, we have no control over this, in jboss we use the jboss mbean server which is available via jboss jndi, standalone we use the default jdk mbean server. You can still access it tho, just not via jndi.