Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-278

procrunsrv windows ++Environment doesn't work for java type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.13
    • 1.0.14
    • Procrun
    • Windows XP 32bits

    Description

      When starting a service using the 'java' method, the Environment variables are not applied to the child process.
      looking at serviceStart() in prunsrv.c, the Environment variables are applied (call to setInprocEnvironment) in the JNI case, but there is missing something similar for the other case ('java' or 'native').

      An easy fix would be to set the environment variables in the wrapper so that they are inherited by the child process. Maybe you want to set them only in the child process, but I don't know how...

      Attachments

        Activity

          People

            Unassigned Unassigned
            elelay Eric Le Lay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: