PQ69342: THE COMMAND DRADMIN.SH -SERVERPORT XXX -TESTVERSIONS REPORTS A INCORRECT OUTPUT.

 Fixes are available

4.0.6: WebSphere Application Server Version 4.0 Fix Pack 6
System Management Component Cumulative Fix for 4.0.2/4.0.3/4.0.4 /4.0.5



APAR status
Closed as program error.

Error description
Problem:The command DrAdmin.sh -serverPort xxx -testVersions
reports a version mismatch between the client and the server
although the command is executed from the same system (and out
of the same directory).
.
The command output is :
.
WebSphere Application Server, Advanced Single Server Edition
V4.0
WebSphere Application Server, Advanced Developer Edition V4.0
WebSphere Application Server, Advanced Edition V4.0
Runtime Utility Program
Copyright (C) IBM Corporation, 1997-2001
.
Testing the versions of the runtime utility client against the
versions of the runtime utility server.
The client versions do not match the server versions. // **
Error
message, here it is not displaying versions of client utility
**//
.
Versions of the runtime utility server:
   0:  com.ibm.ejs.sm.util.debug.DrAdminServer 1.40
   1:  com.ibm.ejs.sm.util.debug.DrAdmin 1.24
   2:  com.ibm.ejs.sm.util.debug.DrClientAccessor 1.12
   3:  com.ibm.ejs.sm.util.debug.DrSocket 1.6
   4:  com.ibm.ejs.sm.util.debug.DrServerSocket1.2
   5:  com.ibm.ejs.sm.util.debug.DrClientSocket 1.7
   6:  com.ibm.ejs.sm.util.debug.DrAccessResult1.1
   7:  com.ibm.ejs.sm.util.debug.DrComponent 1.6
.
Per definition of "-testVersions" attribute, there must not be a
mismatch between the client and the server classes when
DrAdmin.sh is
run on the same system (and out of the same directory).
.
Explaination :
=============
.
Looks like after looking at the code (By L3) ,found that the
output of the check is exactly the opposite meaning. If you get
this message:
.
    The client versions do not match the server versions.
.
it means that everything is working fine. If you instead got
this message:
.
    The client versions match the server versions.
.
It means that your versions are NOT correct. Basically a 'true'
value is incorrectly being interpreted as a failure.
Note that the command displays only the server versions; if the
versions had not in fact  matched, you would also se the client
versions.
Local fix
No LocalFix/WorkAround
Problem summary
****************************************************************
* USERS AFFECTED: Users of WebSphere Application Server.       *
****************************************************************
* PROBLEM DESCRIPTION: "DrAdmin.sh -testVersions" reports a    *
*                      version mismatch between the client     *
*                      and server although the command is      *
*                      started from the same system.           *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The code to check versions has incorrect logic.  The test is
for versions is opposite of what it should be - i.e., if there
is a version mismatch, the program will say no version
mismatch, and if there is not a version mismatch, the program
reports a version mismatch.
Problem conclusion
Changed the code in DrAdmin.java from:

   if(!comparisonResult.booleanValue())

to

   if(comparisonResult.booleanValue())
Temporary fix
Customer agreed for not having any efix at this level .
They would like have correct this in future PTF.
Comments
APAR information
APAR number PQ69342
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-12-20
Closed date 2003-01-14
Last modified date 2003-01-14

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
ADMINSVR          

SRLS

Fix information
Fixed component name WEBSPHERE AE AI
Fixed component ID 5630A2200

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ69342
IBM Group: Software Group
Modified date: Jan 14, 2003