Bill, 

I'm doing about the same thing.  I'm running the following:
apache 1.3.19
Tomcat 3.2.1
IBMJava2-SDK-1.3-5.0.i386.rpm
classes12.zip (from Oracle)

I am using LoadRunner with a 100 simulated users accessing 9 Oracle JSPs.
I'm running
this 100 times. It fails about 8 out of 10 times.

What i have found is that even if you only run 10 users, but run
the scenario 1000 and it fails at about half way through.  

I've been running with both mod_jk in Apache and also native tomcat with the
same results
so I'm sure the problem is with tomcat.  ...but not sure exactly where or
what to do to fix
it.  If you find anything, please let me know.
regards,



-----Original Message-----
From: Bill Graham [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 9:14 PM
To: [EMAIL PROTECTED]
Subject: Linux-Tomcat-ThreadPool NullpointerException


I'm just getting started with Tomcat and the first
thing I'm doing
is some load testing. I'm using VA Linux with Tomcat
3.2.1 and the Sun
j2re1.3 VM. When hitting Tomcat with 60 threads each
making 1000 requests,
I periodically will get the following excepion on my
client machines:

        java.net.SocketException: Connection reset by peer:
Connection reset by peer

and following excepion on hy server machine:

        2001-03-16 03:20:24 - ContextManager: Error reading
request, ignored -      java.lang.NullPointerException
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
        (HttpConnectionHandler.java:191)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

Of the 20k requests made, I'll get about 60 errors on
the first run, which might be
exceptable but on subsequest runs They's incread up to
about 150. By the third or
fourth run, some or all of my client machines will
hang while waiting for responses.
This is not acceptable. I'm about to start diggin into
the tomcat source but would
love it if someone has solved (or knows how to soleve)
this problem already.

anyone?

- bill

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to