On Fri, 16 Mar 2001 09:44:46 -0800 (PST), Bill Graham wrote:
>Frank,
>
>Thanks for the reply. I'm going to start tryiong to
>debug Tomcat and see what this NullPointer is.
>Let me know if you get anywhere and I'll do the same.
>
>One thing I've read about and experienced was bad
>performance with IBM's vm on Linux w/ Tomcat. You
>might want to try Sun's vm and see if it gets any
>better.
Only don't run in Hotspot mode. Run it in -classic mode.
Because due to some bug in hotspot compiler the JVM
crashes with tomcat. It's a recognized Sun's bug and
funny enough, all the bug reports on that are about
Tomcat -- a rich collection from 3.0 to 3.2b.xy!
(sorry, i've lost the bug id somhow .. :-( )
>Regardless though, I still think something's buggy
>in Tomcat.
>
>bill
>
>
>--- "Lucero, Frank J" <[EMAIL PROTECTED]>
>wrote:
>> 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/
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Get email at your own domain with Yahoo! Mail.
>http://personal.mail.yahoo.com/
>http://personal.mail.yahoo.com/
Best regards,
Tagunov Anthony