IBM Support

Resolving out of memory exceptions when deploying IBM Content Navigator on WebSphere Application Server

Troubleshooting


Problem

When you deploy IBM Content Navigator on a WebSphere Application Server, the deployment fails. The deployment failure usually occurs with WebSphere Application Server 7, but can also occur with other WebSphere Application Server versions.

Symptom

The deployment fails and an error message is displayed. For example:

WASX7017E: Exception received while running file "/opt/IBM/ECMClient/configure/tmp/deployapplication.tcl"; exception information: com.ibm.websphere.management.application.client.AppDeploymentException: com.ibm.websphere.management.application.client.AppDeploymentException:  [Root exception is java.lang.OutOfMemoryError]
java.lang.OutOfMemoryError: java.lang.OutOfMemoryError

Cause

The default minimum and maximum heap sizes in the wsadmin file are too small.

Environment

WebSphere Application Server and WebSphere Application Server Network Deployment

Diagnosing The Problem

The IBM Content Navigator EAR file deployment fails on WebSphere Application Server with an "Out of Memory" error message.

Resolving The Problem

To resolve the problem, you must edit the wsadmin.sh or wsadmin.bat file:

  • Set the Java virtual machine (JVM) initial heap size to 512 MB.
  • Set the Java virtual machine (JVM) maximum heap size to 1024 MB.


Related resources
For more information, refer to the following topics in the WebSphere Application Server information center:

[{"Product":{"code":"SSEUEX","label":"IBM Content Navigator"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"2.0.2","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21647230