aspose file tools
The moose likes Tomcat and the fly likes Is Tomcat stable? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Is Tomcat stable?" Watch "Is Tomcat stable?" New topic
Author

Is Tomcat stable?

joechl
Greenhorn

Joined: May 14, 2002
Posts: 5
Tomcat is running as service,but I can't visit the jsp pages just as it's not running,I restart the service for tomcat,it's ok now.Why Tomcat like that?
Simon Harvey
Ranch Hand

Joined: Jan 26, 2003
Posts: 79
I can say for certain that tomcat is definately stable.
I cant say for sure because I dont know about your configuration but there are times when you need to restart tomcat in order to get the service to update itself if you have made changes. I dont think this should happen with jsp pages but I really cant be sure. I think there is also a way to setup tomcat so that it wont need restarts if you add another servlet. I think this involves something called the "invoker"
I hope that helps or reasures you somewhat
Simon
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
You can add and remove entire "web applications" without stopping tomcat using the management functions. Supposedl you can even deploy a new application from a WAR file but I have not tried it.
Bill


Java Resources at www.wbrogden.com
joechl
Greenhorn

Joined: May 14, 2002
Posts: 5
I mean tomcat is running as windows 2000 service,It seems put off after some days or the too many visiting times,but service status show tomcat'server on.I can't visit any jsp pages.when I restart it,everything is ok,what does result from tomcat like that?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
I'm assuming you have IIS as the primary web server - how did you configure the connector?
Is it just JSP or are servlets affected too?
I would like to follow up on this since I am trying to set up exactly the same configuration.
Bill
joechl
Greenhorn

Joined: May 14, 2002
Posts: 5
I haven't any primary web server,I use tomcat as web server also.Jsp,servlet and html all are effected.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
Do the log files show anything of interest?
How about the task manager - does it show the process consuming CPU cycles - total memory use?
Bill
Larry DeForest
Greenhorn

Joined: Jul 08, 2003
Posts: 2
I have what I think is a similar problem. A web site using Tomcat 4.1, JSDK 1.4, and mySQL.
There is a logon JSP for administration use and
after a period of time/ or number of uses it fails. The catalina.out log only shows SQL error
but nothing more. The database seems to connect ok and most of the time not a problem, just every so often it fails. In order to get it to function again after it fails, I have to shutdown tomcat and then re-start, then it is fine for awhile. The site was developed by another person now no longer available. I am a real newbie, but am trying to read all I can about Tomcat and hope to
be able to get this corrected... If anyone has some thoughts that would point me in the right direction, I'd really appreciate the help.
Thanks in advance, Larry
PS the OS is Linux 8
[ July 08, 2003: Message edited by: Larry DeForest ]
[ July 08, 2003: Message edited by: Larry DeForest ]
 
 
subject: Is Tomcat stable?
 
Threads others viewed
Help! For Installing Tomcat 5 As Service In Windows 2000!
webservice as awindows service
graceful windows command line shutdown
java.net.BindException: Address already in use
Two Tomcat installation?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com