RE: AW: Tomcat5 and Servlet Timeout: Possible?

2004-09-08 Thread Shapira, Yoav

Hi,
I would investigate the JDK bug more, and maybe switch to a different
JDK version, if I were you.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach
Sent: Tuesday, September 07, 2004 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: AW: Tomcat5 and Servlet Timeout: Possible?

SH Solutions wrote:

So if one thread hangs, it hangs forever.
If it blocks other threads, the whole app hangs...

 So, yes, if you application has a bug, it has a bug.

Well, unfortunately it is not my application that has this bug, but it
seems to be the JDK: The thread hangs in SocketOutputStream.write0() (a
native method that is called by write()).

 I would NOT want tomcat to kill one of my threads, doing security-
relevant
 modifications in some kind of transaction.

What's the problem? Isn't it the whole reason for transactions that the
whole thing completes or not?

Regards,

Andreas


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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: AW: Tomcat5 and Servlet Timeout: Possible?

2004-09-07 Thread Andreas Schildbach
SH Solutions wrote:
So if one thread hangs, it hangs forever.
If it blocks other threads, the whole app hangs...
So, yes, if you application has a bug, it has a bug.
Well, unfortunately it is not my application that has this bug, but it 
seems to be the JDK: The thread hangs in SocketOutputStream.write0() (a 
native method that is called by write()).

I would NOT want tomcat to kill one of my threads, doing security-relevant
modifications in some kind of transaction.
What's the problem? Isn't it the whole reason for transactions that the 
whole thing completes or not?

Regards,
Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]