IBM Support

Migration tools might hang and generate out-of-memory exceptions on Solaris or HP-UX operating systems

Troubleshooting


Problem

If you migrate to IBM® WebSphere® Application Server Version 7.0 on a Sun Solaris or an HP-UX operating system, the migration tools might hang and generate out-of-memory exceptions when you terminate the process.

Symptom

The system is hung and extraneous out-of-memory exceptions are generated when you terminate the process.

Cause

The Solaris and HP-UX platform implementations of the Java™ 2 SE (JRE) have a timing issue. This issue might result in a deadlock when you run the migration tools. Because this is a timing issue, the problem does not occur every time you run the tools.

Resolving The Problem

To resolve this issue, Sun Microsystems added tuning options to their class loader policy. To activate these options, edit the Java performance options in the script that you are attempting to run. Make these edits to the version of the migration script that is located in the ${WAS_INSTALL_ROOT}/bin directory.

Update the performance options to append -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass as shown in this example:

case $PLATFORM in
AIX)
 PERF_JVM_OPTIONS="-Xms512m -Xmx768m -Xquickstart" ;;  
Linux)
 PERF_JVM_OPTIONS="-Xms512m -Xmx768m -Xj9 -Xquickstart" ;;  
SunOS)
 PERF_JVM_OPTIONS="-Xms512m -Xmx768m -XX:PermSize=40m    
   -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass" ;;
HP-UX)
 PERF_JVM_OPTIONS="-Xms512m -Xmx768m -XX:PermSize=40m
   -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass" ;;
OS/390)
 PERF_JVM_OPTIONS="-Xms512m -Xmx768m" ;;
esac

Related Information

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Migration","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF027","label":"Solaris"}],"Version":"7.0","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 September 2019

UID

swg21319783