Fixes are available
9.0.0.9: WebSphere Application Server traditional V9.0 Fix Pack 9
9.0.0.10: WebSphere Application Server traditional V9.0 Fix Pack 10
9.0.0.11: WebSphere Application Server traditional V9.0 Fix Pack 11
9.0.5.0: WebSphere Application Server traditional Version 9.0.5 Refresh Pack
9.0.5.1: WebSphere Application Server traditional Version 9.0.5 Fix Pack 1
9.0.5.2: WebSphere Application Server traditional Version 9.0.5 Fix Pack 2
9.0.5.3: WebSphere Application Server traditional Version 9.0.5 Fix Pack 3
APAR status
Closed as program error.
Error description
When an application contains a MailSession that has mail user/password specified, the password field is never passed to the registered injection processor for mail-session. It got the AuthenticationFailedException when starting the application and complaining no password specified.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * **************************************************************** * PROBLEM DESCRIPTION: Mail injection does not process * * password specified in mail session * **************************************************************** * RECOMMENDATION: * **************************************************************** When an application contains a mail session that has user and password attributes specified, the password attribute is never passed to the registered injection processor for mail-session. It fails with javax.mail.AuthenticationFailedException: failed to connect, no password specified error when starting the application. In web.xml like this: <mail-session> <name>javamail/jm1Def</name> <user>user1</user> <password>password</password> <host>imaphost</host> <store-protocol>imaps</store-protocol> </mail-session>
Problem conclusion
It is a bug in the mail session injection code and it assumes the mail session password attribute is configured in @MailSessionDefinition annotation, so the password will never be passed to runtime if it is configured in the application mail-session. The fix for this APAR is currently targeted for inclusion in fix pack 9.0.0.9. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PI98400
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-05-24
Closed date
2018-06-08
Last modified date
2018-09-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R900 PSY
UP
Document Information
Modified date:
01 November 2021