atom feed17 messages in org.apache.tomcat.usersRe: Best Practices Question
FromSent OnAttachments
ach...@saysit.comSep 29, 2002 1:44 am 
ach...@saysit.comSep 29, 2002 4:20 am 
ach...@saysit.comSep 29, 2002 4:23 am 
ach...@saysit.comSep 29, 2002 4:26 am 
Barry MooreSep 29, 2002 3:39 pm 
V. CekvenichSep 29, 2002 5:31 pm 
Kent PerrierSep 29, 2002 6:07 pm 
Craig R. McClanahanSep 29, 2002 6:39 pm 
Oskar BartensteinSep 29, 2002 8:30 pm 
Craig R. McClanahanSep 29, 2002 10:17 pm 
Oskar BartensteinSep 30, 2002 1:10 am 
Turner, JohnSep 30, 2002 5:35 am 
Turner, JohnSep 30, 2002 5:38 am 
Step...@bmwfin.comSep 30, 2002 5:38 am 
Craig R. McClanahanSep 30, 2002 9:22 am 
Glenn NielsenSep 30, 2002 1:13 pm 
Glenn NielsenSep 30, 2002 1:45 pm 
Subject:Re: Best Practices Question
From:Oskar Bartenstein (osk@ifcomputer.co.jp)
Date:Sep 29, 2002 8:30:18 pm
List:org.apache.tomcat.users

Sun, 29 Sep 2002 18:39:54 -0700 (PDT) "Craig R. McClanahan"
<crai@apache.org> said:

IMHO, anyone who goes to all the extra effort of configuring Apache+Tomcat, instead of Tomcat alone, is nuts unless they need it. Valid reasons to need it include:

I am pondering one more: reducing interruption of service.

Tomcat can handle many webapps with ease, and you can allow as many threads as you need to serve your users.

But when a single servlet gets stuck, you have to restart the whole Tomcat machinery, taking down all running webapps, possibly loosing session data and certainly interrupting service to all users, including those completely unrelated to the hanging servlet. My experience is based on Tomcat 4.0.3 and 3.x only. I searched quite a while but failed to find a way to monitor and catch individual runaway servlet threads. Please correct me if I am wrong.

In that respect, with due appreciation for this great work, I think standalone Tomcat does not scale well.

To avoid this, Apache just working as a proxy on port 80 for many independent instances of Tomcat on their own ports seems a feasible solution.

From experience, I dislike the idea of going back to Apache+Tomcat.

Both are fine by themselves, but the combi is a hassle.

Any hints for better alternatives to reduce the impact of stuck servlets?