8 Replies Latest reply on Jul 10, 2011 7:55 AM by peterwkc

    HornetQ Stand Alone Server

    peterwkc

      Hello to all,

       

      1. How to check hornetq server is running on MS Windows XP ?

       

      2. How to use hornetq standalone server with glassfish or netbeans or is it possible ?

       

      Thanks. 

        • 1. Re: HornetQ Stand Alone Server
          ataylor

          How to check hornetq server is running on MS Windows XP ?

          well, you will be able to see in the console window, or are you starting it as a service?

           

          2. How to use hornetq standalone server with glassfish or netbeans or is it possible ?

          If its running in an app server then it isnt standalone, however, HornetQ is just a set of pojo's so it should be reasonably easy, take a look at hornetq-beans.xml

          • 2. Re: HornetQ Stand Alone Server
            peterwkc

            Andy Taylor wrote:

             

            How to check hornetq server is running on MS Windows XP ?

            well, you will be able to see in the console window, or are you starting it as a service?

             

            2. How to use hornetq standalone server with glassfish or netbeans or is it possible ?

            If its running in an app server then it isnt standalone, however, HornetQ is just a set of pojo's so it should be reasonably easy, take a look at hornetq-beans.xml

             

            1. It has a console window display and close immediately after that.

            2. I need to used it stand alone and used together with glass fish app server.

             

            Thanks.

            • 3. Re: HornetQ Stand Alone Server
              ataylor

              1. It has a console window display and close immediately after that.

              Im not sure what you are saying here but if you close the console it will probably kill the HornetQ process

               

              2. I need to used it stand alone and used together with glass fish app server.

              Like I say, HornetQ is just a set of pojos so it should be straight forward to do.

              • 4. Re: HornetQ Stand Alone Server
                peterwkc

                Andy Taylor wrote:

                 

                1. It has a console window display and close immediately after that.

                Im not sure what you are saying here but if you close the console it will probably kill the HornetQ process

                 

                2. I need to used it stand alone and used together with glass fish app server.

                Like I say, HornetQ is just a set of pojos so it should be straight forward to do.

                1. I have click the run.bat file inside bin folder and the console window is display for while and close immediately.

                2. Any tutorial or example ?

                 

                Thanks.

                • 5. Re: HornetQ Stand Alone Server
                  ataylor

                  1. I have click the run.bat file inside bin folder and the console window is display for while and close immediately.

                  You should read the quick start guide it tells you how to start the server. open a console, navigate to the bin directory and execute the command run.bat. If there are any errors its probably your environment

                   

                  2. Any tutorial or example ?

                  Not that i know of but feel free to post how you accomplished this so other users can use it

                  • 6. Re: HornetQ Stand Alone Server
                    peterwkc

                    OK. Perhaps i did not make myself clear. I bag your pardon. 

                     

                    Let start it all over again. When ever i see a bat extension file in window, i will click on it but i was wrong.

                     

                    Actually, i require to execute on command line with changing the directory like in linux.

                     

                    Therefore, i execute the buil.bat in command line but failed which dispaly build.xml is not found.

                    Then i tried to execute the run.bat but it display error message NoClassDefFoundError exception is raised out.

                     

                    Please help.

                     

                    Thanks.

                    • 7. Re: HornetQ Stand Alone Server
                      ataylor

                      is your distro under 'documents and settings' by any chance, if so can you try it on a path with no spaces in. if not can you give the output of the console window.

                      • 8. Re: HornetQ Stand Alone Server
                        peterwkc

                        andy, you are right.

                         

                        The server can be start a path without any space in between.

                         

                        Thanks for your sincere reply.

                         

                        Thread closed.