Alleluia.... Its working now.. Thanks... It seems it was all messed up
because i had a few java installed mixed up with tomcat installed between 2
version.. anyway. thanks.

I gonna build up a vmware to keep a clean install just in case i scrap it :)

thanks.

-----Message d'origine-----
De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Envoy� : 14 ao�t, 2002 14:34
� : Tomcat Users List
Objet : Re: Run away servlet in Tomcat




On Wed, 14 Aug 2002, Samuel Cheung wrote:

> Date: Wed, 14 Aug 2002 14:25:14 -0500
> From: Samuel Cheung <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: Run away servlet in Tomcat
>
> Hi,
>
> How does Tomcat handle a run away servlet? (I mean tomcat gets a request,
it
> call a servlet to handle it,  that servlet stuck in an infinite loop)
>

Tomcat doesn't deal with this situation.

> Can tomcat still handle new requests to same/other servlet?

Sure, although ultimately the competition for CPU time is going to have
adverse effects on response time.

>  Can we config
> tomcat to kill certain request if it does not finish execution within a
time
> period?

You'll have to arrange for that yourself, by starting a background
"watchdog timer" thread or something.  Tomcat doesn't have anything like
that -- it assumes that you've programmed your servlets correctly.

>
> Thank you.
> Sam

Craig


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
Messages de confidentialit� 

Ce courriel (de m�me que les fichiers joints) est strictement r�serv� �
l'usage de la personne ou de l'entit� � qui il est adress� et peut contenir
de l'information privil�gi�e et confidentielle. Toute divulgation,
distribution ou copie de ce courriel est strictement prohib�e. Si vous avez
re�u ce courriel par erreur, veuillez nous en aviser sur-le-champ, d�truire
toutes les copies et le supprimer de votre syst�me informatique. 

Merci. 

Confidentiality Notice 

This communication (including any files transmitted with it) is intended
solely for the person or entity to whom it is addressed, and may contain
confidential or privileged information. The disclosure, distribution or
copying of this message is strictly forbidden. Should you have received this
communication in error, kindly contact the sender promptly, destroy any
copies and delete this message from your computer system. 

Thank you.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to