EJPEJ0070E: An exception occurred while processing the request. java.lang.OutOfMemoryError

Technote (troubleshooting)


Problem

WebSphere Portal may crash due to heap exhaustion with java.lang.OutOfMemoryError and EJPEJ0070E when a query is sent to Microsoft Active Directory that returns a very large result set.

Environment

WebSphere Portal configured with Microsoft Active Directory

Diagnosing the problem

Collect Javacores or heapdumps. See the Related URL section.

While not required you may be directed by IBM Support to enable WebSphere Application Server (WSAS), Virtual Member Manager (VMM) and Naming trace

*=info:com.ibm.ws.security.*=all:com.ibm.websphere.wim.*=all:
com.ibm.wsspi.wim.*=all:com.ibm.ws.wim.*=all:Naming=all


Resolving the problem

Apply WebSphere Application Server APAR PM82122.


The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.7 and 8.5.5.1. The fix pack can be downloaded from Recommended fixes for WebSphere Application Server. Until 8.0.0.7 is released please open a PMR with WebSphere Application Server support to request the APAR.

Additional information:

Virtual Member Manager (VMM) sets a search results count limit for every query it sends to an LDAP repository. The default value for this is 4500. When iterating the result set VMM expects the repository to honor the count limit set and throw a SizeLimitExceeded exception when the number of returned results is greater than 4500. This exception is then propagated to WebSphere Portal.

Due to a limitation in Active Directory (AD), VMM also sets page size to 1000 to enable AD to return more than 1000 results in one query. AD, however, does not appear to honor the count limit and no exception is thrown. As a consequence, VMM iterates through and caches all the returned results. VMM has a check in place that still throws a SizeLimitExceeded exception when the results exceed 4500, but this check is expected to be invoked only in a federated repository configuration.


Related information

Collecting Data: Performance hang or high CPU issues


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Portal
VMM - Virtual Member Manager

Software version:

8.0

Operating system(s):

AIX, HP-UX, IBM i, Linux, Solaris, Windows, i5/OS, z/OS

Reference #:

1624773

Modified date:

2013-05-09

Translate my page

Machine Translation

Content navigation