GemStone environment variables work differently for Windows services
The Windows NT/2000/XP services mechanism does not detect changes
to system environment variables until the system is rebooted. As
a result, environment variables for services work differently
than they do for other processes.
Windows services disregard any value of GEMSTONE environment
variables. Instead, they define their own GEMSTONE environment
variables based on their location on disk.
Use the -v option to explicitly define the GEMSTONE environment
variable in the service's context. If the -v option is used to
define GEMSTONE, that value will be used instead of the value
based on the location. The -v switch can be entered as a
startup parameter in the Services option of Control Panel or as
part of the command line for a 'create' or 'start' operation.
stone create -v GEMSTONE_SYS_CONF=$GEMSTONE_SYS_CONF