Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.13
-
Windows XP 32bits
Description
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...