4 Replies Latest reply on Aug 26, 2014 9:27 AM by Jorge Morales

    RHQ Installation

    David virgil naranjo Novice

      Hi,

       

      I am a developer of the project Jboss Overlord. I am trying to perform a deployment in the RHQ platform.

       

      These are the steps I followed based on the official documentation:

       

      - Install PostGresql and create a database.

      - Modify the rhq-server.properties updating it with the postgress database information.

      - ./rhqctl install --start

       

      I am using jdk 7.

       

      I receive the following exception:

       

      12:50:08,085 ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Cannot obtain client connection to the RHQ app server!!
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1121) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.preInstall(InstallerServiceImpl.java:221) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:146) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:90) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.Installer.main(Installer.java:57) [rhq-installer-util-4.12.0.jar:4.12.0]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
          at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.3.Final-redhat-1]
          at org.jboss.modules.Main.main(Main.java:460) [jboss-modules.jar:1.3.3.Final-redhat-1]
      Caused by: java.io.IOException: java.net.ConnectException: JBAS012174: No se pudo conectar a remote://127.0.0.1:9999. La conexión falló
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:81) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.rhq.common.jbossas.client.controller.JBossASClient.execute(JBossASClient.java:283) [rhq-jboss-as-dmr-client-4.12.0.jar:4.12.0]
          at org.rhq.common.jbossas.client.controller.CoreJBossASClient.getSystemProperties(CoreJBossASClient.java:103) [rhq-jboss-as-dmr-client-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1072) [rhq-installer-util-4.12.0.jar:4.12.0]
          ... 10 more
      Caused by: java.net.ConnectException: JBAS012174: No se pudo conectar a remote://127.0.0.1:9999. La conexión falló
          at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:129) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:144) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:117) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:92) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          ... 14 more
      Caused by: java.net.ConnectException: Conexión rehusada
          at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [rt.jar:1.7.0_55]
          at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) [rt.jar:1.7.0_55]
          at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:329)
          at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:325)
          at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
          at org.xnio.nio.NioHandle.run(NioHandle.java:90)
          at org.xnio.nio.WorkerThread.run(WorkerThread.java:198)
          at ...asynchronous invocation...(Unknown Source)
          at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:270)
          at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251)
          at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349)
          at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337)
          at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:80) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:99) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          ... 24 more

       

      12:50:13,106 INFO  [org.rhq.server.control.command.Install] Still waiting to run the server installer...
      12:50:13,352 INFO  [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1
      12:50:13,409 INFO  [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install.
      12:50:13,446 INFO  [org.xnio] XNIO Version 3.0.9.GA-redhat-1
      12:50:13,450 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.9.GA-redhat-1
      12:50:13,460 INFO  [org.jboss.remoting] JBoss Remoting version (unknown)
      12:50:13,587 ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Cannot obtain client connection to the RHQ app server!!
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1121) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.preInstall(InstallerServiceImpl.java:221) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:146) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:90) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.Installer.main(Installer.java:57) [rhq-installer-util-4.12.0.jar:4.12.0]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
          at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.3.Final-redhat-1]
          at org.jboss.modules.Main.main(Main.java:460) [jboss-modules.jar:1.3.3.Final-redhat-1]
      Caused by: java.io.IOException: java.net.ConnectException: JBAS012174: No se pudo conectar a remote://127.0.0.1:9999. La conexión falló
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:81) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.rhq.common.jbossas.client.controller.JBossASClient.execute(JBossASClient.java:283) [rhq-jboss-as-dmr-client-4.12.0.jar:4.12.0]
          at org.rhq.common.jbossas.client.controller.CoreJBossASClient.getSystemProperties(CoreJBossASClient.java:103) [rhq-jboss-as-dmr-client-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1072) [rhq-installer-util-4.12.0.jar:4.12.0]
          ... 10 more
      Caused by: java.net.ConnectException: JBAS012174: No se pudo conectar a remote://127.0.0.1:9999. La conexión falló
          at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:129) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:144) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:117) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:92) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          ... 14 more
      Caused by: java.net.ConnectException: Conexión rehusada
          at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [rt.jar:1.7.0_55]
          at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) [rt.jar:1.7.0_55]
          at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:329)
          at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:325)
          at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
          at org.xnio.nio.NioHandle.run(NioHandle.java:90)
          at org.xnio.nio.WorkerThread.run(WorkerThread.java:198)
          at ...asynchronous invocation...(Unknown Source)
          at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:270)
          at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251)
          at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349)
          at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337)
          at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:80) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:99) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          ... 24 more

       

      12:50:18,609 INFO  [org.rhq.server.control.command.Install] Still waiting to run the server installer...
      12:50:18,847 INFO  [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1
      12:50:18,904 INFO  [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install.
      12:50:18,938 INFO  [org.xnio] XNIO Version 3.0.9.GA-redhat-1
      12:50:18,942 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.9.GA-redhat-1
      12:50:18,951 INFO  [org.jboss.remoting] JBoss Remoting version (unknown)
      12:50:19,073 ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Cannot obtain client connection to the RHQ app server!!
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1121) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.preInstall(InstallerServiceImpl.java:221) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:146) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:90) [rhq-installer-util-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.Installer.main(Installer.java:57) [rhq-installer-util-4.12.0.jar:4.12.0]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
          at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
          at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.3.Final-redhat-1]
          at org.jboss.modules.Main.main(Main.java:460) [jboss-modules.jar:1.3.3.Final-redhat-1]
      Caused by: java.io.IOException: java.net.ConnectException: JBAS012174: No se pudo conectar a remote://127.0.0.1:9999. La conexión falló
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:81) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.rhq.common.jbossas.client.controller.JBossASClient.execute(JBossASClient.java:283) [rhq-jboss-as-dmr-client-4.12.0.jar:4.12.0]
          at org.rhq.common.jbossas.client.controller.CoreJBossASClient.getSystemProperties(CoreJBossASClient.java:103) [rhq-jboss-as-dmr-client-4.12.0.jar:4.12.0]
          at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1072) [rhq-installer-util-4.12.0.jar:4.12.0]
          ... 10 more
      Caused by: java.net.ConnectException: JBAS012174: No se pudo conectar a remote://127.0.0.1:9999. La conexión falló
          at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:129) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:144) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:117) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:92) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127) [jboss-as-controller-client-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          ... 14 more
      Caused by: java.net.ConnectException: Conexión rehusada
          at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [rt.jar:1.7.0_55]
          at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) [rt.jar:1.7.0_55]
          at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:329)
          at org.xnio.nio.NioXnioWorker$1.handleEvent(NioXnioWorker.java:325)
          at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
          at org.xnio.nio.NioHandle.run(NioHandle.java:90)
          at org.xnio.nio.WorkerThread.run(WorkerThread.java:198)
          at ...asynchronous invocation...(Unknown Source)
          at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:270)
          at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251)
          at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349)
          at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337)
          at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:80) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:99) [jboss-as-protocol-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
          ... 24 more

        • 1. Re: RHQ Installation
          Mike Thompson Novice

          Hi David,

           

          This is documented in the 4.1.2 Release Notes:

          https://docs.jboss.org/author/display/RHQ/Release+Notes+4.12#ReleaseNotes4.12-Cannotuserhqctlinstalloption%22start%22

           

          Here is the content of the note:

          Cannot use rhqctl install option "--start"

          You cannot use "rhqctl install --start" when installing. The RHQ Server fails to reload itself during the installation process when you do this. Instead, execute "install" separate from "start" - as an example: rhqctl install && rhqctl start

           

          I know, just when you get used to something it changes.

          • 2. Re: RHQ Installation
            David virgil naranjo Novice

            Hi Mike,

             

            I just tried your solution, and the same error appears. I have executed     ./rhqctl install and the stacktrace error is the same.

             

            14:22:12,055 INFO  [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install.
            14:22:12,091 INFO  [org.xnio] XNIO Version 3.0.9.GA-redhat-1
            14:22:12,096 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.9.GA-redhat-1
            14:22:12,106 INFO  [org.jboss.remoting] JBoss Remoting version (unknown)
            14:22:12,234 ERROR [org.rhq.enterprise.server.installer.Installer] The installer will now exit due to previous errors: java.lang.Exception: Cannot obtain client connection to the RHQ app server!!
                at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1121) [rhq-installer-util-4.12.0.jar:4.12.0]
                at org.rhq.enterprise.server.installer.InstallerServiceImpl.preInstall(InstallerServiceImpl.java:221) [rhq-installer-util-4.12.0.jar:4.12.0]
                at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:146) [rhq-installer-util-4.12.0.jar:4.12.0]
                at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:90) [rhq-installer-util-4.12.0.jar:4.12.0]
                at org.rhq.enterprise.server.installer.Installer.main(Installer.java:57) [rhq-installer-util-4.12.0.jar:4.12.0]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_55]
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_55]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_55]
                at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_55]
                at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.3.Final-redhat-1]

            • 3. Re: RHQ Installation
              jay shaughnessy Expert

              RHQ is layered on EAP.  It starts the underlying EAP and then the installer uses the jboss cli to install RHQ into EAP.  For some reason it seems EAP can't start up on the default 9999 port.  And therefore the RHQ installer can't connect to EAP.   Do you have something else running on 9999?   Check your logs to see if you can determine the issue.  They are in rhq-install-dir/logs.

              • 4. Re: RHQ Installation
                Jorge Morales Master

                Hi David,

                Have you tried using a prebuilt RHQ server, as those in docker images available internally on Red Hat? It might be easier for you as you do not need to pollute your system with installation of RHQ related to test an Overlord feature.

                Ping me on IRC (jmorales) if you want to follow up on this.