5 Replies Latest reply on Feb 19, 2013 8:48 AM by Arun Raj

    How to run JBOSS in RHQ

    Arun Raj Expert

      Hi Developers,

       

          I have installed RHQ Server and Agent in my PC. In that RHQ, I have seen JBOSS. I put a deployed war file in that JBOSS. But having no idea to execute my war file. Can anyone help me out ? ? ?

       

      Regards,

      ArunRaj.

        • 1. Re: How to run JBOSS in RHQ
          Thomas Segismont Expert

          Arun,

           

          Deploying applications in RHQ JBoss server is very likely a bad idea. What's your use case?

           

          Thomas

          • 2. Re: How to run JBOSS in RHQ
            Arun Raj Expert

            Hi Thomas,

             

                It is my own thought. I wanted to know whether it is possible or not. If possible, how to do it.

             

                Please make my thought clear about RHQ Jboss.

             

            Regards,

            ArunRaj

            • 3. Re: How to run JBOSS in RHQ
              Jirka Kremser Newbie

              We do not recoment to deploy the war files to RHQ Jboss server. Providing, it is some different AS, there shouldn not be problem to do it. If you are running the AS instances on the same machine, you should use port offset [1] not to colidate with ports. Your app should be available at URL localhost:8080+n/context, where n is the offset and context is the name of the war file (by default). You may check the log of your own AS if the deployment was successfull.

               

               

              [1]: for AS7 there is -Djboss.socket.binding.port-offset=n parameter for this purpose, where n is the actual offset

              1 of 1 people found this helpful
              • 4. Re: How to run JBOSS in RHQ
                mazz Master

                The RHQ Server is hosted inside a JBossAS customized for RHQ. It is not expected nor supported that you deploy your own applications inside of this JBossAS instance - it is solely for the use by RHQ only. In fact, in RHQ 4.6 (to be released shortly) it is running inside AS7 and we now explicitly turn off the "deployment scanner" to make sure people can't deploy apps in the deployments/ directory.

                1 of 1 people found this helpful
                • 5. Re: How to run JBOSS in RHQ
                  Arun Raj Expert

                  Hi John, Jirka and Thomas,

                   

                       Thank you so much to you all for guiding me to understand RHQ Server. Now I got an idea about RHQ JBoss. Thank you once again.

                   

                   

                  Regards,

                  ArunRaj