WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Using the sample subscriber and notification programs

This topic describes how to use the two sample subscriber programs that are shipped with Location Awareness Services for WebSphere® Premises Server: sample mail service program and sample alert events subscriber program.

About this task
The sample subscriber and notification programs are referenced in the sample data and can be used to verify your installation. If you do not want to use them, you can deactivate them.
Procedure
  1. In the http_root\htdocs\en_us\wsdl\EmailHandler.wsdl file, make sure that the host_name: portnumber key value pair reflects the real WC_defaulthost port. The sample includes 9080 as the port number.
  2. In the Mail Server portlet, configure your mail server:
    1. Open the WebSphere Application Server administrative console and click Rules/Alerts > Mail Server.
    2. On the Mail Host Configuration page, click Add.
    3. In Host Address, enter the IP address or fully qualified host name of your mail server.
    4. In Port, enter the port number.
    5. In Default Sender, enter your e-mail address.
    6. In Default Subject, enter a default subject line to send with the notification.
    7. Click Save to save your settings.
  3. In the Mail Receiver portlet, specify receiver information for users who should receive notification of specific events:
    Note: Times are relative to times on the database server. The machines that host the database server and WebSphere Application Server must be set to the same time zone.
    1. Open the WebSphere Application Server administrative console and click Rules/Alerts > Mail Receiver.
    2. Click Add New Mail Receiver.
    3. In Receiver Name, enter the name of a receiver.
    4. In Receiver Address, enter the e-mail address of a receiver.
    5. In Week Days, select the days of the week when the receiver should be notified of events.
    6. In Start Time, enter the time when the receiver should start receiving notification each day.
    7. In End Time, enter the time when the receiver should stop receiving notification each day.
    8. In Alert Types, select the type of alerts that the receiver should be notified about.
    9. In Mail Host, select the mail server to associate with the receiver.
    10. Click Save to save your settings.

Deactivate the sample programs

About this task
If you do not want to use the sample programs, perform the following steps:
Procedure
  1. In the Notification Channels portlet, remove the channels related to the programs that you want to deactivate:
    1. Open the WebSphere Application Server administrative console and click Rules/Alerts > Notification Channels.
    2. Select the check box next to the sample programs to remove and then click Delete Selected.
  2. In the Notification Program Manager portlet, remove the entries for the programs that you want to deactivate:
    1. Open the WebSphere Application Server administrative console and click Rules/Alerts > Notification Programs.
    2. Select the check box next to the sample programs to remove and then click Delete Selected.

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.