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.
- 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:
- Open the WebSphere Application Server Administrative Console.
- Expand the Applications menu, and click .
- Change the appropriate values.
- Click Apply or OK.
-
Configure the SMTP connection pool properties for the Transaction server within your
HCL Commerce Developer:
- Make a backup of the WCDE_installdir\wasprofile\config\cells\localhost\applications\WC.ear\deployments\WC\deployment.xml file.
- Open the original deployment.xml file for editing.
- Find the line that begins with the following markup:
<connectionPool xmi:id="ConnectionPool
- Change the appropriate values that follow.
- Save and close the file.