#12 Possibility to specify temp files location

Any
closed-fixed
nobody
None
5
2015-12-23
2011-09-28
No

Hello,
Wrapper generates temporary files in /tmp:
err_*
in_*
jna*
out_*
Setting java.io.tmpdir for wrapper has effect for some files.
It is needed to specify folder to temporary files or use java.io.tmpdir for all.
It is useful for collecting logs and dumps.
Thanks!

Discussion

  • rzo

    rzo - 2011-10-10

    With each run YAJSW creates files in a temporary folder. The following files are created:

    in_<n>
    out_<n>
    err_<n>
    jna<n>

    These files are not removed automatically. You may define the location of the temporary folder as follows:

    For WrapperExe (called from all batch files)
    edit the setenv batch file and add: set wrapper_java_options=-Djava.io.tmpdir=mytempfolder
    For services/daemons:
    add to the configuration file the property: wrapper.ntservice.additional.1:-Djava.io.tmpdir=mytempfolder

    Note: you need to set the full path to the temp folder.

     
  • rzo

    rzo - 2012-04-09

    resolved with release 11.01

     
  • rzo

    rzo - 2015-12-23
    • status: open --> closed-fixed
    • Group: --> Any
     

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

Sign up for the SourceForge newsletter:





No, thanks