Invalid quotation mark syntax in service.bat

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: High
    • None
    • Affects Version/s: 2.9
    • Component/s: None

      A misplaced quotation mark in /bin/service.bat in Confluence 2.9 is preventing the correct operation of instances started using this service. The line is:

      "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp -XX:MaxPermSize=128m" --JvmMs 128 --JvmMx 256

      Should be changed to:

      "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp" -XX:MaxPermSize=128m --JvmMs 128 --JvmMx 256

      Note the moved quotation mark after the "128m".

      This issue is causing a similar error to the following in the logs:

      SEVERE: Cannot find specified temporary folder at C:\opt\confluence\confluence-2.9-std\temp -XX:MaxPermSize=128m

      The result on my specific instance is recorded in https://support.atlassian.com/browse/CSP-22856.

      A temporary workaround is to update the line in the service.bat file and re-installing the service, or start Confluence from the startup.bat file instead of running as a service.

            Assignee:
            Unassigned
            Reporter:
            Stafford Vaughan [CustomWare]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: