[GLASSFISH-16101] iws wadm command fail during LB configurator if the webserver "admin password" or "wspass" not exist. Created: 24/Feb/11  Updated: 24/Feb/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1_b43
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Homer Yau Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

GlassFish build 43 OGS on OEL with iws7.0.9


Tags: 3_1, glassfish, plugin

 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


Generated at Sat Jul 04 06:21:27 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.