Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1177

Service can't be installed if the path contains a closed bracket

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.2.0.CR1, 3.0.0.Alpha1
    • None
    • Scripts
    • all Windows versions

    • Hide

      extract wildfly to a path with ) in it an start "services.bat install"

      Show
      extract wildfly to a path with ) in it an start "services.bat install"
    • Workaround Exists
    • Hide

      Set the variable=path... in service.bat in double quotation marks:
      set "LOGPATH=%JBOSS_HOME%\domain\log" (remember this entry exists twice)

      Show
      Set the variable=path... in service.bat in double quotation marks: set "LOGPATH=%JBOSS_HOME%\domain\log" (remember this entry exists twice)
    • Low

      Problem:
      If you start "service.bat install" in e.g. in C:\Program Files (x86)\wildfly-9.0.1.Final\bin\service you will get:
      Using the X86-64bit version of prunsrv
      "\wildfly-9.0.1.Final\domain\log" can not be used syntatically at this point (don't know if it is correct, I translated it from german. Original it is "kann syntaktisch an dieser Stelle nicht verarbeitet werden.")

      Cause:
      This is because of the ) in "Program Files (x86)" and this is a problem because in the service.bat in line 175 and 179 (set LOGPATH=%JBOSS_HOME%\domain\log and LOGPATH=%JBOSS_HOME%\standalone\log- in version 9.0.1 and 9.0.2 - in Version 10 it may be in another line) path is not set in double quotation marks.
      All other paths are set in double quotation marks.

      Solution:
      Set the variable and path in double quotation marks:
      set "LOGPATH=%JBOSS_HOME%\...\log"

              tomazcerar Tomaž Cerar (Inactive)
              wildberg Paul Wildberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: