Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14108

EAP6.1 Server Runtime, per-module Start/Stop greyed out when should be usable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.CR1
    • 4.0.1.Final
    • server
    • None

      EAP6.1 Server Runtime, per-module Start/Stop greyed out when should be usable.

      I configure and start EAP 6.1.

      While it is running I use Add/Remove... to add an EAR project (maybe any deployable project will work)

      I wait for it to bootup.

      Once booted I use the action "Stop" or "Restart".

      This action occurs but the state of the dialog is not update.

      What should happen is the "Start" button should become available again.

      The "Restart" action seems to always be available. But even using it when it was stopped does not result in the "Stop" action from being available again.

      Only the first use of adding the module the buttons work as expected.

      I think the server runtime connector should have be able to guess the current status of each module by looking for all the files expected:

      *.deployed (means started, so Restart and Start are valid action)
      *.isdeploying (means it is on the way up)
      *.undeployed (means stopped)
      *.isundeploying (I never saw this before, but I guess it may exist)
      *.failed (means stopped)
      No file found (means stopped)

      This means it is possible to poll the state of these files always and update accordingly.

      Also there is no ICON picture next to the Restart next to the per-module setting. I am sure there is one around somewhere and the colour and grey of this icon give good indicator the action is possible or not.

            rob.stryker Rob Stryker (Inactive)
            darryl.miles@dlmc.co.uk Darryl Miles (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: