3 Replies Latest reply on Dec 2, 2009 4:13 PM by timfox

    Any experiences in running HornetQ in JBoss 4.3?

    mpr_prabhu

      Hi,
      We are attempting to run HornetQ as default JMS provider in JBoss 4.3 and remove JBoss Messaging. So far we have not been successful and have not found much documentation.

      Most of configuration we have done is from this link
      http://www.jboss.org/community/wiki/UsingHornetQwithJBoss4x

      Some of our questions are
      -- Do not see any Connection Factory in the JNDI View after the server is successfully started (Not tried any JMS client yet)
      -- We have not been able to setup any JMS destinations though we specified them in jms-ra.rar/hornetq-jms.xml (or we are not able to verify if they are setup and we do not see them in the JNDI view either)
      -- How to configure MBeans to get similar functionality as in JBossMessaging (ServerPeer - MessageCounters, MBeans for Queues etc). We tried setting MBeans for 4.3 using the classes from package org.hornetq.jms.server.management.impl and specifying MBeans in jboss-service.xml in jms-ra.rar. However we are not able to see these MBeans in JBoss JMX console

      Please share if you have experiences and any other tweaks you have done.

        • 1. Re: Any experiences in running HornetQ in JBoss 4.3?
          timfox

          The documentation is in TRUNK, where there is an automatic script for installing HQ into AS 4.x.

          I'd wait a few days for the next release then you can try it out.

          • 2. Re: Any experiences in running HornetQ in JBoss 4.3?
            timfox

            (BTW it looks like you haven't told HornetQ to use JBoss AS's JNDI server for putting objects in)

            • 3. Re: Any experiences in running HornetQ in JBoss 4.3?
              timfox

              Also bear in mind that wiki is for configuring JBoss AS to talk to a *remote* HornetQ instance, it is *not* for embedding HornetQ in JBoss AS as you seem to want to do.

              This is actually mentioned in the wiki:


              If you want to "embed" a HornetQ instance in JBoss AS 4.x, i.e. so the HornetQ instance automatically starts up on application server start-up (like we do with JBoss AS 5.x), then you'll need to write an MBean which starts a HornetQ server. Take a look at the "embedding HornetQ" chapter of the user manual for information on how to start a HornetQ server programmatically.