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

SBS JIRA Integration (JIRA) jira-events at lists.jboss.org
Tue Oct 23 03:09:02 EDT 2012


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

SBS JIRA Integration updated AS7-5813:
--------------------------------------

    Forum Reference: https://community.jboss.org/message/771454#771454, https://community.jboss.org/thread/211722  (was: https://community.jboss.org/thread/211722)

    
> Make working directory for server processes configurable
> --------------------------------------------------------
>
>                 Key: AS7-5813
>                 URL: https://issues.jboss.org/browse/AS7-5813
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Server
>    Affects Versions: 7.1.1.Final, 7.1.3.Final (EAP), 7.2.0.Alpha1, 7.1.4.Final (EAP)
>         Environment: all
>            Reporter: Rico Neubauer
>            Assignee: Jason Greene
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list