You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Park <jk...@yahoo.com> on 2002/11/15 00:32:55 UTC

coredump using tomcat 3.2.4

hi, All,

We recently experienced a coredump when using an
embedded tomcat servlet engine (version 3.2.4). The
last hint was two stack traces showing socket read
timeouts. The java version we were using is 1.2.2_12
on solaris 2.8. Has anyone seen something similar?

I am not trying to solve the problem here but any
ideas on how to trace the cause of the coredump is
greatly appreciated. 

Thanks a lot,

John

PS: the stack trace looks like:

java.io.InterruptedIOException: Read timed out
        at
java.net.SocketInputStream.socketRead(Native Method)
        at
java.net.SocketInputStream.socketRead(Compiled Code)
        at java.net.SocketInputStream.read(Compiled
Code)
        at java.io.BufferedInputStream.fill(Compiled
Code)
        at java.io.BufferedInputStream.read(Compiled
Code)
        at
org.apache.tomcat.service.http.HttpRequestAdapter.doRead(Compiled
Code)
        at
org.apache.tomcat.core.BufferedServletInputStream.doRead(Compiled
Code)
        at
org.apache.tomcat.core.BufferedServletInputStream.read(Compiled
Code)
        at
javax.servlet.ServletInputStream.readLine(Compiled
Code)
        at
org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Compiled
Code)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled
Code)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
        at java.lang.Thread.run(Compiled Code)
Segmentation Fault - core dumped


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: coredump using tomcat 3.2.4

Posted by shawn <sh...@wnsi.net>.
#] gdb /path/to/executable /path/to/corefile

<...loads all the symbols from the core ...>

(gdb)bt

<.. prints the stack trace of the segfault ..>

I have not done this with tomcat.  your milage may vary.


If you do not have a core you can do it this way....

#]gdb /path/to/executable
(gdb) run -X

( cause your app to crash )

(gdb)bt


On Thursday 14 November 2002 04:32 pm, John Park wrote:
> hi, All,
>
> We recently experienced a coredump when using an
> embedded tomcat servlet engine (version 3.2.4). The
> last hint was two stack traces showing socket read
> timeouts. The java version we were using is 1.2.2_12
> on solaris 2.8. Has anyone seen something similar?
>
> I am not trying to solve the problem here but any
> ideas on how to trace the cause of the coredump is
> greatly appreciated.
>
> Thanks a lot,
>
> John
>
> PS: the stack trace looks like:
>
> java.io.InterruptedIOException: Read timed out
>         at
> java.net.SocketInputStream.socketRead(Native Method)
>         at
> java.net.SocketInputStream.socketRead(Compiled Code)
>         at java.net.SocketInputStream.read(Compiled
> Code)
>         at java.io.BufferedInputStream.fill(Compiled
> Code)
>         at java.io.BufferedInputStream.read(Compiled
> Code)
>         at
> org.apache.tomcat.service.http.HttpRequestAdapter.doRead(Compiled
> Code)
>         at
> org.apache.tomcat.core.BufferedServletInputStream.doRead(Compiled
> Code)
>         at
> org.apache.tomcat.core.BufferedServletInputStream.read(Compiled
> Code)
>         at
> javax.servlet.ServletInputStream.readLine(Compiled
> Code)
>         at
> org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Compiled
> Code)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Comp
>iled Code)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
> Code)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
> Code)
>         at java.lang.Thread.run(Compiled Code)
> Segmentation Fault - core dumped
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>