Presence API Memory Leak Suspicion (Doc ID 2051902.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle Communications Instant Messaging Server - Version 9.0.1.4.0 and later
Information in this document applies to any platform.

Symptoms

OBJECT:
=======

Oracle Communications Instant Messaging 9u2-06.7 (9.0.2.6.0)

DEFECT:
=======

IM Presence API can leak memory, which can display exceptions such as:

[#|2014-10-13T08:11:55.951-0400|SEVERE|oracle-glassfish3.1.2|org.jvnet.hk2.osgiadapter|_ThreadID=4118;_ThreadName=Thread-151;|Exception in module org.glassfish.main.ejb.ejb-container [101] : java.lang.OutOfMemoryError: PermGen space|#]

[#|2014-10-13T08:11:55.951-0400|SEVERE|oracle-glassfish3.1.2|org.jvnet.hk2.osgiadapter|_ThreadID=4118;_ThreadName=Thread-151;|Exception in module org.glassfish.main.ejb.ejb-container [101] : java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space|#]

OCIM-FRONTEND-B-server.log:java.nio.BufferOverflowException
OCIM-FRONTEND-B-server.log:[#|2014-10-13T07:29:00.220-0400|SEVERE|oracle-glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=91;_ThreadName=http-thre
ad-pool-8080(7);|GRIZZLY0040: Request header is too large.

[#|2014-12-09T17:53:39.653-0500|INFO|oracle-glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=89;_ThreadName=http-thread-pool-8080(7);|Processor exception
java.lang.RuntimeException: java.lang.NullPointerException
       at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:144)
       at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)
       at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175)
       at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145)
       at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:210)
       at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
       at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
       at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
       at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
       at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
       at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
       at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
       at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
       at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
       at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
       at com.sun.grizzly.arp.AsyncProcessorTask.obtainAndSetThreadAttachment(AsyncProcessorTask.java:233)
       at com.sun.grizzly.arp.AsyncProcessorTask.enableTimeout(AsyncProcessorTask.java:227)
       at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:131)
       ... 14 more
|#]

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