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           

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

Reply via email to