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?
Theres a management section in the user manual that explains all the management functionality that is exposed.
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?
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.