2 Replies Latest reply on Dec 21, 2006 11:39 PM by Rama D

    EMailing Jboss events to administrator

    Rama D Newbie

      I have a jboss on which Quality Center server runs.

      I want administrator to be notified when a Jboss error occurs. For this I have configured log4j.xml file but mails were not sent. (I have restarted the QC service after these changes)

      Following are the configuration details:

      <!-- EMail events to an administrator -->













      Do I need to change the configuration in mail-service.xml file located at "..\Mercury Interactive\Quality Center\jboss\server\default\deploy\"

      Jboss version is 3.2.5

      Can anybody help me in resolving this issue.

        • 1. Re: EMailing Jboss events to administrator
          Rama D Newbie

          In the above post tags were not rendered, I am copying them here:












          • 2. Re: EMailing Jboss events to administrator
            Rama D Newbie

            No luck in previous post too, so I am copying them here without greater than and less than tags:

            appender name="SMTP" class="org.apache.log4j.net.SMTPAppender"
            errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/
            param name="Threshold" value="ERROR"/
            param name="To" value="My email address"/
            param name="From" value="qualitycenter@mycompany"/
            param name="Subject" value="JBoss Sever Errors"/
            param name="SMTPHost" value="SMTP HOST Address"/
            param name="BufferSize" value="10"/
            layout class="org.apache.log4j.PatternLayout"
            param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/
            /layout
            /appender