Database Emergency E-mail

To send an e-mail notification to emergency support contacts, if the Redcell database becomes unavailable do the following:

1. In the file owareapps/installprops/lib/installed.properties add the following property:

oware.monitor.database=true

2. Ensure that the following Email MBean properties are set:

SMTPHost

DefaultSenderAddress

EmergenyContacts

The emergenyContacts attribute is a comma-separated list of e-mail addresses for the recipients of emergency notifications. The following describes where to set these:

Open the file $OWARE_USER_ROOT/oware/jboss-x.x.x/owareconf/oware-service.xml in a text editor. The following section contains the configuration for the email MBean:

<!-- Email MBean -->

<!-- Change the SMTP Host attribute below to point to the right SMTP server -->

<mbean code="com.dorado.mbeans.OWEmailMBean"

name="oware:service=OWEmailMBean">

<attribute name="SMTPHost">smtp.doradosoftware.com</attribute>

<attribute name="Port">25</attribute>

<attribute name="UserName"></attribute>

<attribute name="EmergencyContacts"></attribute>

<attribute name="DefaultSenderAddress">redcell@doradosoftware.com</attribute>

<attribute name="MaxRatePerMinute">200</attribute>

<depends>jboss:service=@PART_NAME@Partition</depends>

<depends>oware:service=ClusterPrimaryDesignator</depends>

<depends>jboss.j2ee:jndiName=RuleEngine,service=EJB</depends>

</mbean>

This file’s settings override the Graphical User Interface settings for mail described in the Properties chapter of the Common Services Guide.