Eric Le Lay created DAEMON-278:
----------------------------------
Summary: procrunsrv windows ++Environment doesn't work for java
type
Key: DAEMON-278
URL: https://issues.apache.org/jira/browse/DAEMON-278
Project: Commons Daemon
Issue Type: Bug
Components: Procrun
Affects Versions: 1.0.13
Environment: Windows XP 32bits
Reporter: Eric Le Lay
When starting a service using the 'java' method, the Environment variables are
not applied to the child process.
looking at serviceStart() in prunsrv.c, the Environment variables are applied
(call to setInprocEnvironment) in the JNI case, but there is missing something
similar for the other case ('java' or 'native').
An easy fix would be to set the environment variables in the wrapper so that
they are inherited by the child process. Maybe you want to set them only in the
child process, but I don't know how...
--
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