IBM Support

PK69471; 6.0.2.25: Profile path with a blank causes MBean object name error

Download


Abstract

When the profile path contains an embedded blank, the MBean identifier returned has an invalid object name.

Download Description

PK69471 resolves the following problem:

ERROR DESCRIPTION:
PK54440 does not work on systems with spaces in the install path name, for example: "C:\program files\...."

USERS AFFECTED:
All IBM WebSphere Application Server version 6.02.29 users or users with the Interim Fix for PK54440 installed.

PROBLEM DESCRIPTION:
When the profile path contains an embedded blank, the MBean identifier returned has an invalid object name.

RECOMMENDATION:
None

PROBLEM SUMMARY:
PK54440 which shipped in Fix Pack 6.0.2.29 attempted to fix the following problem:

com.ibm.websphere.management.AdminClient#invoke does not work for javax.management.ObjectName objects that are created with a space in the name string.

PK54440 corrected the problem for when the space is found after the profile root in the ObjectName. If the space is found before the profile root, PK54440 causes the name and mbeanIdentifier attributes in the returned ObjectName to be incorrectly set.

After PK54440 is applied:

Example 1:

If the space is found in the name string after the profile root, the code:

String queryObjectNameString ="WebSphere:type=SIBGatewayLink,
mbeanIdentifier=cells/myCell/clusters/Spaced Cluster
/sib-engines.xml#SIBGatewayLink_1171031578220,*";

ObjectName queryObjectName = new
ObjectName(queryObjectNameString);
Set objectNameSet = ac.queryNames(queryObjectName, null);


will always result in objectNameSet being empty. However, if "Spaced Cluster" is changed to "Spaced%20Cluster", the expected result set is obtained.

Example 2:

If the space is found in the name string before the profile root, the code:

String queryObjectNameString=
"WebSphere:type=TransactionService,*" ...


results in an ObjectName set containing:

"WebSphere:name=/Program Files/IBM/WebSphere/AppServer/profiles/
Dmgr01/config/cells/myCell02/nodes/myCellManager02/servers/dmgr/
server.xml#TransactionService_1,process=dmgr,platform=proxy,
node=myCellManager02,j2eeType=JTAResource,J2EEServer=dmgr,
version=6.1.0.19,type=TransactionService,
mbeanIdentifier=/Program Files/IBM/WebSphere/AppServer/profiles/
Dmgr01/config/cells/myCell02/nodes/myCellManager02/servers/dmgr/
server.xml#TransactionService_1,cell=myCell02,spec=1.0"


instead of the expected:

"WebSphere:name=cells/myCell02/nodes/myCellManager02/servers/
dmgr/server.xml#TransactionService_1,process=dmgr,
platform=proxy,node=myCellManager02,j2eeType=JTAResource,
J2EEServer=dmgr,version=6.1.0.19,type=TransactionService,
mbeanIdentifier=cells/myCell02/nodes/myCellManager02/servers/
dmgr/server.xml#TransactionService_1,cell=myCell02,spec=1.0"


PROBLEM CONCLUSION:
The code has been modified to check for '%20' in the ObjectName and replace it with a space.

The fix for this APAR is currently targeted for inclusion in Fix Packs 6.0.2.31 and 6.1.0.19.

Note that both PK54440 and this APAR, PK69471, will be included in Fix Pack 6.1.0.19. Therefore, the error will not be included the V6.1 Fix Pack stream.

Please refer to the recommended updates page for delivery information:
http://www.ibm.com/support/docview.wss?uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"Windows","code":"PF033"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"7663","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK69471/readme.txt"}]
On
[{"DNLabel":"6.0.2.25-WS-WAS-IFPK69471","DNDate":"08-28-2008","DNLang":"US English","DNSize":"23949","DNPlat":{"label":"Windows","code":"PF033"},"DNURL":"http://www.ibm.com/support/fixcentral/quickorder?fixids=6.0.2.25-WS-WAS-IFPK69471&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/support/entry/portal/Open_service_request/Software/Software_support_(general)), visit the WebSphere Application Server Support Web site (http://www.ibm.com/support/entry/portal/Overview/Software/WebSphere/WebSphere_Application_Server), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0.2.25","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24020333