tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sscott <ssc...@mapit.net>
Subject Node Returned from EJB causes StackOverflowError in Servlet
Date Fri, 31 Mar 2017 15:11:48 GMT
I am using TomEE-Plume (1.7.2).

I have a Servlet that makes a Service Layer call to an EJB.
The EJB has a Node (org.w3c.dom.Node) input parameter and a Node output
Parameter.
When the dataset is large and contains many elements in the returned Node, I
get a StackOverflowError
in the Servlet where the Node is returned.

Node outputData = service.serviceRequest(parameters);

What is the best practice to solve this situation?
Could I use SAX to parse/read the Node (org.w3c.dom.Node) as it is received?
Any pointers or advice are greatly appreciated.
Thank you.





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Node-Returned-from-EJB-causes-StackOverflowError-in-Servlet-tp4681420.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message