Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12895

Invalid quotation mark syntax in service.bat

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • None
    • 2.9
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stafford@customware.net Stafford Vaughan [CustomWare]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: