• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Tomcat crashing.

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat occaisonally just bombs out on me, no warnings, logs or hints left for me to look at afterwords. Im running on Windows 2K
prof.
The only thing I can think off is that I have many hundreds of lines of HTML planted in out.println(), which surely has to be the norm for server side. I know if I flush the stream ie out.flush() the crashes are a lot less, though I still get crash tomcat, the crashes are indertiminate and one page can work all the time or no times.
This is bugging me no end, Do I need to go to another servlet engine.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

my first attempt would be to increase the memory property
of a dos shell, in case you are running it in Windows.

Also, "mo_patel" doesn't confirm to the naming policy
on the javaranch. Pl. refer http://www.javaranch.com/name.jsp
and re-register yourself.
Thanks.
- satya
 
mo patel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks done both things. I didnt particularly like changing my id as its the name I use almost every where, I know the "_" is frowned upon in Java better to Capitalise the second word. but hey thats not even the standard here.... Anyway

My real Question is how much memory do you recommend I give to DOS (cmd) boxes in WIN 2K. I will be carrying around large buffers of HTML inline codes, many hundreds of lines. Why the hell dosent Tomcat like the Auto setting for memory any way.
 
mo patel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Increased the memory of the dos cmd the problems still there.
I increased the memory of the dos shell that runs startup.bat as Tomcats starts in another dos cmd shell I assume that the memory parameters are inherited (like UNIX). Is this safe to assume? If not how do I change the memory parameters of the running Tomcat cmd box.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic