tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl" <>
Subject Re: Tomcat dies suddenly
Date Fri, 12 Feb 2010 21:44:37 GMT

I was preparing to try out your checking the jvm exit code and noticed (drum 
roll) that this morning's failure left a core dump in the tomcat/bin 

Opening it with gdb -c yielded:

This GDB was configured as "x86_64-slackware-linux".
(no debugging symbols found)
Core was generated by 
`/usr/local/java/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf'.
Program terminated with signal 11, Segmentation fault.

This Tomcat is straight out of the box except for some modifications to 
JAVA_OPTS in tomcat/bin/ and opening up ports and turning on SSL 
in tomcat/conf/server.xml.  There is a file in 
tomcat/conf.  How does this line:

`/usr/local/java/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf'

know that it is supposed to use the file if that is the 
problem?  Or, is there some other problem?

Now, this is embarrassing: I just checked the other server and it also has a 
core file with the date and time of the last failure in the tomcat/bin 
directory.  And, it shows a seg fault at exactly the same code.

This might be a winner... we certainly know it killed the java process.



----- Original Message ----- 
From: "Christopher Schultz" <>
To: "Tomcat Users List" <>
Sent: Friday, February 12, 2010 3:01 PM
Subject: Re: Tomcat dies suddenly

> Hash: SHA1
> Carl,
> On 2/12/2010 2:42 PM, Carl wrote:
>> Great ideas (did you see Chris's response with a way of testing the exit
>> code?)
> [snip]
>> There is no native code in the application (used to do a lot of work in
>> C and I am familiar with mayhem of buffer overruns, pointer screwups, 
>> etc.)
> If you get really desperate, you can also run the jvm inside of strace
> and get ready for a huge log file. It's possible that you'll see the jvm
> fail on the same function call every time, and you'll get more
> information about the problem. strace will show you if a signal
> terminated the process, or if some other call killed it (like exec(),
> which would sure do a number on your JVM).
> - -chris
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla -
> iEYEARECAAYFAkt1s58ACgkQ9CaO5/Lv0PB8YQCgq0kuu87WVbPy0P40vFFHyPJW
> RUsAn1dzTKz2NTm7HAKAK7xeAWJS/2hd
> =2HBr
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message