3 Replies Latest reply on Jul 8, 2014 8:54 AM by inspector

    JON 3.2.0.GA does not install

    inspector

      Hi everybody,

       

      I tried to install JON 3.2.0.GA (./rhqctl install) and the installation process always crashes with an exception that it can't reach the (jon-) jboss.

      ...

      17:14:01,930 INFO  [org.rhq.server.control.command.Install] Waiting for the RHQ Server to start in preparation of running the server installer...

      Trying to start the RHQ Server...

      RHQ Server                     (pid 18343  ) IS starting

      17:14:11,216 INFO  [org.jboss.modules] JBoss Modules version 1.2.2.Final-redhat-1

      17:14:12,284 INFO  [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install.

      17:14:12,766 INFO  [org.xnio] XNIO Version 3.0.7.GA-redhat-1

      17:14:12,851 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.7.GA-redhat-1

      17:14:12,886 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.16.GA-redhat-1

      17:14:25,593 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:1101) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]

        at org.rhq.enterprise.server.installer.InstallerServiceImpl.preInstall(InstallerServiceImpl.java:217) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]

        at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:142) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]

        at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:90) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]

        at org.rhq.enterprise.server.installer.Installer.main(Installer.java:57) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]

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

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

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

        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_60]

        at org.jboss.modules.Module.run(Module.java:270) [jboss-modules.jar:1.2.2.Final-redhat-1]

        at org.jboss.modules.Main.main(Main.java:411) [jboss-modules.jar:1.2.2.Final-redhat-1]

      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.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:81) [jboss-as-controller-client-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

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

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

        at org.rhq.enterprise.server.installer.InstallerServiceImpl.testModelControllerClient(InstallerServiceImpl.java:1052) [rhq-installer-util-4.9.0.JON320GA.jar:4.9.0.JON320GA]

        ... 10 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:131) [jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256) [jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70) [jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:176) [jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:144) [jboss-as-controller-client-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65) [jboss-as-controller-client-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:115) [jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:90) [jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236) [jboss-as-controller-client-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141) [jboss-as-controller-client-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127) [jboss-as-controller-client-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

        ... 14 more

       

       

      17:14:25,683 ERROR [org.rhq.server.control.command.Install] An error occurred while starting the RHQ server: Process exited with an error: 2 (Exit value: 2)

      Trying to stop the RHQ Server...

      RHQ Server (pid=18343) is stopping...

      RHQ Server has stopped.

      Stopping RHQ storage node...

      RHQ storage node (pid=18321) is stopping...

      RHQ storage node has stopped

      This is NOT due to the standalone.sh not beeing executable. The jboss has some strange error when I look into the server.log (on a different machine there ere even more errors of the same type affecting other subsystems)

      17:25:18,969 ERROR [org.hornetq.core.server] (MSC service thread 1-8) HQ224000: Failure in initialisation: java.lang.IllegalStateException: Container is down

              at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:509) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2228) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at org.jboss.as.messaging.jms.JMSService$1.activated(JMSService.java:95) [jboss-as-messaging-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.hornetq.core.server.impl.HornetQServerImpl.callActivateCallbacks(HornetQServerImpl.java:1366) [hornetq-server-2.3.5.Final-redhat-2.jar:2.3.5.Final-redhat-2]

              at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1589) [hornetq-server-2.3.5.Final-redhat-2.jar:2.3.5.Final-redhat-2]

              at org.hornetq.core.server.impl.HornetQServerImpl.access$1400(HornetQServerImpl.java:169) [hornetq-server-2.3.5.Final-redhat-2.jar:2.3.5.Final-redhat-2]

              at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:2071) [hornetq-server-2.3.5.Final-redhat-2.jar:2.3.5.Final-redhat-2]

              at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:425) [hornetq-server-2.3.5.Final-redhat-2.jar:2.3.5.Final-redhat-2]

              at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:483) [hornetq-jms-server-2.3.5.Final-redhat-2.jar:2.3.5.Final-redhat-2]

              at org.jboss.as.messaging.jms.JMSService.start(JMSService.java:112) [jboss-as-messaging-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]

      I can boot the jboss manually (standalone.sh -c standalone-full.xml) without any problems but that doesn't help me as the installer insists on doing it itself. I'm really frustrated and stuck here. Do you have any idea?

       

      P.S.: I attached the log files from $RHQ_HOME/logs.

        • 1. Re: JON 3.2.0.GA does not install
          jayshaughnessy

          I'm not sure what the issue is, perhaps some sort of port conflict?  Something is preventing the "vanilla" EAP from starting up on port 9999.

          • 2. Re: JON 3.2.0.GA does not install
            inspector

            Hey, thanks for your answer .

             

            I don't think it's a port conflict because I was able to start the "vanilla" EAP by hand without any problems. The problem seems even to be dedicated to JON as RHQ 4.11.0 installs and works like a charm.

            • 3. Re: JON 3.2.0.GA does not install
              inspector

              I'm not quite sure what happened. I reinstalled JON while the RHQ Database was still up and it worked. After that I removed the RHQ database and everything of rhq and jon. On that clean state it was somehow possible to install JON without any problems. Maybe some file of the old JON installation was corrupted. Another possibility may would be low memory and/or swapping - as I had a lot of stuff running in parallel back then.