This section describes the steps required to configure WebSphere Application Server 6.1 to use TIBCO Enterprise Message Service as its JMS provider. The configuration process is described in the following steps:After the application server is configured, the section Run the Sample Application Clients gives steps for running the sample Java clients to test the configuration.This section assumes that an MDB is already configured in the WebSphere Application Server, and that the required administered objects have been created in the EMS server, as described above in Create TIBCO Enterprise Message Service Administered Objects.
3. In the WebSphere navigation pane, choose Resources > JMS > JMS providers.
4. In the content pane, click the New button.
EMS_HOME\lib\tibjms.jar External Initial Context Factory
6. Click the OK button.
7. Click the Apply button.For more information about this task, review the WebSphere Application Server documentation for defining a generic JMS provider.Create a Topic Connection Factory
1.
2. In the content pane, click the New button.
3.
5. Click the OK button.Create a Queue Connection Factory
6.
7. Click the New button.
8.
10. Click the OK button.
11. Click the Save button.This section describes how to bind the EMS topics sample.listen and sample.weather and queue sample.Q1 in WebSphere.
1. In the WebSphere navigation pane, choose Resources > JMS > Topics.
2. In the content pane, click the New button.
3. Choose TIBCO.
5. Click the OK button.
7. In the WebSphere navigation pane, choose Resources > JMS > Queues.
8. In the content pane, click the New button.
9. Choose TIBCO.
11. Click the OK button.
12. Click the Save button.This section creates the WebSphere listener ports that connect to the tibemsd. You create two listener ports:
• TIBCOPubSubListenerPort for the configured topics.
• TIBCOPtoPListenerPort for the configured queue.
1. In the WebSphere navigation pane, choose Servers > Application servers, and choose the name of the application server.
2. In the content pane, scroll down to the Communications section and click Message Listener Service.
3. In the content pane, select Listener Ports.Create a Listener Port for Topics
4. Click the New button.
6. Click the OK button.Create a Listener Port for a Queue
7.
8. Click the OK button.
9. Click the Save button.For more information about this task, review the WebSphere Application Server documentation for adding a new listener port.This section describes the steps needed to install your MDB for the topic and queue listeners created above, in Create new Listener Ports.
1. In the navigation pane, choose Applications > Enterprise Applications.
2. In the content pane, click the Install button.
3.
4. Click the Next button.
5.
6. Click the Next button.
7. Click the Next button to accept the default module to application server mapping.Note that this mapping can be modified only if you have more than one WebSphere application server configured.
8. Change the value of the Listener Port Name to TIBCOPubSubListenerPort.
9. Click Next.
10. Click Finish to complete the installation.
11.
12.
13. In the content pane, click the Install button.
14.
15. Click the Next button.
16. Change the Application name to test_queue.
17. Click the Next button.
18. Click the Next button to accept the default module to application server mapping.Note that this mapping can be modified only if you have more than one WebSphere application server configured.
19. Change the value of the Listener Port Name to TIBCOPtoPListenerPort.
20. Click Next.
21. Click Finish to complete the installation.
22. Restart the Application Server
24. After the application server has restarted, use the WebSphere Administrative Console to verify that the new listener ports are in their proper initial state.To do this, expand Servers > Application Servers, then choose your server name in the content pane, then on Message Listener Service and then on Listener Ports. The new TIBCO listener ports should have a solid green arrow under the status column indicating that they are started.For more information about this task, review the WebSphere Application Server documentation for configuring deployment attributes for a message-driven bean.In this section, you run the sample Java clients included with your TIBCO Enterprise Message Service installation. If this is the first time you have used these sample clients, you will need to compile them before following the steps described here.
1.
2.
3.
4. Open the WebSphere application server log, located in <installation_directory>\logs\<your server>\SystemOut.log, and verify that the WebSphere MDB consumed the sent messages. The log should contain messages sent to the following destinations:
Copyright © TIBCO Software Inc. All Rights Reserved.