Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is Tomcat so unstable?

 
Advait Chitalia
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
can you please help me out? I have hosted my site on Tomcat server on Windows NT and as soon as the tomcat server gets a few error/exception in the JSP files, it gives a java.exe error by Dr.Watson agent and finally I have to shutdown tomcat and start again. I can not afford this as the site dissapears as soon as the tomcat shuts down. Also, it looses the session value, so the user who has logged in has to login allover again. Can you tell me why does this happen? Is tomcat so unstable? I tried to install java Web Server on the server but it doesnot support my 'setAttribute()' and 'getAttribute()' methods. It seems that Java Web Server doesnot get this kind of errors so often and thus the server fellow has to shutdown JWS at the most once in 2-3 months. What should I do, please help.
thanx,
advait.
[This message has been edited by Advait Chitalia (edited March 30, 2001).]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have heard that some folks are using Tomcat on commercial sites, so at least some versions are stable.
Version 3.2 is supposed to be stable, which version is giving you a problem?
You could always change the getAttribute and setAttribute to getValue and putValue, but that is a step in the wrong direction. Rather than Tomcat, I would suspect problems in your JSP code.
Bill
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have had TomCat running for 3 straight weeks on an NT box with no problems. I would suggest that there may be other things going on that make the box less than stable.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic