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.
ChildProcessService.java