glassfish
  1. glassfish
  2. GLASSFISH-12363

The error message of "asadmin create-service" is difficult to understand

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: v3.0.1
    • Fix Version/s: 4.0
    • Component/s: admin
    • Labels:
      None
    • Environment:

      Operating System: Windows Vista
      Platform: Macintosh

    • Issuezilla Id:
      12,363

      Description

      In order to register the GlassFish v3.0.1 to Windows Service on Windows Platform,
      one customer executed the asadmin create-service command on GFv3.0.1.

      After executed the command,error code "-2146232576" was returned without
      appropriate error message.
      So it was difficult to understand the situation for him.

      According to his investigation,customer needed the .Net Framework.
      If it needs the .Net Framework for executing the "create-service" command,
      asadmin command should show the appropriate error message like
      "In order to execute the create-service command,you must install.Net Framework
      before execute the command." or so on.

      Please showe appropriate error message?

        Issue Links

          Activity

          Hide
          scatari added a comment -

          Assigning to Byron to investigate. I also got this weird error message on my XP machine running this
          command.

          C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>\glassfishv3\glassfish\bin\asadmin create-service –
          name domain1Service.exe
          Error while trying to install GlassFish as a Windows Service.
          The return value was: -2146232576.
          STDERR:
          STDOUT:
          Usage: asadmin [asadmin-utility-options] create-service [--name <name>]
          [--serviceproperties <serviceproperties>]
          [--dry-run[=<dry-run(default:false)>]]
          [--force[=<force(default:false)>]] [--domaindir <domaindir>]
          [?|-help[=<help(default:false)>]] [domain_name]
          Command create-service failed.

          Show
          scatari added a comment - Assigning to Byron to investigate. I also got this weird error message on my XP machine running this command. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>\glassfishv3\glassfish\bin\asadmin create-service – name domain1Service.exe Error while trying to install GlassFish as a Windows Service. The return value was: -2146232576. STDERR: STDOUT: Usage: asadmin [asadmin-utility-options] create-service [--name <name>] [--serviceproperties <serviceproperties>] [--dry-run [=<dry-run(default:false)>] ] [--force [=<force(default:false)>] ] [--domaindir <domaindir>] [ ?| -help [=<help(default:false)>] ] [domain_name] Command create-service failed.
          Hide
          Byron Nevins added a comment -

          Native Code would require changes...
          Assigning to MS6 for now as a "nice to have"

          Show
          Byron Nevins added a comment - Native Code would require changes... Assigning to MS6 for now as a "nice to have"
          Hide
          Byron Nevins added a comment -

          3.2

          Show
          Byron Nevins added a comment - 3.2
          Hide
          Byron Nevins added a comment -

          Umbrella Issue

          Show
          Byron Nevins added a comment - Umbrella Issue
          Hide
          Byron Nevins added a comment -

          16479

          Show
          Byron Nevins added a comment - 16479
          Hide
          Byron Nevins added a comment -

          Close

          Show
          Byron Nevins added a comment - Close

            People

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

              Dates

              • Created:
                Updated:
                Resolved: