#8 Unable to set enviornment variable on 64 bit OS

Any
wont-fix
nobody
None
5
2015-12-23
2013-01-16
Harshal
No

Hi,

One of our application requires "IBRPARAMPATH" environment variable which we are trying to set through wrapper files.
we tried "wrapper.app.env.IBRPARAMPATH=<Value>" in the conf file, however it is not working.

Can anyone help with this?

Discussion

  • rzo

    rzo - 2013-01-27

    Hello,

    What OS?
    I just tested this on windows and it seems to work fine.
    I tested as follows:

    in configuration:
    wrapper.app.env.TESTENV=testvalue
    in application:
    System.out.println("TESTENV :" +System.getenv("TESTENV"));

    result in log file:
    INFO|4916/0|Service TEST|TESTENV :testvalue

    if you are on windows you may try using low case chars for the env var.

    -- Ron

     
  • Djangofan

    Djangofan - 2013-05-07

    See line #450 of this Gist (https://gist.github.com/djangofan/4366912 ) which shows how I pass args.

     
  • rzo

    rzo - 2015-12-23
    • status: open --> wont-fix
    • Group: --> Any
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks