IBM Support

PI98400: MAIL ENGINE DOES NOT PROCESS PASSWORD SPECIFIED IN MAILSESSION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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



Document information

More support for: WebSphere Application Server
General

Software version: 900

Reference #: PI98400

Modified date: 28 September 2018


Translate this page: