Hi Ben,
To interrupt a sleeping thread you have make it throw an
InterruptedException. This is just a normal side-effect of programmatically
swapping threads. It shouldn't be logged, IMO, but it is, and it causes
people to ask about it frequently.
Scott Stirling
JRun QA
Macromedia
> -----Original Message-----
> From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 1:08 PM
> To: JRun-Talk
> Subject: what is "Exception while swapping" ?
>
>
> In an attempt to debug what appears to be a lockup we turned
> debug on in
> logging. One thing we see is this:
>
> --
> 08/07 16:04:43 info (JRun) f_req_drw_Servlet.doGet END
> 08/07 16:05:00 debug (web) web-480 caught Exception while swapping
> [java.lang.InterruptedException]
> java.lang.InterruptedException
> at allaire.jrun.http.WebService.swapRunnable(WebService.java:118)
> at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java:223)
> at allaire.jrun.WorkerThread.run(WorkerThread.java:77)
>
> 08/07 16:05:10 debug (web) Limiting InputStream read to '-2' bytes to
> maintain keepalive.
> 08/07 16:05:10 info (JRun) f_req_drw_Servlet.doPost BEGIN
> --
>
> The END / BEGIN info's signify our code appears fine. Can
> someone clue
> me in on what this might mean? Thanks, BenG.
>
> --
> Ben Groeneveld
> Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
> Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists