Java Mail: Hung Threads During Transport.send()
 Technote (troubleshooting)
 
Problem(Abstract)
When using Java™ Mail that has been set up in the IBM® WebSphere® Administrative console, you may get hung threads that occur in the area of JavaMail Transport.send().
 
Cause
The default time-out for the thread is set to infinite by default.
 
Resolving the problem
In your Java Mail set up, create custom properties to set the mail.smtp.timeout=<value> and mail.smtp.connectiontimeout=<value> to some value that you can tolerate in your system.

This will provide a time-out value that will relieve your system of hung threads because of Java Mail messages.

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Message Service (JMS)
Operating system(s): z/OS
Software version: 6.0.2
Software edition:
Reference #: 1225385
IBM Group: Software Group
Modified date: Dec 12, 2005