My Oracle Support Banner

When Calling ReadUDFValues Using P6 Web Services the Error "Java.lang.OutOfMemoryError: Java Heap Space" Occurs (Doc ID 2357509.1)

Last updated on FEBRUARY 05, 2018

Applies to:

Primavera Web Services - Version 15.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to run an integration with P6 Web Services the integration is hanging and one of the following errors occur.

ERROR
-----------------------
java.lang.OutOfMemoryError: Java heap space
at com.sun.xml.messaging.saaj.soap.impl.ElementImpl.(ElementImpl.java:132)
at com.sun.xml.messaging.saaj.soap.impl.ElementFactory.createElement(ElementFactory.java:112)
at com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl.createElementNS(SOAPDocumentImpl.java:183)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1577)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1779)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1779)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1779)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1533)
at com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl.importNode(SOAPDocumentImpl.java:178)
at com.sun.xml.messaging.saaj.soap.impl.BodyImpl.addDocument(BodyImpl.java:266)
at com.primavera.ws.common.CXFMessageHelper.createResponseMessage(CXFMessageHelper.java:37)
at com.primavera.ws.jaxws.provider.ProviderBase.invokeBase(ProviderBase.java:417)
at com.primavera.ws.jaxws.provider.generated.UDFValueProvider.invoke(UDFValueProvider.java:36)
at com.primavera.ws.jaxws.provider.generated.UDFValueProvider.invoke(UDFValueProvider.java:17)

 

ERROR
-----------------------
<[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "610" seconds working on the request "Workmanager: default, Version: 0, Scheduled=true, Started=true, Started time: 610358 ms
", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:
com.sun.org.apache.xerces.internal.dom.ParentNode.nodeListGetLength(ParentNode.java:712)
com.sun.org.apache.xerces.internal.dom.ParentNode.getLength(ParentNode.java:726)
weblogic.wsee.jaxws.saaj.DOMWriter.writeNode(DOMWriter.java:205)
weblogic.wsee.jaxws.saaj.DOMWriter.writeNode(DOMWriter.java:222)
weblogic.wsee.jaxws.saaj.DOMWriter.writeNode(DOMWriter.java:222)
weblogic.wsee.jaxws.saaj.DOMWriter.writeNode(DOMWriter.java:197)
weblogic.wsee.jaxws.saaj.WLSSAAJMessage.writeTo(WLSSAAJMessage.java:535)
com.sun.xml.ws.api.message.MessageWrapper.writeTo(MessageWrapper.java:226)
com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:144)
com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:242)
com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.java:636)
com.sun.xml.ws.transport.http.HttpAdapter.access$100(HttpAdapter.java:108)
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:878)
com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:422)
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:169)


Changes

 

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!


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