Menu

#142 UAC elevation doesn't remember setting of wrapper.home

All
closed-fixed
rzo
None
5
2018-02-11
2017-11-20
No

When elevating the user rights, YAJSW does not rember the setting of wrapper_home from setenv.bat, thereby not setting the wrapper.working.dir properly in the wrapper.conf. This results in the service being installed with the wrong paths, causing it to fail to start.

Solution would be to change the wrapper_java_options as follows:

set wrapper_java_options=-Xmx30m -Dwrapper_hom="%wrapper_home" -Djna_tmpdir="%wrapper_home/tmp" -Djava.net.preferIPv4Stack=true

Discussion

  • rzo

    rzo - 2018-02-11
    • status: open --> closed-fixed
     
  • rzo

    rzo - 2018-02-11

    thanks for pointing this out. release 12.12

     

Log in to post a comment.

MongoDB Logo MongoDB