Download
Abstract
If the mail transport or store port is specified for the mail session resources or if the username contains a special character such as "" in the username, javax.mail.Authenticatio
Download Description
PM23410 resolves the following problem:
ERROR DESCRIPTION:
javax.mail.AuthenticationFailedException is seen such as the following:
2010-06-10 09:02:02,648? - ERROR - ( FetchMailTask.java:98 ):
Could not open Mail Connection
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
2010-06-10 09:02:02,649? - ERROR - ( FetchMailTask.java:263 ):
Error occurred while reading mails...
java.lang.IllegalStateException: Not connected
at com.sun.mail.imap.IMAPStore.checkConnected
(IMAPStore.java:1364)
at com.sun.mail.imap.IMAPStore.getFolder(IMAPStore.java:1201)
LOCAL FIX:
.
PROBLEM SUMMARY
USERS AFFECTED:
All users of IBM WebSphere Application Server V7.0
PROBLEM DESCRIPTION:
If the mail transport or store port is specified for the mail session resources or if the username contains a special character such as "" in the username, javax.mail.AuthenticationFailedException is thrown when it tries to connect to the mail server.
RECOMMENDATION:
None
The SessionFactory does not setPasswordAuthentication properly on the session resource in a way that getPasswordAuthentication could not get the Password to connect when the session has a mail transport or store port specified or the username contains an encoded character.
PROBLEM CONCLUSION:
The SessionFactory is fixed to handle URLName and PasswordAuthenication properly when the mail transport or store port is specified or the username contains a special character.
APAR PM23410 is currently targeted for inclusion in Service Level (Fix Pack) 7.0.0.15 of WebSphere Application Server V7.0.
Please refer to URL:
http://www.ibm.com/support/docview.wss?uid=swg27006970
for Fix Pack availability.
Prerequisites
Download the UpdateInstaller below to install this fix.
Installation Instructions
Review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24028145