glassfish
  1. glassfish
  2. GLASSFISH-17727

Incorrectly named Windows service wrapper files created by create-service --name=<service-name>

    Details

      Description

      According to the create-service(1) man page, if the --name=service-name option is specified, the subcommand creates Windows service wrapper files that are named as follows:

      • Configuration file: service-nameService.xml
      • Executable file: service-nameService.exe

      However, the create-service subcommand appears to ignore this option when naming the files:

      asadmin>  create-service --name pmd_domain domain1
      ...
      Command create-service executed successfully.
      
      Directory of C:\glassfish3\glassfish\domains\domain1\bin
      
      11/14/2011  04:13 PM    <DIR>          .
      11/14/2011  04:13 PM    <DIR>          ..
      11/14/2011  04:13 PM            30,208 domain1Service.exe
      11/14/2011  04:13 PM             3,124 domain1Service.xml
                     2 File(s)         33,332 bytes
                     2 Dir(s)  86,851,964,928 bytes free
      

      According to the create-service(1) man page, these files should be named pmd_domainService.exe and pmd_domainService.xml.

        Activity

        Hide
        Byron Nevins added a comment -

        Done.

        d:\gf\branches\3.1.2\admin>svn commit d:\gf\trunk\main\nucleus\admin d:\gf\branches\3.1.2\admin
        Sending D:\gf\branches\3.1.2\admin\server-mgmt\src\main\java\com\sun\enterprise\admin\servermgmt\services\LinuxService.java
        Sending D:\gf\branches\3.1.2\admin\server-mgmt\src\main\java\com\sun\enterprise\admin\servermgmt\services\WindowsService.java
        Sending D:\gf\trunk\main\nucleus\admin\server-mgmt\src\main\java\com\sun\enterprise\admin\servermgmt\services\WindowsService.java
        Transmitting file data ...
        Committed revision 51522.

        Show
        Byron Nevins added a comment - Done. d:\gf\branches\3.1.2\admin>svn commit d:\gf\trunk\main\nucleus\admin d:\gf\branches\3.1.2\admin Sending D:\gf\branches\3.1.2\admin\server-mgmt\src\main\java\com\sun\enterprise\admin\servermgmt\services\LinuxService.java Sending D:\gf\branches\3.1.2\admin\server-mgmt\src\main\java\com\sun\enterprise\admin\servermgmt\services\WindowsService.java Sending D:\gf\trunk\main\nucleus\admin\server-mgmt\src\main\java\com\sun\enterprise\admin\servermgmt\services\WindowsService.java Transmitting file data ... Committed revision 51522.

          People

          • Assignee:
            Byron Nevins
            Reporter:
            Paul Davies
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: