IBM Support

PI38505: PUBLIC FOLDER OF MOBILEFIRST CLI HAS INCORRECT TAI JAR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The public folder of the MobileFirst Platform Foundation CLI
    tools has incorrect version of tai.jar
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MobileFirst developers that use the TAI jar file             *
    * (com.ibm.worklight.oauth.tai_1.0.0.jar) and manifest file    *
    * (OAuthTai-1.0.mf ) to protect their resource service.        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If OAuthTAI is used to protect the resource service at an    *
    * endpoint, the response from making a request to that         *
    * endpoint will indicate 500 Internal Server Error, and the    *
    * following error will be found in server log file.            *
    *                                                              *
    * 4/16/15 11:27:42:610 CST] 00000028 id=                       *
    * com.ibm.ws.logging.internal.impl.IncidentImpl                *
    * I FFDC1015I: An FFDC Incident has been created:              *
    * "java.lang.NoClassDefFoundError:                             *
    * org/apache/commons/codec/binary/Base64                       *
    * com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFil *
    * ters 1111" at ffdc_15.04.16_11.27.42.0.log                   *
    * [4/16/15 11:27:42:663 CST] 00000028 id=                      *
    * com.ibm.ws.webcontainer.webapp.WebApp                        *
    * E handleRequest SRVE0315E: An execption occurred:            *
    * com.ibm.ws.webcontainer.webapp.WebAppErrorReport:            *
    * java.lang.NoClassDefFoundError:                              *
    * org/apache/commons/codec/binary/Base64                       *
    *  at                                                          *
    * com.ibm.ws.webcontainer.webapp.WebAppErrorReport.constructEr *
    * rorReport(WebAppErrorReport.java:153)                        *
    *  at                                                          *
    * com.ibm.ws.webcontainer.webapp.WebAppErrorReport.constructEr *
    * rorReport(WebAppErrorReport.java:194)                        *
    *  at                                                          *
    * com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFil *
    * ters(WebAppFilterManager.java:1158)                          *
    *  at                                                          *
    * com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j *
    * ava:4553)                                                    *
    *  at                                                          *
    * com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequ *
    * est(DynamicVirtualHost.java:301)                             *
    *  at                                                          *
    * com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai *
    * ner.java:954)                                                *
    *  at                                                          *
    * com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(Dynami *
    * cVirtualHost.java:266)                                       *
    *  at                                                          *
    * com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLi *
    * nk$TaskWrapper.run(HttpDispatcherLink.java:776)              *
    *  at                                                          *
    * java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool *
    * Executor.java:1145)                                          *
    *  at                                                          *
    * java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo *
    * lExecutor.java:615)                                          *
    *  at java.lang.Thread.run(Thread.java:722)                    *
    * Caused by: java.lang.NoClassDefFoundError:                   *
    * org/apache/commons/codec/binary/Base64                       *
    *  at                                                          *
    * com.worklight.oauth.tai.util.TAIUtil.getPublicKey(TAIUtil.ja *
    * va:90)                                                       *
    *  at                                                          *
    * com.worklight.oauth.tai.AbstractOAuthTAI.negotiateValidatean *
    * dEstablishTrust(AbstractOAuthTAI.java:195)                   *
    *  at                                                          *
    * com.ibm.ws.webcontainer.security.internal.TAIAuthenticator.a *
    * uthenticate(TAIAuthenticator.java:102)                       *
    *  at                                                          *
    * com.ibm.ws.webcontainer.security.WebAuthenticatorProxy.handl *
    * eTAI(WebAuthenticatorProxy.java:210)                         *
    *  at                                                          *
    * com.ibm.ws.webcontainer.security.WebAuthenticatorProxy.authe *
    * nticate(WebAuthenticatorProxy.java:84)                       *
    *  at                                                          *
    * com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorI *
    * mpl.authenticateRequest(WebAppSecurityCollaboratorImpl.java: *
    * 738)                                                         *
    *  at                                                          *
    * com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorI *
    * mpl.determineWebReply(WebAppSecurityCollaboratorImpl.java:58 *
    * 1)                                                           *
    *  at                                                          *
    * com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorI *
    * mpl.performSecurityChecks(WebAppSecurityCollaboratorImpl.jav *
    * a:452)                                                       *
    *  at                                                          *
    * com.ibm.ws.webcontainer.security.WebAppSecurityCollaboratorI *
    * mpl.preInvoke(WebAppSecurityCollaboratorImpl.java:408)       *
    *  at                                                          *
    * com.ibm.wsspi.webcontainer.collaborator.CollaboratorHelper.p *
    * reInvokeCollaborators(CollaboratorHelper.java:443)           *
    *  at                                                          *
    * com.ibm.ws.webcontainer.osgi.collaborator.CollaboratorHelper *
    * Impl.preInvokeCollaborators(CollaboratorHelperImpl.java:267) *
    *  at                                                          *
    * com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFil *
    * ters(WebAppFilterManager.java:1045)                          *
    *  ... 8 more                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The correct version of the OAuthTAI jar and manifest have been
    provided that resolve this issue. Users must copy these updated
    files into their projects from <CLI_install_dir>/public  folder
    or from the /externalServerLibraries folder of any new
    MobileFirst project created by the command-line interface
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI38505

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-07

  • Closed date

    2015-04-17

  • Last modified date

    2015-04-17

  • 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

    WL/MFPF ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021