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.
Installation Instructions
Please review the readme.txt for detailed installation instructions.
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).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24020333