glassfish
  1. glassfish
  2. GLASSFISH-16101

iws wadm command fail during LB configurator if the webserver "admin password" or "wspass" not exist.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.1_b43
    • Fix Version/s: None
    • Component/s: load_balancer
    • Labels:
      None
    • Environment:

      GlassFish build 43 OGS on OEL with iws7.0.9

      Description

      iWS wadm command fail during LB configurator if the webserver "admin password" or "wspass" not exist.

      However, the installation on the load-balancer plugin binary is still completed and successfully lay down the binary files.

      There is a workaround see below.

      Error will be found in the end of the installation.

      Error log:

      INFO: Command /export/ha/ws7/bin/wadm execution failed. Please refer to logs for
      more details.
      Feb 24, 2011 5:26:43 PM LBConfigurator
      FINE: Command executed : /export/ha/ws7/bin/wadm pull-config --user=admin --pass
      word-file=/export/ha/ws7/https-jan-vm8/../glassfish-lbplugin/wspass --host=jan-v
      m8.us.oracle.com --port=8989 --verbose --config=jan-vm8 jan-vm8.us.oracle.com
      Feb 24, 2011 5:26:43 PM LBConfigurator
      FINE: Command exit code : 116
      Feb 24, 2011 5:26:43 PM LBConfigurator
      FINE: Command output :
      Feb 24, 2011 5:26:43 PM LBConfigurator
      FINE: Command error output : ADMIN3012: Node 'jan-vm8.us.oracle.com' is not part
      of the server farm.

      Feb 24, 2011 5:26:43 PM LBConfigurator
      FINE: Command exception trace : : abnormal subprocess termination: Detailed Mes
      sage:ADMIN3012: Node 'jan-vm8.us.oracle.com' is not part of the server farm.

      Feb 24, 2011 5:26:43 PM LBConfigurator
      FINE: Exception :
      lb.ExecException: abnormal subprocess termination: Detailed Message:ADMIN3012: N
      ode 'jan-vm8.us.oracle.com' is not part of the server farm.

      at lb.ProcessExecutor.execute(ProcessExecutor.java)
      at lb.ProcessExecutor.execute(ProcessExecutor.java)
      at lb.ProcessExecutor.execute(ProcessExecutor.java)
      at lb.Configurator.executeCmdAndReturnOutput(Configurator.java)
      at lb.Configurator.executeCmd(Configurator.java)
      at lb.SJSWSConfigurator.runPullAndDeployConfig(SJSWSConfigurator.java)
      at lb.SJSWSConfigurator.pullAndDeployConfig(SJSWSConfigurator.java)
      at lb.SJSWSConfigurator.install(SJSWSConfigurator.java)
      at lb.Installer.install(Installer.java)
      at lb.Installer.runInstaller(Installer.java)
      at lb.Installer.main(Installer.java)
      Feb 24, 2011 5:26:43 PM LBConfigurator
      INFO: Completed installation of GlassFish Load Balancer Plugin
      Feb 24, 2011 5:26:43 PM LBConfigurator
      WARNING: GlassFish load-balancer plugin installation completed with errors. Please check logs for any WARNING or SEVERE messages. Some manual changes may be required.

      Workaround:

      The workaround for is to run the iPlanet webserver "wadm" command manually.

      i.e.

      Make the temp "wspass" file exist or create temporary for this use.

      1. vi <webserver_install>/glassfish-lbplugin/wspass
        wadm_password=adminadmin

      #<webserver_install>/bin/wadm pull-config --user=admin --password-file=/export/ha/ws7/https-jan-vm8/../glassfish-lbplugin/wspass --host=jan-vm8.us.oracle.com --port=8989 --verbose --config=jan-vm8 jan-vm8
      CLI201 Command 'pull-config' ran successfully

        Activity

        Homer Yau created issue -
        Homer Yau made changes -
        Field Original Value New Value
        Tags 3_1 glassfish plugin

          People

          • Assignee:
            kshitiz_saxena
            Reporter:
            Homer Yau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: