Uploaded image for project: 'Fuse JON plugins'
  1. Fuse JON plugins
  2. FUSEJON-126

AMQ Restart via JBoss ON fails sometimes

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Major
    • 7.5.0.redhat
    • 7.3.2.redhat
    • ActiveMQ Plugin

    Description

      When restart of AMQ is requested as a notification from JBoss ON alert, this operation mostly works fine. However, sometimes, restart operation fails with the message:

      ****************************************************** 
      java.lang.Exception: Restart failed while attempting to shut down: Was not able to stop the server
              at org.rhq.core.pc.operation.OperationInvocation.run(OperationInvocation.java:278)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745) 
      ******************************************************* 
      

      or

      ******************************************************* 
      java.lang.Exception: Was not able to start the server 
      at org.rhq.core.pc.operation.OperationInvocation.run(OperationInvocation.java:278)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      ******************************************************* 
      

      It seems that this issue is caused with "stop" operation.

      When, for some reason, "soft" shutdown fails, AMQ server is left in a bad state. However this is still considered as UP in JBoss ON and attempt to execute start operation fails as one process is already running.

      To resolve this, we should change the script so that "kill -9" is executed after unsuccessful "soft" shutdown.

      Attachments

        Issue Links

          Activity

            People

              dbokde Dhiraj Bokde
              rhn-support-bkramer1 Biljana Kramer
              Archiver:
              rhn-support-adandapa Aitik Dandapat

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty