Configuring the SMTP connection pool properties

Ensure that the Transaction server SMTP connection pool properties match the SMTP server timeout to avoid periodic mail failure. These failures can occur due to mail being sent with a connection that is expired on the SMTP server.

The Transaction server SMTP connection pool properties can be modified to avoid mail failures. You must either:
  • Set Unused Timeout to below the SMTP server connection timeout; and
  • Min Connections to 0.
Or:
  • Set Aged Timeout to below the SMTP server connection timeout.

For more information about these parameters, see the WebSphere Application Server documentation.

Procedure

  • Configure the SMTP connection pool properties for the Transaction server:
    1. Open the WebSphere Application Server Administrative Console.
    2. Expand the Applications menu, and click Enterprise Applications > WC_devcommerce1 > Manage Modules > E-mail Adapter > Enablement-JCAEmailConector.rar > Resource Adapter > J2C connection factories > Enablement-JCAEmailConnector.rar > Connection pool properties.
    3. Change the appropriate values.
    4. Click Apply or OK.
  • Configure the SMTP connection pool properties for the Transaction server within your HCL Commerce Developer:
    HCL Commerce Developer
    1. Make a backup of the WCDE_installdir\wasprofile\config\cells\localhost\applications\WC.ear\deployments\WC\deployment.xml file.
    2. Open the original deployment.xml file for editing.
    3. Find the line that begins with the following markup: <connectionPool xmi:id="ConnectionPool
    4. Change the appropriate values that follow.
    5. Save and close the file.