Sun Java System Calendar Server 6.3 Administration Guide

ProcedureTo Configure Instant Messaging Server

The high level list of tasks necessary to configure Instant Messaging for Pop-ups that follows is for your convenience. To configure Instant Messaging, refer to the Instant Messaging documentation available at:

  1. Install the new package SUNWiimag.

    Before you can use Instant Messaging for Pop-ups, the Instant Messaging package must be installed using the Java Enterprise System installer.

  2. On the machine where Instant Messaging is installed, change to the following directory:

    cd /etc/opt/SUNWiim/default/config

  3. Edit one or more of the parameters in the iim.conf file as shown in the following table.

    The parameter values shown assume you want pop-up reminders for both events and tasks. If these parameters do not already exist in your iim.conf file, add them.


    Description and Appropriate Value to Use 

    JMS Consumers Section 



    Name of alarm. Set the value to cal_reminder.


    Destination of the alarm. Set the value to enp:///ics/customalarm 


    The name of the provider. Set to ens. This must be the same as the name in jms.providers in the JMS Providers section.


    The type of alarm to set. Set the value to topic.


    The alarm parameter. Set the value to "eventtype=calendar.alarm" (including the quotes)


    C++ factory name. Set the value to:

    JMS Providers Section 



    The name of the provider. Set value to ens. This must be the same as the value listed in the JMS Consumers Section for jms.consumer.cal_reminder.provider.

    Port number that ENS listens on. Set to the port specified in the ics.conf file parameter service.ens.port. The default is 57997.


    C++ factory to use. Set to com.iplanet.ens.jms.EnsTopicConnFactory

    Calendar Server General Parameters 



    Enables the Calendar agent. Set the value as follows including the quotes: 



    Loads a component that enables the Calendar agent. Set the value as follows including the quotes: 



    The JID of the Calendar agent. Set this value as follows: 



    The Calendar agent password. Set this value as follows: 



    Set this value as follows: 


  4. Change to the directory where the imadmin command-line utility is located:

    cd /opt/SUNWiim/sbin

  5. Start the Calendar agent using imadmin:

    imadmin start agent-calendar

    The Calendar agent is an Instant Messaging component that provides pop-up functionality to Calendar Server users. Using tools provided with Instant Messaging, you can start, stop, restart, or check the status of the Calendar agent as well as monitor its activity through log files.

    Note –

    If you have scripts that include the stop, start, and refresh commands, add the calendar agent to them.

    For more information about imadmin and the Calendar agent, see the Sun Java System Instant Messaging 7 2005Q1 Administration Guide.