If you apply any of the Version 7 fix packs for WebSphere Process Server on a Solaris system and then run the upgradeBSpaceProfile.py script, the script fails with an IllegalAccessException.
The script fails and the following message is written to the profile upgrade log file:
[wsadmin] Error calling
%WAS_ROOT%/BusinessSpace/scripts/upgradeBSpaceProfile.py': 'java.lang.IllegalAccessException: Class org.python.core.PyReflectedFunction can not access a member of class java.lang.AbstractStringBuilder with modifiers "public"'.
[wsadmin] java.lang.IllegalAccessException: Class org.python.core.PyReflectedFunction can not access a member of class java.lang.AbstractStringBuilder with modifiers "public"
[wsadmin] <traceback object at 280764531>
The problem occurs because of an issue in the underlying python libraries called by the script. APAR JR37179 has been opened to track the problem.
Resolving the problem
Perform the following steps to resolve the issue.
- Navigate to WAS_ROOT/BusinessSpace/scripts, where WAS_ROOT is the root WebSphere Application Server installation location for the product.
- Make a backup of the existing upgradeBSpaceProfile.py script.
- Replace the original script with the version of upgradeBSpaceProfile.py attached here:
- Follow the instructions in document 7018027 - Profile upgrade instructions for WebSphere Process Server and WebSphere Enterprise Service Bus V7.0.0 Fix Pack 2 (V126.96.36.199) installations with existing profiles
Note: If the failure happened while upgrading clusters, use the information in the Upgrading Clusters section instead of the section in the previous link.
|Business Integration||WebSphere Business Events||Solaris||7.0.1, 7.0|
|Business Integration||WebSphere Enterprise Service Bus||Business space||Solaris||188.8.131.52, 184.108.40.206, 7.0|
|Business Integration||WebSphere Service Registry and Repository||Business Space||Solaris||220.127.116.11, 7.0|
|Enterprise Content Management||Case Foundation||ECM Widgets||Solaris||4.5.2|
|Business Integration||WebSphere Business Monitor||Business Space||Solaris||18.104.22.168, 7.0|