Configure timeouts for SMTP connections by indicating specific parameters. By not
configuring timeouts, the thread can wait indefinitely for an SMTP server to respond, leading to a
hang in the HCL Commerce JVM.
Procedure
-
Create a file named JCAEmailConnectionRequestInfo.properties in the
WAS_installdir/lib directory.
-
Include the following parameters in the
JCAEmailConnectionRequestInfo.properties file (make sure that you select values
that are appropriate for your configuration):
For a list of possible JavaMail configuration parameters, see the package description of
com.sun.mail.smtp: Package com.sun.mail.smtp
-
Restart the HCL Commerce JVM for the changes to take effect.