wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes What is core.nnnn file? (nnnn is a 4-digit number) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "What is core.nnnn file? (nnnn is a 4-digit number)" Watch "What is core.nnnn file? (nnnn is a 4-digit number)" New topic
Author

What is core.nnnn file? (nnnn is a 4-digit number)

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
Every time I start tomcat. I see the messages:

using CATALINA_HOME /var/tomcat/..
using CATALINA_BASE /var/tomcat/..
using JAVA_HOME /usr/jdk1.3
It appears that Tomcat started normally. I see the box cranking. I see from ‘top’ screen that a few java threads started. However, when the cranking ends, all java threads end too. Address http://localhost:8080/ shows page not found.
The strange thing is that after this I always get a big binary file named core.nnnn in the bin folder. The file is about 40 Mb in size!
I have Mandrake 8.0 installed.
What’s happening?
Thanks
Bruce
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
Bruce - the core.nnnn file is undoubtedly a 'core image' or 'dump' file. The system will usually create these when an application crashes hard (for particular reasons).
Geven the scenario you describe, this would seem to mean there is something seriously wrong with your copy of tomcat and/or it's installation and configuration.
Have you tried uninstall/reinstall of tomcat?
Did you uninstall kaffe and/or jikes before you installed Sun's JDK?
Can you get just a 'hello world' java program to run?
I know this is not much help. You definitely have a problem.
Anybody else got any thoughts?
Regards, Guy
sonny kher
Ranch Hand

Joined: Nov 06, 2001
Posts: 83
I am a newbie too...don't know but if you use

code


tomcat4 run





it seems to work.


_ __________________ _ <br />RHCE<br />SCJP<br />??:-(
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
Thanks Guy for the info.
I don’t have jikes and kaffe on the Linux box. jdk1.3.1 seems installed OK since I can compile and run java programs. I will try to unsitall/reinstall Tomcat as you suggested.
Bruce
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
I read Tomcat release notes again and found that Tomcat crashes on jdk 1.3 is a known problem. use this command took care of this.
ulimit -s 2048
Now my Tomcat is finally running on my little Linux!
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
Bruce - Great! Glad to hear the good news!
Regards, Guy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is core.nnnn file? (nnnn is a 4-digit number)
 
Similar Threads
tomcat problem
compiling and deploying into Tomcat
JSTL Configuration (was: tomcat installation)
Install Tomcat on Linux
Tomcat newbie very simple question.