[jboss-jira] [JBoss JIRA] (WFCORE-1248) Make working directory for server processes configurable

Brian Stansberry (JIRA) issues at jboss.org
Fri Mar 10 14:45:00 EST 2017


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

Brian Stansberry updated WFCORE-1248:
-------------------------------------
    Labels: domain-mode  (was: )


> Make working directory for server processes configurable
> --------------------------------------------------------
>
>                 Key: WFCORE-1248
>                 URL: https://issues.jboss.org/browse/WFCORE-1248
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>         Environment: all
>            Reporter: Rico Neubauer
>              Labels: domain-mode
>
> Currently there is no configuration option to set the working directory of the server-process(es).
> Host- and domain-controller both use system-property "user.dir", but for the server-process in org.jboss.as.host.controller.ManagedServer.ProcessAddTask#execute() the following is used to initiate the new process:
>  
> processControllerClient.addProcess(serverProcessName, authKey, command.toArray(new String[command.size()]), environment.getHomeDir().getAbsolutePath(), env);
> where environment.getHomeDir().getAbsolutePath() donates the working directory for the new process.
> I tested JBoss with changed working directory and this seems not to introduce any issue, so I would request this becomming a configuration option.
> A simple approach is to use system-property "user.dir" also for the server-processes. A more advanced soltion is to make this a configuration element/attribute beneath the server-configuration.
> See the forum discussion for more references.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list