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

Crash if Java Options parameter is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.3
    • 1.2.4
    • Procrun
    • None
    • Windows 10 (16xx, 1809, 2004), Windows Server 2016, 2019

    Description

      Earlier versions of procrun will start without the parameter "Java/Options" in the registry (see example). With "Options" prunsrv will start, without it crashes.

      Our setup (WiX based) should not create the registry key "Options", only the user should add some values here. We dont want to override the old value.

       

      Example (with Options):

      [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\MyService\Parameters\Java]
      "Classpath"="d:\\MyService\\lib
      *"
      "Jvm"="d:\\MyService\\jre\\bin\\server
      jvm.dll"
      "JvmMx"=dword:00000800
      "Options"=hex(7):2d,00,44,00,6b,00,65,00,79,00,3d,00,76,00,61,00,6c,00,75,00,\
      65,00,00,00,00,00

       

      Attachments

        1. screenshot.png
          19 kB
          Rainer Schnitker

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Rainer Schnitker Rainer Schnitker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: