You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Nanda Mounasamy <na...@adone.com> on 2001/08/07 02:49:08 UTC

Total Locks

Hi I am getting an Info like this from weblogic with Cocoon 1.82.
<Aug 6, 2001 8:54:14 PM EDT> <Info> <HTTP>
<[WebAppServletContext(5270786,c2)] [org.apache.cocoon.Engine$Block@3597189]
Total locks for all pages: 1
 
Does anyone know what this (Total locks!!!) means?
 
Thanks

Re: Total Locks

Posted by Jeff Turner <je...@socialchange.net.au>.
On Mon, Aug 06, 2001 at 08:49:08PM -0400, Nanda Mounasamy wrote:
> Hi I am getting an Info like this from weblogic with Cocoon 1.82.
> <Aug 6, 2001 8:54:14 PM EDT> <Info> <HTTP>
> <[WebAppServletContext(5270786,c2)] [org.apache.cocoon.Engine$Block@3597189]
> Total locks for all pages: 1
>  
> Does anyone know what this (Total locks!!!) means?

The Cocoon engine creates a lock for each requested page when it
starts processing the request, and releases the lock when it finishes.
That way, if another request comes in for the same page, it is delayed
until the first thread has generated the content. 

So the message:

> Total locks for all pages: 1

means that one page is being processed.

--Jeff

(who recently transplanted the C1 caching classes into his own servlet:)


> Thanks

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>