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

local servers are not trying to start because it already looks like they are started

    Details

    • Steps to Reproduce:
      Hide

      1) start an as7 server
      2) start a 2nd as7 server (that would listen on the same port)

      Result:
      The adapter of the 2nd server erroneously states "Started" but actually no server was started
      Symptom is that you have no log output of that 2nd server.

      Show
      1) start an as7 server 2) start a 2nd as7 server (that would listen on the same port) Result: The adapter of the 2nd server erroneously states "Started" but actually no server was started Symptom is that you have no log output of that 2nd server.
    • Release Notes Docs Status:
      Not Required

      Description

      originally:

      "After I updated to latest M2 build I no longer get console output nor launches - I for sure got that earlier today so something changed.

      Without console output and way of debugging you are rather lost so this is definitely considered a blocker."

      After some investigation what actually happend was that I had something running on port 8080 already and then the server didn't even try and start anything and just worked like it was already running...

      That's different what it used to be that the server would actually start and then most likely start with address already in use; it looked bad but at least the user could see what is going on.

      The current behavior is worse since the user think he is already running..but turns out he is not.

      But it is cool the poller now is asked if it is already started and we should use that information to show a dialog to the user asking him something like:

      "A server already seem to be responding via <some text for the poller to describe what it detected>. Do you wish to continue starting the server, connect to existing server or cancel ?"

      Then clicking continue will actually do the start, cancel will stop the attempt to start and the server adapter should not be connected and finally connecting to existing server should temporarily for the time of this specific launch switch to "do not start/stop server" mode.

      Then the user would be in control and know what is going on!

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            ldimaggio Len DiMaggio added a comment -

            Verified fixed in: jbosstools-3.3_stable_branch.aggregate-Update-2011-09-07_05-39-13-H18.zip

            A new JIRA will be opened for the related edge case.

            Show
            ldimaggio Len DiMaggio added a comment - Verified fixed in: jbosstools-3.3_stable_branch.aggregate-Update-2011-09-07_05-39-13-H18.zip A new JIRA will be opened for the related edge case.
            Hide
            irooskov Isaac Rooskov added a comment -

            reopening to set release note information

            Show
            irooskov Isaac Rooskov added a comment - reopening to set release note information
            Hide
            irooskov Isaac Rooskov added a comment -

            This issue was never seen by a customer so it does not require a release note.

            Show
            irooskov Isaac Rooskov added a comment - This issue was never seen by a customer so it does not require a release note.
            Hide
            rob.stryker Rob Stryker added a comment -

            As per isaac, does not require a release note

            Show
            rob.stryker Rob Stryker added a comment - As per isaac, does not require a release note
            Hide
            mmalina Martin Malina added a comment -

            Closing again.

            Show
            mmalina Martin Malina added a comment - Closing again.

              People

              • Assignee:
                rob.stryker Rob Stryker
                Reporter:
                maxandersen Max Rydahl Andersen
                Writer:
                Isaac Rooskov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development