tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
Subject Re: looking for insight on invoking Thread.sleep() from a tomcat servlet
Date Mon, 30 May 2005 04:21:13 GMT
Clark O'Brien wrote:

>Can someone provide insight on the adverse affects of
>invoking sleep() from a servlet. I understand that the
>J2EE explicitly forbids invoking sleep from within a
>servlet and it is not hard to figure out this could
>cause problems given that a single tomcat thread may 
>service multiple requests. But I still see
>applications that break this rule so I would like to
>hear ideas on this.
I haven't noticed any problem here.  Our in house JDBC conn  pool used 
thread.sleep as well as a lot of other code.



Use Rojo (RSS/Atom aggregator)! - visit 
See #rojo if you want to chat.

Rojo is Hiring! -

   Kevin A. Burton, Location - San Francisco, CA
      AIM/YIM - sfburtonator,  Web -
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message