On Sep 21, 2007, at 2:26 PM, chris monster wrote:

> we may have misunderstood how ping is configured, and thought it  
> was disabled.
> we've left the default conf below, believing that because the url  
> element was
> commented out, there would be no ping enabled.
>     <resin:if test="${isResinProfessional}">
>        <ping>
>          <!-- <url>http://localhost:8080/test-ping.jsp</url> -->
>        </ping>
>      </resin:if>
> is this sufficient to enable PingThread, even though no URL is  
> specified?

Yes.  The PingThread is active in that case.  It does some other more  
minor checks even if there are no URLs.

Were you able to get a thread dump?   One way that situation could  
occur is if the threads completely fill up or the Alarm freezes.  It  
is an indication that something is significantly wrong, most likely  
with some kind of threading issue.

  -- Scott

> Scott Ferguson wrote:
>> The PingThread should only be created if there's a <ping> element (or
>> <resource> with ping).  I just skimmed the code and can't see where
>> it would be allocated with no <ping>.
> --------------------------------------------------------
> Register today for the Algorithmics Risk Conference 2007, September  
> 24 - 26, Cannes, France.
> This email and any files transmitted with it are confidential and  
> proprietary to Algorithmics Incorporated and its affiliates  
> ("Algorithmics"). If received in error, use is prohibited. Please  
> destroy, and notify sender. Sender does not waive confidentiality  
> or privilege. Internet communications cannot be guaranteed to be  
> timely, secure, error or virus-free. Algorithmics does not accept  
> liability for any errors or omissions. Any commitment intended to  
> bind Algorithmics must be reduced to writing and signed by an  
> authorized signatory.
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

resin-interest mailing list

Reply via email to