"Exception Message : Java heap space" Thrown in Logs While OID 11g Server Chaining Enabled | java.lang.OutOfMemoryError (Doc ID 1465974.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.6.0 to 11.1.1.6.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Server chaining has been configured with Active Directory.

Errors from OID LOGS:

Showing the following error:

[2012-06-05T10:33:31-05:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: sunbox.us.oracle.com] [pid: 2131] [tid: 9] [ecid: 004kRhDbGKr5yW25vrP5iX0000XJ00000R,0] ServerWorker (REG):[[
BEGIN
ConnID:37 mesgID:12 OpID:11  OpName:search ConnIP:::ffff:10.10.10.10 ConnDN:cn=orcladmin
ERROR * sgslpip_invokeJPlg * Exception thrown while executing Java Plug-in oidscad.jar
END
]]
[2012-06-05T10:33:31-05:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: sunbox.us.oracle.com] [pid: 2131] [tid: 9] [ecid: 004kRhDbGKr5yW25vrP5iX0000XJ00000R,0] ServerWorker (REG):[[
BEGIN
ConnID:37 mesgID:12 OpID:11  OpName:search ConnIP:::ffff:10.10.10.10 ConnDN:cn=orcladmin
ERROR * sgslpip_invokeJPlg * Server Chaining error.
END
]]
[2012-06-05T10:33:31-05:00] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: sunbox.us.oracle.com] [pid: 2131] [tid: 9] [ecid: 004kRhDbGKr5yW25vrP5iX0000XJ00000R,0] ServerWorker (REG):[[
BEGIN
ConnID:37 mesgID:12 OpID:11  OpName:search ConnIP:::ffff:10.10.10.10 ConnDN:cn=orcladmin
ERROR * sgslpex_exceptionHndlr * Exception Message : Java heap space
ERROR * sgslpex_exceptionHndlr * The Exception Stack Trace :
java.lang.OutOfMemoryError
java.util.Arrays.copyOf(Arrays.java:2882)
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
java.lang.StringBuffer.append(StringBuffer.java:224)
oracle.ldap.util.DistinguishedName.normalizeDN(DistinguishedName.java:425)
oracle.ldap.util.DistinguishedName.<init>(DistinguishedName.java:74)
SCAD.mappingGroupSearchResults(SCAD.java:1514)
SCAD.searchADGroup(SCAD.java:1378)
SCAD.when_search(SCAD.java:485)
END
]]

 

 

When logging into ODSM, there is a long pause before coming back with an error message indicating to check the web server logs. After the error the page does not load fully.


[2012-05-23T11:41:48.844-05:00] [AdminServer] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 9354b745e7cf7354:1096f439:1377a8db443:-8000-000000000000027e,0] [APP: em] ADF_FACES-60096:Server Exception during PPR, #1[[
javax.el.ELException: java.lang.NullPointerException



...

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms