The purpose of the catch block is to catch exceptions of type NoSuchMethodError thrown when AxisServlet is used with a version of the servlet API that doesn't support setBufferSize yet. Getting a StackOverflowError here is definitely not normal. If you can reproduce this on a non production server, it would be interesting to get a stack trace (either using a debugger, or by replacing "+" by "," in the log statement).
Andreas On Thu, May 28, 2009 at 23:17, Manuel Darveau <[email protected]> wrote: > Hi, > > I have a production server running axis2 service and I get "INFO Old > Servlet API :java.lang.StackOverflowError" in the log file. > I checked the code a bit a found in AxisServlet: > //set the initial buffer for a larger value > try { > response.setBufferSize(BUFFER_SIZE); > } catch (Throwable t){ > log.info("Old Servlet API :" + t); > } > > Should I be worried about this or is this "normal"? Can someone explain why > response.setBufferSize could throw a StackOverflow? > > Thank you very much! > > Manuel >
