[jboss-dev-forums] Message to be Posted
Neelambary R
neelambary3012 at gmail.com
Thu Aug 13 00:38:57 EDT 2009
Hi,
I have deployed my web service application in two machines. I am doing
performance testing using JMeter by firing large number of requests i.e; web
service calls (at the rate of 160 requests/ minute). For some of the
requests I am getting the following exceptions (Stack trace given below).
The issue is more frequent when machine1 redirects the web service call to
machine2.
Http11Processor] Error finishing response
java.lang.NullPointerException
at
org.apache.tomcat.util.http.MimeHeaders.setValue(MimeHeaders.java:26)
at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Procesor.java:1537)
at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:962)
at org.apache.coyote.Response.action(Response.java:180)
at
org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOututBuffer.java:388)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav:906)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.ProcessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
----------------------------------------------------------------
[Http11BaseProtocol] Error reading request, ignored
java.lang.NullPointerException
at
org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:129)
at org.apache.coyote.Response.recycle(Response.java:578)
at
org.apache.coyote.http11.InternalOutputBuffer.nextRequest(InternalOutputBuffer.java:355)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:929)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
I had a guess that this is an issue with tomcat container's trequest timeout
or some stuff similar to that. I tried changing parameters like
'acceptCount', 'socketBuffer', 'maxKeepAliveRequests', 'maxSpareThreads',
'minSpareThreads', 'maxThreads', 'maxHttpHeaderSize' etc. in server.xml file
but in vain.
I have also tried to increase the web service timeout period on redirecting
from machine1 to machine2 but this also did not help.
Any hints?
All sorts of suggestions are appreciated.
Thanks in Advance,
Viorel Jesson Peterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20090813/c01161d0/attachment.html
More information about the jboss-dev-forums
mailing list