My Oracle Support Banner

OC4J Logs Grow Rapidly with "oracle.dms.transtrace.maxaggregates" Being set (Doc ID 744907.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.3.0 to 10.1.3.4.0
This problem can occur on any platform.

Symptoms

If DMS tracing was enabled with "oracle.dms.transtrace.maxaggregates" being set with properties like

oracle.dms.transtrace.enabled=true
oracle.dms.transtrace.maxtraces=5
oracle.dms.transtrace.dumpenabled=true
oracle.dms.transtrace.maxrecords=5000
oracle.dms.transtrace.maxaggregates=100
jbo.server.in_oc4j=true
oracle.dms.transtrace.dumpinterval=900
oracle.jdbc.DMSStatementMetrics=true
oracle.dms.transtrace.maxdumps=4

the OC4J Instance logs in $ORACLE_HOME/opmn/logs/${INSTANCE_LOGFILE} shows a NullPointerException

08/06/04 08:23:25 NOTIFICATION: oracle.dms.transtrace.enabled=true
08/06/04 08:38:26 RBI: caught exception:
08/06/04 08:38:26 java.lang.NullPointerException
08/06/04 08:38:26 at oracle.dms.instrument.Tracer.processTrace(Unknown Source)
08/06/04 08:38:26 at oracle.dms.instrument.Tracer.endRequest(Unknown Source)
08/06/04 08:38:26 at oracle.dms.instrument.TransTrace.requestStop(Unknown Source)
08/06/04 08:38:26 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:315)
08/06/04 08:38:26 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
08/06/04 08:38:26 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
08/06/04 08:38:26 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
08/06/04 08:38:26 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
08/06/04 08:38:26 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
08/06/04 08:38:26 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
08/06/04 08:38:26 at java.lang.Thread.run(Thread.java:595)

And after that many lines  like

<REQUEST>
<PROPERTY name="URI">
<![CDATA[http://www.some-website.com/someapp/html/de/7599/index.html]]> </PROPERTY>
<PROPERTY name="ECID_UID"> <![CDATA[1212561505:10.0.0.1:19255:0:136]]>
</PROPERTY>
<EVENT time="1212561505748" action="RequestBegin">
<![CDATA[http://www.some-website.com/someapp/html/de/7599/index.html]]></EVENT>

<EVENT time="1212561505749" type="oc4j_servlet" noun="/oc4j/fsi-internet/WEBs/someapp/SERVLETs/action" sensor="service" action="PhaseStart"/>

<EVENT time="1212561505752" type="JDBC_ConnectionSource" noun="/JDBC/OracleDataSource"
sensor="CacheFreeSize" action="StateValue">
<![CDATA[2147483642]]></EVENT>

As a result the log files grow rapidly in size.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
  Symptoms
  Cause
  Solution
  References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.