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

Remote EAP 5: empty config dir results in nonworking server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.CR1
    • 4.2.0.Beta3
    • server
    • None
    • Hide

      1. File -> New -> Server
      2. Select EAP 5.x
      3. Select Remote profile, without runtime
      4. Set up the remote host
      5. Choose the server home
      6. Set the config field to empty string
      7. Click Test to validate the config - it only only checks the server dir, thus passes - that is a bug
      8. Make sure server/default does not exist on the remote location - click Test again - still passes
      9. Proceed and create the server with the empty string
      10. Check the launch config start command - it contains "--configuration=" - this server will not work.

      Show
      1. File -> New -> Server 2. Select EAP 5.x 3. Select Remote profile, without runtime 4. Set up the remote host 5. Choose the server home 6. Set the config field to empty string 7. Click Test to validate the config - it only only checks the server dir, thus passes - that is a bug 8. Make sure server/default does not exist on the remote location - click Test again - still passes 9. Proceed and create the server with the empty string 10. Check the launch config start command - it contains "--configuration=" - this server will not work.

      From JBIDE-17824:

      The default is now "default" even for runtime-less servers. And the validation of "default" is correct. But when I remove that string and click Test, it says ok. When I create the server with empty config string, it will have "--configuration=" in the launch config which will definitely fail.
      I wouldn't complain if the empty field still resulted in default being used (and the Test button would need to work that way too), but perhaps better is to disallow an empty string and also the Test button should return an error.

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

              Created:
              Updated:
              Resolved: