#78 Window env. are not evaluated on wrapper.conf as service

All
closed-works-for-me
nobody
None
5
2013-12-19
2013-01-15
Rocco Pisano
No

Hi everyone,

I pointed out that the Windows Environment aren't evaluated in wrapper.conf when running YAJSW as service. It works fine as console instead.
On the wrapper log I got the following error message:

error evaluating xxx_yyy_zzz : No such property: xxx_yyy_zzz for class: Script1

Where xxx_yyy_zzz is the windows environment. According to the YAJSW spec. I referenced the variable as lower case i.e. ${xxx_yyy_zzz}

I tested YAJSW latest version (i.e. yajsw-stable-11.04) with different version of Windows: 2003/ Windows 7 and XP with JVM 1.6 (e.g. 1.6.0.30 or higher but not JVM 1.7) and I got the same wrong message.

Regards,
Rocco

Discussion

  • rzo
    rzo
    2013-01-27

    hello,

    I tested this and it seems to work fine.
    I suppose that the env var you are using is not a system variable.
    try setting it as a system variable and reboot the computer.

    -- Ron

     
  • rzo
    rzo
    2013-12-19

    • status: open --> closed-works-for-me