Rico Neubauer [
https://community.jboss.org/people/MrEasy] created the discussion
"Working directory for server processes not configurable"
To view the discussion, visit:
https://community.jboss.org/message/771454#771454
--------------------------------------------------------------
Hi,
Currently there seems 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 JBoss with changed working directory and this seems not to introduce any issue, so I
would request this becomming a configuration option.
Do you agree/disagree and should I open a JIRA for it?
Also see this discussion of one of my colleagues for general thoughts regarding the
working directory:
https://community.jboss.org/thread/203368
https://community.jboss.org/thread/203368.
Best Regards,
Rico
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/771454#771454]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]