Creating an activation specification for event logging

Before you install the IBM® Sametime® Gateway samples EAR file that is available from the Sametime Software Developer's Kit, you must create an activation specification in WebSphere® Application Server. The samples EAR file contains an application that makes reading the event log possible.

Before you begin

The event logging feature is available only for a clustered deployment. When you configure the Sametime Gateway cluster, the Common Event Infrastructure data source is installed automatically.

Procedure

  1. From the Integrated Solutions Console, click Service Integration > Buses.
  2. Select cellName.Bus, and then click Destinations.
  3. Click the destination with one of the following names:
    • Single server installation: node.server.CommonEventInfrastructureTopicDestination where node is the node name and server is the Sametime Gateway Server server name.
    • Cluster: cluster_name.CommonEventInfrastructureTopicDestination where cluster_name is the name of the cluster.
  4. Click Publication Points.
  5. Using a text editor, copy and paste the long name for use later. For example (the following is all on one line but split over two lines here for printing purposes):
    dibby.RTCGWServer.CommonEventInfrastructureTopic
    Destination@dibby.RTCGWServer-CommonEventInfrastructure_Bus
  6. From the Integrated Solutions Console, click Resources > JMS > Activation Specifications.
  7. In scope, select one of the following:
    • For single server installations, select the server level. For example: Node=dibby, Server=RTCGWServer
    • For cluster installations, select the cluster: cluster=clusterName; for example: cluster=SametimeGatewayCluster.
  8. Click New.
  9. With Default messaging provider selected, click OK.
  10. Type any name in the Name field. For example:
    CEI_Topic_ActivationSpec
  11. For the JNDI Name, type:
    jms/cei/TopicActivationSpec
  12. For the Destination type , select Topic.
  13. For the Destination JNDI Name, type the following:
    jms/cei/notification/AllEventsTopic
  14. For the Bus name, select cellName.Bus.
  15. For the Subscription durability, select Non-durable.
  16. For the Subscription name field, paste the long name that you copied in Step 5. For example (the following is all on one line but split over two lines here for printing purposes):
    dibby.RTCGWServer.CommonEventInfrastructureTopic
    Destination@dibby.RTCGWServer-CommonEventInfrastructure_Bus
  17. For the Client identifier field, paste the portion that comes before the @ symbol. For example:
    dibby.RTCGWServer.CommonEventInfrastructureTopicDestination
  18. For the Durable subscription home field, select the portion that comes after the @ symbol. For example:
    dibby.RTCGWServer-CommonEventInfrastructure_Bus
  19. Click OK, and then Save.