Do you have database connection involved? Look like you have resource sharing problem. If it's not database, then make sure you synchronized where needed. If it's database, make sure to use connection pool, and try..finally to release all connections properly. I would comment out all code, except returning empty result. Then progressively uncomment code to find out where causes the problem.
On Sat, Sep 27, 2008 at 7:25 PM, Tony Dean <[EMAIL PROTECTED]> wrote: > I have seen numerous jira issues regarding stackoverflow... > > A single client accessing my Axis2 service is successful and appears to be > successful an unlimited amount of iterations. > > However, if I put a load on the service and allow multiple clients to access > my service simultaneously, it does take long for stackoverflows to occur. > I'm getting a consistent stacktrace as follows: > > 08:25:00,237 ERROR [[AxisServlet]] Servlet.service() for servlet AxisServlet > thre > java.lang.StackOverflowError > at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544) > at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:384) > at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136) > at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:146) > at java.io.OutputStreamWriter.write(OutputStreamWriter.java:204) > at java.io.PrintWriter.write(PrintWriter.java:384) > at java.io.PrintWriter.write(PrintWriter.java:384) > at java.io.PrintWriter.write(PrintWriter.java:401) > at java.io.PrintWriter.print(PrintWriter.java:532) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source) > > > Anyone know what's going on? > > Thanks for any insight. > > Tony Dean > SAS Institute Inc. > 919.531.6704 > [EMAIL PROTECTED] > > SAS... The Power to Know > http://www.sas.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
