[jboss-jira] [JBoss JIRA] (WFCORE-1675) Embedded server started non-modular use only first --jboss-home for FS paths

Kabir Khan (JIRA) issues at jboss.org
Tue Apr 3 13:45:01 EDT 2018


     [ https://issues.jboss.org/browse/WFCORE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan closed WFCORE-1675.
------------------------------


> Embedded server started non-modular use only first --jboss-home for FS paths
> ----------------------------------------------------------------------------
>
>                 Key: WFCORE-1675
>                 URL: https://issues.jboss.org/browse/WFCORE-1675
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Domain Management
>            Reporter: Ken Wills
>            Assignee: Ken Wills
>            Priority: Blocker
>
> 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
> {noformat}
> /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 at embedded /] stop-embedded-server 
> [disconnected /] embed-server --jboss-home=~/workspace3/wf2/wildfly-10.0
> {noformat}
> *actual*
> _wf1_ is used
> {noformat}
> ...
>                 "name" => "jboss.server.config.dir",
>                 "path" => "/home/workspace3/wf1/wildfly-10.0/standalone/configuration",
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list