Slow Performance Due to Logging Configuration Issue (Doc ID 1307684.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

A problem occurs when a customer application is trying to use logging via log4j with an AXIS module. The thread dump shows that the Axis module is trying to use WebLogic Server logging:

- waiting to lock [0x793d2bb8] (a weblogic.logging.WLLogger)
at java.util.logging.Logger.log(Logger.java:448)
at weblogic.logging.WLLogger.log(WLLogger.java:40)

at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)

When the app is under a load, several threads are waiting here:

- waiting to lock [0x793d2bb8] (a weblogic.logging.WLLogger)
at java.util.logging.Logger.log(Logger.java:448)
at weblogic.logging.WLLogger.log(WLLogger.java:40)
at weblogic.logging.commons.LogImpl.doLog(LogImpl.java:103)
at weblogic.logging.commons.LogImpl.debug(LogImpl.java:59)
at weblogic.logging.commons.LogImpl.debug(LogImpl.java:55)

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