3 Replies Latest reply on Sep 14, 2011 2:33 PM by Clebert Suconic

    HornetQ installation into JBoss AS 5.1

    Rich Stephens Newbie

      So, the documentation states that to run HornetQ, you've got to run the build.sh in the config directory and it will build a new profile based on the default profile.

       

      So, what if I'm not USING the default profile?  I have a custom profile in which I have already changed the default database (and the default message database to Postgres) and  installed JBossESB.  I tried creating a link called "default" and running the script, but it doesn't appear to have copied EVERYTHING over to that new default-with-hornetq profile.

       

      What I need are instructions on how to simply ADD hornetq to an existing profile.  Is that possible?

       

      Or, is it more feasible to simply start from "scratch" (a fresh JBossAS install), then add HornetQ, THEN change the database and add JBossESB to teh default-with-hornetq profile?

       

      Oh, and is there anything special I need to do to the JBossESB setup for IT to use HornetQ?

       

      Thanks in advance,

       

      Rich S.

        • 1. Re: HornetQ installation into JBoss AS 5.1
          Clebert Suconic Master

          I'm not sure about JBoss ESB.

           

          You can probably just look at the hornetq-beans.xml

           

           

          If you read the user's manual you can probably understand the components and what needs to be installed. Take a look at the install script and if you don't understand anything specific about it (like, if you have to spend a lot of time reading the install script and the docs) we can give you some help.

          • 2. Re: HornetQ installation into JBoss AS 5.1
            Rich Stephens Newbie

            Yeah....I was hoping there was something as straightforward as some installation instructions: "put this jar here, put this xml here, edit this xml, etc.".

             

            I really don't have time to go digging through install scripts to try to figure out what needs to be done.

             

            So, it appears my best bet is to start from scratch and let the script create the "default-with-hornetq" profile, and then once that's done, change the database settings and install other components.

             

            Is there any problem with changing the name of the "default-with-hornetq" profile (renaming the directory) once it's setup?  There's nothing in hornetq that depends on the profile name "default-with-hornetq" is there?

            • 3. Re: HornetQ installation into JBoss AS 5.1
              Clebert Suconic Master

              No, you can rename it to whatever you want.

               

               

              The install on AS5 is basically doing this:

               

              - installing hornetq.sar into your server

              - removing jboss-messagin.sar (or I forgot the name now)

              - installing the JCA adapter.

              - copying additional jars.

               

              that is in basic terms.