glassfish
  1. glassfish
  2. GLASSFISH-20415

[Regression] asadmin restart-domain command is failing when using --port, --port & --host, options

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 4.0_b86_RC2
    • Fix Version/s: 4.0
    • Component/s: admin
    • Labels:
      None
    • Environment:

      GF 4.0 build 86 (glassfish-4.0-b86-unix.sh*), JDK 1.7.0_21, OEL6 machine with 64 bit OS. Regression verified with GF 4.0 build 84 (java_ee_sdk-7-b84-jdk7-linux-x64.sh*). During installation, did not install Update tool.

      Description

      Test scenario is about the "restart options" of asadmin with default domain1 and a second domain (foo_domain). The scenario is basic and in GF4.0 build 84, all the commands are successful. In GF 4.0 build 86, they fail. The specific commands are:

      o [test@wolfrun] $ asadmin start-domain domain1 (default domain)
      o [test@wolfrun] $ asadmin --port 4848 --host wolfrun.us.oracle.com restart-domain

      Build 84:
      Successfully restarted the domain
      Command restart-domain executed successfully.

      Build 86 (after several minutes):
      Command restart-domain failed.
      Timed out waiting for the server to restart

      o [test@wolfrun] $ asadmin --echo --host wolfrun.us.oracle.com restart-domain
      asadmin --host wolfrun.us.oracle.com --port 4848 --interactive=true --echo=true --terse=false restart-domain --force=true --kill=false

      Build 84:
      Successfully restarted the domain
      Command restart-domain executed successfully.

      Build 86 (after several minutes):
      Command restart-domain failed.
      Timed out waiting for the server to restart

      o [test@wolfrun] $ asadmin create-domain --adminport 52968 foo_domain
      o [test@wolfrun] $ asadmin start-domain foo_domain
      o [test@wolfrun] $ asadmin --port 52968 --host wolfrun.us.oracle.com restart-domain

      Build 84:
      Successfully restarted the domain
      Command restart-domain executed successfully.

      Build 86 (after several minutes):
      Command restart-domain failed.
      Timed out waiting for the server to restart

        Issue Links

          Activity

          Hide
          Byron Nevins added a comment -

          Nice work finding this Alex!!
          It's an edge case for 20110

          Show
          Byron Nevins added a comment - Nice work finding this Alex!! It's an edge case for 20110
          Hide
          Alex Pineda added a comment -

          Verified issue is fixed in build 87. Bug can be closed now.

          Show
          Alex Pineda added a comment - Verified issue is fixed in build 87. Bug can be closed now.

            People

            • Assignee:
              Byron Nevins
              Reporter:
              Alex Pineda
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: