• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a newbie too...don't know but if you use

code


tomcat4 run





it seems to work.
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bruce - Great! Glad to hear the good news!
Regards, Guy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic