Rachapudi, Sailaja wrote:
>
> I am trying to implement the ping functionality for the resin server. 
> The following is from the resin.conf file
>
>  
>
> <resin:if test="${isResinProfessional}">
>
>      <ping resin:type="com.caucho.server.admin.PingMailer">
>
>          <url>http://localhost:8080/ping.jsp</url>
>
>          <sleep-time>2m</sleep-time>
>
>          <try-count>2</try-count> 
>
>          <socket-timeout>30s</socket-timeout>
>
>  
>
>          <mail-to>[EMAIL PROTECTED]</mail-to>
>
>          <mail-from>[EMAIL PROTECTED]</mail-from>
>
>          <mail-subject>Resin ping has failed for server 
> ${server.name}</mail-subject>
>
>       </ping>
>
> </resin:if>
>
>  
>
> Ping works. And when the ping fails, the server is getting restarted. 
> But no email is being sent.
>
>  
>
> Any help appreciated !
>
>  
>
> Thanks,
>
> Rachaps          
>
>   
I've never used it so this may be bogus, but I don't see a definition of 
a mail server to use there.
> ------------------------------------------------------------------------
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 15/04/2007 
> 16:22
>   


-- 
--------------------------
http://www.phonewebcam.com
[EMAIL PROTECTED]



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to