Aparna Rajan

Greenhorn
+ Follow
since Sep 18, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aparna Rajan

I think you can refer 'EJB3 in Action' from Manning. It is a good one and covers the basics.

William Brogden wrote:Which version of Tomcat?
Which version of Java?
Operating System?

How long does a typical request/response cycle take?
Are there database calls involved?

Bill



Java 5, Tomcat 5.5, The application is run in different environments (Windows and UNIX) and the problem persists irrespective of the OS.
A typical request that executes successfully takes 10000-15000 milli seconds to execute but the unsuccessful requests finish in 500-800 milli seconds.
There is no data base call involved but there are file reading operations.

Thanks,
Aparna
9 years ago
Hi All,

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,
Aparna
9 years ago
Hi All,

I cleared SCBCD a few months back. I don't have basic knowledge about EJBs. Is it possible to take SCBCD Certification within two months? Does SUN still have SCBCD 1.3 exam? I am comfortable with Head First series. I guess that Head First book for EJB 2 is avaiable in India but teh one for EJB 3 is not. Is that correct? So I am planning to take SCBCD 1.3 instead of SCBCD 5.

Waiting for comments/ suggestions from all RANCHERS.

Thanks in advance,
Appu
SCJP 1.4 91%
SCWCD 1.4 92%
10 years ago