Enabling Calendar Alerts to Result
in Instant Messaging Alerts
1) Modify the IM config file /etc/opt/SUNWiim/default/config/iim.conf and append the following lines to the bottom of the file: (note jms.provider.ens.broker must be set to your fully qualified host name. The service on port 57997 is already started by the start up scripts)
!
calendar event config
jms.consumers=cal
jms.providers=ens
jms.provider.ens.broker=hostname.domainname:57997
jms.provider.ens.factory=com.iplanet.ens.jms.EnsTopicConnFactory
!
jms.consumer.cal.destination=enp:///ics/customalarm
jms.consumer.cal.provider=ens
jms.consumer.cal.originator=hostname.domainname
jms.consumer.cal.type=topic
jms.consumer.cal.factory=com.iplanet.im.server.JMSCalendarMessageListener
jms.consumer.cal.param="eventtype=calendar.alarm"
2) Restart IIM server for changes to take effect:
cd
/opt/SUNWiim/sbin/
./imadmin refresh
3)
Modify the calendar's config file /etc/opt/SUNWics5/config/ics.conf
Make sure the following attributes are un-commented and set
correctly:
caldb.serveralarms
= "yes"
caldb.serveralarms.dispatch = "yes"
caldb.serveralarms.url = "enp:///ics/customalarm"
caldb.serveralarms.contenttype = "text/xml"
caldb.serveralarms.dispatchtype = "ens"
4) Restart Calendar Server for the configuration changes to take effect:
cd /opt/SUNWics5/cal/sbin/
./stop-cal
./start-cal