It's not a secret anymore!
The moose likes Servlets and the fly likes is Tomcat so unstable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "is Tomcat so unstable?" Watch "is Tomcat so unstable?" New topic

is Tomcat so unstable?

Advait Chitalia

Joined: Mar 24, 2001
Posts: 13
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.
[This message has been edited by Advait Chitalia (edited March 30, 2001).]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
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.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
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.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link:
subject: is Tomcat so unstable?
It's not a secret anymore!