Mantis - Resin
Viewing Issue Advanced Details
1564 major always 01-17-07 06:59 04-06-07 15:41
rudy Linux  
ferg Red Hat Enterprise  
normal ES release 4  
closed 3.0.19  
fixed  
none    
none 3.1.1  
0001564: Mail-Subject is always empty when using PingMailer
(Reported by Abdul Karim)

Hi there,
We are trying to enable ping on our resin servers.

Resin version: resin-pro 3.0.19
OS: Red Hat Enterprise Linux ES release 4

Everything is working fine, the server restarts when there is a problem
and an email is sent out. However the subject line on the email appears
as blank, no matter what I enter in the subject line its always appears
empty. I am using the config below:

<ping resin:type="com.caucho.server.admin.PingMailer">
         <url>http://localhost:7777/search</url> [^]
        <sleep-time>5m</sleep-time>
        <try-count>5</try-count>
        <socket-timeout>30s</socket-timeout>
        <mail-to>support-email-address</mail-to>
        <mail-from>resin-server@localhost</mail-from>
        <mail-subject>Resin ping has failed for server
localhost</mail-subject>
    </ping>


I have also tried to wrap the text in quotes, move the <mail-subject>
before the <mail-to> tag, also removing the mail-subject tag (the
documentation say it will use the default text for the mail-subject, if
its not set?) however we still receive the subject as empty?


There are no notes attached to this issue.