Hi Mark, I've implemented Axis2 Web Services in Tomcat 5.5.26 and at times of high load (when there are several web service client requests coming in to Tomcat), Tomcat starts throwing following NPE:
java.lang.NullPointerException at org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:130) Is there a solution for the above exception? N.B.: I tried deploying my Axis2 code on Tomcat 6.0.20 and observed that these NPE do occur but with less frequency. Any help on this will be appreciated. -Nikhil ___________________________________________________________________ https://issues.apache.org/bugzilla/show_bug.cgi?id=47655 Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #4 from Mark Thomas <ma...@apache.org> 2009-08-06 23:14:17 BST --- That looks very much like the application is holding onto a copy of the response object and trying to use it when Tomcat thinks the request is complete and has recycled the response object for use with a following request. Try setting the system property: org.apache.catalina.connector.RECYCLE_FACADES=true This forces the facades to be recycled more thoroughly. You'll probably still see NPEs but they should occur where a request/response is used in an invalid manner. -- View this message in context: http://www.nabble.com/DO-NOT-REPLY--Bug-47655--New%3A-NullPointerException-in-MimeHeaders-tp24847819p24949709.html Sent from the Tomcat - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org