IBM Support

PI98400: MAIL ENGINE DOES NOT PROCESS PASSWORD SPECIFIED IN MAILSESSION

Subscribe

You can track all active APARs for this component.

 

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

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 November 2021