title: Connect HermesJMS to Wildfly 8.2
body: <p>we recently changed our Application Server from Glassfish to Wildfly. With Glassfish we used QBrowser to monitor our JMS Queues, sadly that tool does not work with Wildfly.</p>
  
  <p>After a quick search I found the Tool HermesJMS. Although there are lots of guides how to set up a connection to a JMS queue with it I couldn´t find anything directly for the JBoss Wildfly application server. After lots of reading through different guides I think I can now connect to the wildfly server but I just can´t connect to my jms queues.</p>
  
  <p>First I tried to connect via JNDI InitialContext. Here´s my settings for it:</p>
  
  <p>initialContextFactory: org.jboss.naming.remote.client.InitialContextFactory
  providerURL: http-remoting://localhost:
  urlPkgPrefixes: org.jboss.naming.remote.client
  securityPrincipal: admin
  securityCredentials: admin</p>
  
  <p>It does connect but all I see are my deployed web applications and a "jms" folder. But they all contain the same web-applications again plus the jms folder and appear as a red circle with a white X in it.</p>
  
  <p>So next I tried to set up a session manually via "Create new JMS Session" with following preferences:</p>
  
  <p>Session: HornetQ
  Plugin: HornetQ
  Properties:</p>
  
  <p>binding: jms/RemoteConnectionFactory
  initialContextFactory: initialContextFactory: org.jboss.naming.remote.client.InitialContextFactory
  providerURL: http-remoting://localhost:
  urlPkgPrefixes: org.jboss.naming.remote.client</p>
  
  <p>User: guest Password: pass</p>
  
  <p>The guest user is an user I created in Wildfly as an application user</p>
  
  <p>When I then double click on one of the queues it says that there is no such queue.</p>
  
  <pre><code>javax.jms.JMSException: There is no queue with name java:jboss/jms/queue/ngsEmailProvRequestQueue
  at org.hornetq.jms.client.HornetQSession.createQueue(HornetQSession.java:397)
  at hermes.impl.jms.SimpleDestinationManager.createDesintaion(SimpleDestinationManager.java:60)
  at hermes.impl.JNDIDestinationManager.createDesintaion(JNDIDestinationManager.java:105)
  at hermes.impl.jms.SimpleDestinationManager.getDestination(SimpleDestinationManager.java:137)
  at hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:387)
  at hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:323)
  at hermes.browser.tasks.BrowseDestinationTask.invoke(BrowseDestinationTask.java:122)
  at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
  at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
  at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>Does anybody know what I´m missing? Is it even possible to get HermesJms to work with Wildfly? Of if not is there an alternative monitoring tool for JMS queues?</p>
  
  <p>Thank you for your help.</p>