PQ69342: THE COMMAND DRADMIN.SH -SERVERPORT XXX -TESTVERSIONS REPORTS A INCORRECT OUTPUT. | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() 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/WorkAroundProblem 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.