Patches item #831241, was opened at 2003-10-27 19:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=831241&group_id=22866
Category: JBossMX
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gary Ratcliffe (gratcliffe)
Assigned to: Nobody/Anonymous (nobody)
Summary: ChildProcess MBean environment variables
Initial Comment:
I suspect very few people are using the
ChildProcessService since it isn't included in any of the
standard server configurations. But I have found what
appears to be a small problem relating to Environment
variables.
The MBean contains an attribute for specifiying
environment variables to be passed to the child process
using the Runtime exec function. If the attribute is
empty then the process should inherit the variables from
the parent process. However this is not the case with
the current code. It will instead pass an empty array of
environment variables resulting in the child process
having no variables.
Updating the makeEnvArray method as in the attached
file sorts this out.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=831241&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development