I kinda think that Tomcat is unstable. The same code works sometimes, but not some other time. And, if you recompile a servlet, Tomcat sometimes reports that the class has been updated, sometimes, it does not. Sometimes, tomcat gives you tons of exceptions in the browser, saying that it has an internal error which prohibits it from compeleting the request. Does this also mean it's a tomcat problem instead of my code? What do you people think? Any other better alternatives than Tomcat for servlet and JSP containers? Has any of you tried Orion? How is it? [ March 18, 2002: Message edited by: Gene Chao ]
You can try servletexec from NewAtlanta. They charge about $600-$700 per CPU. The 3 concurrent user development license is free. We used it at Avis-Rent-A-Car and were very happy with it. http://www.newatlanta.com/
It sounds like the "instability" has more to do with whether or not Tomcat picks up properly on dynamic changes to the webapps. Certainly I've never seen any recent Tomcat just arbitrarily start to malfunction unless I was modifying app components on it. Detection of system changes is tricky since multiple classloaders can be involved. Indirect changes may be done that require considerable detective work to get right. These are considerations that any appserver has to deal with. For myself, I just follow a rule that JSP changes I do "hot", but changes to Java classes I cycle Tomcat down and back up. It doesn't take that long, and that way I know everything's in sync.
An IDE is no substitute for an Intelligent Developer.
Joined: Jun 23, 2001
For myself, I just follow a rule that JSP changes I do "hot", but changes to Java classes I cycle Tomcat down and back up. It doesn't take that long, and that way I know everything's in sync.
I do the same thing too. I guess years of working on DOS/windows makes it kind of automatic . You can also use the manager application to force a reload of the classes for a webapp. Maybe someone can tell us how effective the manage app is.
Not so good. Kinda flakey. Doesn't always perform as advertised. This was on a Solaris box running Tomcat 4.0.1, and I'd make a change, use the manager app to restart the app, but the changes were not reflected.