Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21989

[GSS](7.4.z) EAP 7 cannot be installed as Windows Service if installation path contains a whitespace in service.bat

    XMLWordPrintable

Details

    • False
    • False
    • +
    • Undefined
    • Hide

      don't use whitespace in path

      Show
      don't use whitespace in path
    • Hide

      Reproduce Steps
      1. set JBOSS_HOME and NOPAUSE=1
      2. In JBOSS_HOME path, a directory name with a whitespace before jbc-svc* dir
      3. service.bat install

      example:

      JBOSS_HOME=C:\Users\USER\Desktop\test\jboss-eap-7.2.8 space\jboss-eap-7.2.8

      C:\Users\USER\Desktop\test\jboss-eap-7.2.8 space

      ├─jbcs-jsvc-1.0

      └─jboss-eap-7.2.8

      Show
      Reproduce Steps 1. set JBOSS_HOME and NOPAUSE=1 2. In JBOSS_HOME path, a directory name with a whitespace before jbc-svc* dir 3. service.bat install example: JBOSS_HOME=C:\Users\USER\Desktop\test\jboss-eap-7.2.8 space\jboss-eap-7.2.8 C:\Users\USER\Desktop\test\jboss-eap-7.2.8 space │ ├─jbcs-jsvc-1.0 └─jboss-eap-7.2.8

    Description

      In EAP 7.2.8 and EAP 7.3.7, the Windows service can not be installed as Windows Service if the path where JBoss EAP is installed contains a blank like "C:\Users\USER\Desktop\test\jboss-eap-7.2.8 space\jboss-eap-7.2.8."
      In EAP 7.2.0, the Windows service is installed with the following path:(JBOSS_HOME=C:\Users\USER\Desktop\test\jboss-eap-7.2.0 space\jboss-eap-7.2)
      I confirmed this issue in EAP 7.2.8 and the latest version(EAP 7.3.7)

      [Investigation]
      In service.bat in 7.2.0, prunsrv.exe path has double quotetions("C:\Users\USER\Desktop\test\jboss-eap-7.2.0 space\jboss-eap-7.2\..\jbcs-jsvc-1.0\sbin\prunsrv.exe".)
      But the other later version, prunsrv.exe path has no double quotations.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-rmartinc Ricardo Martin Camarero
              rhn-support-rmartinc Ricardo Martin Camarero
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: