Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10167

Can't enable debug on Windows Vista (and other nuxeo.conf properties)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.5
    • Fix Version/s: 5.6
    • Environment:
      Windows Vista

      Description

      Enabling remote debugging doesn't work on Windows Vista, and neither does changing in bin/nuxeo.conf other properties that are used by the launcher. Those properties are : JAVA_OPTS, JAVA_HOME, nuxeo.log.dir . So this prevents from changing settings such as debug, RAM...

      Cause :
      in nuxeoctl.bat, parsing of nuxeo.conf only works if the file name is not quoted (but then what if there is a space in its path ?), and even then when JAVA_OPTS contains debug settings, their additional "=" make the JAVA_OPTS parsed value be incomplete. See also http://ss64.com/nt/for_f.html http://stackoverflow.com/questions/6966558/batch-file-for-f- tokens

      • Workaround : change JAVA_OPTS defaults to include debug settings in nuxeoctl.bat (after : if "%JAVA_OPTS%" == "")

      Previously posted on the forum, see http://forum.nuxeo.com/?t=rview&goto=18928#msg_18928

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.