Thank you for your thoughtful advice. I encoded the XML as a string, and added it to another Node. My in and out parameters are all still nodes, but if the "EncodedData" element exists, I create a node from the decoded contents, and use it. I also considered using the -Xss to set the stack size larger. I decided against that due to concerns about performance and out of memory errors. Thanks again, very helpful.
-- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Node-Returned-from-EJB-causes-StackOverflowError-in-Servlet-tp4681420p4681428.html Sent from the TomEE Users mailing list archive at Nabble.com.