A Web Service, Running in OAS 10.1.2.2 Stops Responding when the Passed XML Data Exceeds a Certain Size ( > 2 MB ) (Doc ID 798763.1)

Last updated on FEBRUARY 10, 2017

Applies to:

Web Services - Version: 10.1.2.3.0
This problem can occur on any platform.

Symptoms

A web service, running in OAS 10.1.2.2 stops responding when the passed xml data exceeds a certain size ( > 2 MB ).

Where testing with Java heap size "-Xms256M -Xmx256M" the problem persists.


The following error occurs:

ERROR
+Thread dump from hanging oc4j process
"AJPRequestHandler-ApplicationServerThread-5" prio=5 tid=0x02c83c70 nid=0x11c0 waiting on
condition [38af000..38afdb4]
at oracle.xml.parser.v2.XMLText.addText(XMLText.java:351)
at oracle.xml.parser.v2.DocumentBuilder.characters(DocumentBuilder.java:548)
at oracle.xml.parser.v2.NonValidatingParser.reportCharacters(NonValidatingParser.java:1655)
at oracle.xml.parser.v2.NonValidatingParser.parseText(NonValidatingParser.java:1366)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1243)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:195)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
at org.apache.soap.transport.TransportMessage.unmarshall(TransportMessage.java:315)
at org.apache.soap.server.ServerUtils.readEnvelopeFromInputStream(ServerUtils.java:121)
at oracle.j2ee.ws.BaseWebService.readEnvelopeFromRequest(BaseWebService.java:335)
at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:802)

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