[jboss-jira] [JBoss JIRA] (WFCORE-1248) Make working directory for server processes configurable
Brian Stansberry (JIRA)
issues at jboss.org
Tue Dec 22 11:11:00 EST 2015
[ https://issues.jboss.org/browse/WFCORE-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry moved WFLY-1052 to WFCORE-1248:
------------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-1248 (was: WFLY-1052)
Component/s: Domain Management
(was: Server)
> 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
>
> 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
(v6.4.11#64026)
More information about the jboss-jira
mailing list