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

When two colliding servers are started and then stopped, a java process is still running

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Beta2
    • 4.2.0.Beta1
    • server
    • None
    • Hide

      1. Using runtime detection, set up JBoss AS 7.1.1 - Server1
      2. Manually add a second server with the same runtime - Server2 (without management)
      3. Start Server1
      4. Start Server2 - when prompted, choose to run anyway
      Assert - Server2 will be somewhat broken because the ports are already used, but the server will keep running - this is expected
      5. Stop Server2 - this will stop the first server, because it's a management call and the first one was first to use the management port on localhost
      Assert: Both servers are now shown as stopped in Server view
      Assert: A java process (AS 7) is still running on your computer - FAIL

      Show
      1. Using runtime detection, set up JBoss AS 7.1.1 - Server1 2. Manually add a second server with the same runtime - Server2 (without management) 3. Start Server1 4. Start Server2 - when prompted, choose to run anyway Assert - Server2 will be somewhat broken because the ports are already used, but the server will keep running - this is expected 5. Stop Server2 - this will stop the first server, because it's a management call and the first one was first to use the management port on localhost Assert: Both servers are now shown as stopped in Server view Assert: A java process (AS 7) is still running on your computer - FAIL

      When you run a server, say JBoss AS 7.1.1, and you try to start a second server of the same kind and then choose to run it despite the first server already running, you will end up in a situation where if you stop the second server, it will stop the first process, show both as stopped, but the second broken server is still running.

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: