Configuring the SMTP connection pool properties
Ensure that the WebSphere Application 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 has already expired on the SMTP server.
The
WebSphere Application Server SMTP connection pool properties can be
modified to avoid mail failures in one of two ways. 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.
See the WebSphere Application Server documentation for details on these parameters.
Procedure
To adjust the SMTP connection pool properties within WebSphere
Application Server:
- Open the WebSphere Application Server Administrative Console.
- Expand the Applications menu, and click .
- Change the appropriate values.
- Click Apply or OK.
- 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.