Determining the maximum number of connections allowed for the Adapter for WebSphere MQ

To determine the maximum number of ManagedConnections for the JCA-JMS connector, you must perform these steps on the WebSphere Commerce machine.

Procedure

  1. In the WebSphere Application Server Administrative Console navigation tree, expand Applications > Application Types and select WebSphere enterprise applications.
  2. In the list of enterprise applications, click WC_instance_name where instance_name is the name of your WebSphere Commerce instance.
  3. Under Modules, click Manage Modules.
  4. In the list of connector modules, click Adapter for WebSphere MQ. The Enablement-JCAJMSConnector.rar page displays.
  5. In the Additional Properties section on the Enablement-JCAJMSConnector.rar page, click Resource Adapter. The WC_instance_name.Adapter for WebSphere MQ page displays, where instance_name is the name of your WebSphere Commerce instance.
  6. In the Additional Properties section of the WC_instance_name.Adapter for WebSphere MQ page, click J2C Connection Factories. The J2C Connection Factories page displays.
  7. In the list of J2C Connection Factories, click Enablement-JCAJMSConnector.rar. The Enablement-JCAJMSConnector.rar page displays.
  8. In the Additional Properties section on the javax.resource.cci.ConnectionFactory page, click Connection Pool Properties. The Connection Pools page displays.
  9. Take note of the value in the Max connections field. This value will be required in Creating a WebSphere MQ messaging provider queue connection factory.
  10. Ensure that the Purge Policy is set to failingConnectionOnly.
    Important: If you change the value of the maximum number of this connection pool for the Adapter for WebSphere MQ later, you must also change the value of the maximum number of connections defined for JMSQueueConnectionFactory under Queue connection factories.