7 Replies Latest reply on Jun 7, 2013 2:28 PM by jay shaughnessy

    RHQ 4.7 Step by step Instruction for installation

    Arun Raj Expert

      Hi Developers,

       

          RHQ 4.7 is builded of JBOSS EAP. So I dont know how to install it. I have followed JBoss EAP 6.0 Installation guide. By following that, I have been confused to install RHQ. Please update any notes for installation. If you have updated the notes already, Please share me the link and forgive me for disturbing you.

       

      Regards,

      ArunRaj

        • 1. Re: RHQ 4.7 Step by step Instruction for installation
          mazz Master

          you don't install EAP to install RHQ - you let RHQ handle it (it comes with its own internal EAP)

           

          You will want to read this page:

           

          https://docs.jboss.org/author/display/RHQ/Running+The+Installer

          1 of 1 people found this helpful
          • 2. Re: RHQ 4.7 Step by step Instruction for installation
            Arun Raj Expert

            Thanks mazz, for the guideline which you have shared.

             

            I will update you, after I have succeed it.

             

            Regards,

            ArunRaj.

            • 3. Re: RHQ 4.7 Step by step Instruction for installation
              Arun Raj Expert

              Hi Mazz,

               

                  I have followed the instruction, Now I am facing the following error. Can you please help me to solve fix the following issue.

               

              F:\FinalRHQ4.7\rhq-server-4.7.0\bin>rhq-installer.bat

              13:17:49,780 INFO  [org.jboss.modules] JBoss Modules version 1.2.0.CR1

              13:17:49,921 INFO  [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install.

              13:17:49,999 INFO  [org.xnio] XNIO Version 3.0.7.GA

              13:17:49,999 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.7.GA

              13:17:50,014 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.14.GA

              13:17:55,677 ERROR [org.jboss.remoting.remote.connection] JBREM000200: Remote connection failed: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 7c698adc to 127.0.0.1/127.0.0.1:6999

              13:17:55,693 ERROR [org.rhq.enterprise.server.installer.Installer] An error occurred: java.lang.Exception: Cannot obtain client connection to the RHQ app server!!

                      at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:986) [rhq-installer-util-4.7.0.jar:4.7.0]

                      at org.rhq.enterprise.server.installer.InstallerServiceImpl.preInstall(InstallerServiceImpl.java:195) [rhq-installer-util-4.7.0.jar:4.7.0]

                      at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:114) [rhq-installer-util-4.7.0.jar:4.7.0]

                      at org.rhq.enterprise.server.installer.Installer.main(Installer.java:56) [rhq-installer-util-4.7.0.jar:4.7.0]

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

                      at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

                      at org.jboss.modules.Module.run(Module.java:262) [jboss-modules.jar:1.2.0.CR1]

                      at org.jboss.modules.Main.main(Main.java:329) [jboss-modules.jar:1.2.0.CR1]

              Caused by: java.io.IOException: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out

                      at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:81) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.rhq.common.jbossas.client.controller.JBossASClient.execute(JBossASClient.java:263) [rhq-jboss-as-dmr-client-4.7.0.jar:4.7.0]

                      at org.rhq.common.jbossas.client.controller.CoreJBossASClient.getSystemProperties(CoreJBossASClient.java:82) [rhq-jboss-as-dmr-client-4.7.0.jar:4.7.0]

                      at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:937) [rhq-installer-util-4.7.0.jar:4.7.0]

                      ... 9 more

              Caused by: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out

                      at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:130) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:176) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:144) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:98) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                      ... 13 more

               

              Regards,

              ArunRaj

              • 4. Re: RHQ 4.7 Step by step Instruction for installation
                Arun Raj Expert

                Hi Mazz,

                 

                    Even I have tried for the force option too. But the result is same.

                 

                F:\FinalRHQ4.7\rhq-server-4.7.0\bin>rhq-installer.bat --force

                13:23:44,499 INFO  [org.jboss.modules] JBoss Modules version 1.2.0.CR1

                13:23:44,608 INFO  [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install.

                13:23:44,686 INFO  [org.xnio] XNIO Version 3.0.7.GA

                13:23:44,702 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.7.GA

                13:23:44,702 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.14.GA

                13:23:50,193 ERROR [org.jboss.remoting.remote.connection] JBREM000200: Remote connection failed: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 751bb153 to 127.0.0.1/127.0.0.1:6999

                13:23:50,193 ERROR [org.rhq.enterprise.server.installer.Installer] An error occurred: java.lang.Exception: Cannot obtain client connection to the RHQ app server!!

                        at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:986) [rhq-installer-util-4.7.0.jar:4.7.0]

                        at org.rhq.enterprise.server.installer.InstallerServiceImpl.preInstall(InstallerServiceImpl.java:195) [rhq-installer-util-4.7.0.jar:4.7.0]

                        at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:114) [rhq-installer-util-4.7.0.jar:4.7.0]

                        at org.rhq.enterprise.server.installer.Installer.main(Installer.java:56) [rhq-installer-util-4.7.0.jar:4.7.0]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

                        at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

                        at org.jboss.modules.Module.run(Module.java:262) [jboss-modules.jar:1.2.0.CR1]

                        at org.jboss.modules.Main.main(Main.java:329) [jboss-modules.jar:1.2.0.CR1]

                Caused by: java.io.IOException: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out

                        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:81) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.rhq.common.jbossas.client.controller.JBossASClient.execute(JBossASClient.java:263) [rhq-jboss-as-dmr-client-4.7.0.jar:4.7.0]

                        at org.rhq.common.jbossas.client.controller.CoreJBossASClient.getSystemProperties(CoreJBossASClient.java:82) [rhq-jboss-as-dmr-client-4.7.0.jar:4.7.0]

                        at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:937) [rhq-installer-util-4.7.0.jar:4.7.0]

                        ... 9 more

                Caused by: java.net.ConnectException: JBAS012144: Could not connect to remote://127.0.0.1:9999. The connection timed out

                        at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:130) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:176) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:144) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:98) [jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127) [jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]

                        ... 13 more

                 

                Regards,

                ArunRaj

                • 5. Re: RHQ 4.7 Step by step Instruction for installation
                  Stian Lund Expert

                  ArunRaj,

                  looks like you maybe didn't run rhq-server.bat before running rhq-installer.bat ? The server process needs to run for the installer to do its magic

                   

                  -Stian

                  • 6. Re: RHQ 4.7 Step by step Instruction for installation
                    Arun Raj Expert

                    Hi Stian,

                     

                        Thank you so much. May I know , Why we have to run those back to back ? ? ? I am very much curious to know about that.

                     

                    Regards,

                    ArunRaj

                    • 7. Re: RHQ 4.7 Step by step Instruction for installation
                      jay shaughnessy Expert

                      Starting the server before running the installer is clearly documented, so I'm not sure how that was missed.  Anyway, it's basically because the installer uses EAP's management interface to configure and deploy the RHQ application.  So, it must be running to respond to the installer's requests.