Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1675

Embedded server started non-modular use only first --jboss-home for FS paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • None
    • CLI, Management
    • None

    Description

      First --jboss-home value passed is always used to FS paths resolution. The issue affects embed-server started using jboss-cli-client.jar.

      reproduce
      start embed server using wf1, stop it, start another embed server using wf2

      /home/workspace3
      ├── wf1
      │   └── wildfly-10.0
      └── wf2
          └── wildfly-10.0
      
      $ pwd ; java -jar jboss-cli-client.jar 
      [disconnected /] embed-server --jboss-home=~/workspace3/wf1/wildfly-10.0
      [standalone@embedded /] stop-embedded-server 
      [disconnected /] embed-server --jboss-home=~/workspace3/wf2/wildfly-10.0
      

      actual
      wf1 is used

      ...
                      "name" => "jboss.server.config.dir",
                      "path" => "/home/workspace3/wf1/wildfly-10.0/standalone/configuration",
      ...
      

      Attachments

        Issue Links

          Activity

            People

              kwills@redhat.com Ken Wills
              kwills@redhat.com Ken Wills
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: