extended transactional client, configuring an extended transactional client, WebSphere MQ JMS, WebSphere MQ classes for Java Message Service" />
Home
WebSphere Application Server
If you are using WebSphere MQ JMS, with WebSphere Application Server as your transaction manager, you must perform the following configuration tasks:
- Configure WebSphere MQ Java for use in client mode as described in WebSphere MQ Using Java.
- Configure the interface between WebSphere MQ JMS and WebSphere Application Server. WebSphere MQ Using Java describes how to do this for WebSphere MQ JMS applications that connect to a queue manager in bindings mode. For client mode, you configure the interface in exactly the same way.
To complete the configuration for the extended transactional client, then perform the following task. The procedure you follow depends on which version of WebSphere Application Server you are using. In each procedure, we need to enter the fully qualified path name of the Java archive file, com.ibm.mqetclient.jar, which is installed with the extended transactional function. See Table 17 for this information.
Table 17. The location of the com.ibm.mqetclient.jar file Platform Location of com.ibm.mqetclient.jar AIX /usr/mqm/java/lib/com.ibm.mqetclient.jar For WebSphere Application Server V4:
- Open the WebSphere Application Server Administrative Console.
- In the navigation pane on the left side of the window, expand the following items in sequence:
- WebSphere Administrative Domain
- Nodes
- The name of the system that contains the application server in which you want to run your WebSphere MQ JMS applications
- Application Servers
Then click the application server in which you want to run your WebSphere MQ JMS applications (Default Server, for example).
- In the right side of the window, click the JVM Settings tab.
- In the System Properties section of the page, click Add. An empty row is created in the System Properties table.
- In the Name column of the empty row, type
ws.ext.dirs.
- In the Value column of the empty row, type the fully qualified path name of the Java archive file, com.ibm.mqetclient.jar.
- Click Apply.
- Restart the application server for the changes to take effect.
For WebSphere Application Server V5:
- Start the WebSphere Application Server Administrative Console in your Web browser and log in.
- In the navigation frame on the left side of the page, expand Servers.
- Click the Application Servers link. A list of application servers is displayed on the right side of the page.
- Click the link for the application server in which you want to run your WebSphere MQ JMS applications (server1, for example). A page containing the properties of the application server is displayed. Ensure the configuration properties are displayed by clicking the Configuration tab, if necessary.
- In the Additional Properties section of the page, click the Process Definition link. The Process Definition page is displayed.
- In the Additional Properties section of the page, click the Java Virtual Machine link. The Java Virtual Machine page is displayed.
- In the Additional Properties section of the page, click the Custom Properties link. The Custom Properties page is displayed.
- Click New. A page to enter the name and value of a custom property is displayed.
- In the Name field, type
ws.ext.dirs.
- In the Value field, type the fully qualified path name of the Java archive file, com.ibm.mqetclient.jar.
- Click OK.
- Click Save to save the changes to the configuration. A page containing a confirmation prompt is displayed.
- Click Save to confirm the changes.
- Restart the application server for the changes to take effect.
Home