The swapRunnable and run methods clearly point to Thread execution in JRUN.
My guess is that you have a thread conflict, or possible a "race" condition
between two execution threads, which is causing your product to "lock-up"
while waiting for one of the threads to complete execution.  Without seeing
your code I am making a total guess, but is your servlet code designed to be
multi-threaded, or did you design it to be single threading only?  If it is
designed to be multi-threaded, did you synchronize the methods in your
servelet class that require synchronization.  Also, if your servlet is
accessing your db, are you using a driver that can implement connection
pooling (i.e. pull a connection thread out of the connection pool), and if
so, did you select the connection pooling checkbox in the JRUN JDBC console?
Those are just a few educated guesses as to the things I would look into
without knowing more about your servlet code.

Hope this helps!!!

Celeste

       

-----Original Message-----
From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 12: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

Reply via email to