IBM Support

PK85418: AUDIT LOGGING CAUSES JCR STORE OPERATIONS TO FAIL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Numerous login exceptions are seen in the logs when content is
    saved with enabled audit logging.
    
    Observed entries in logs:
    [4/23/09 21:07:18:796 WAT] 000000e3 CmapiProvider E
    com.ibm.wps.services.queryservice.impl.providers.CmapiProvider
    getLoginContext EJPFB0002E: Exception occurred.
    
    com.ibm.content.exception.LoginException:
    javax.jcr.LoginException: Login failed for UserId: [...].
    Retrieved authenticated subject with unmatching UserId: [...]
    from WebSphere Application Server.
    at
    com.ibm.content.mediator.util.LoginUtil.initializeLoginContext(L
    
    ginUtil.java:160)
    at
    com.ibm.content.mediator.ContextMediator.initLoginContext(Contex
    
    Mediator.java:107)
    at
    com.ibm.content.mediator.ContextMediator.initContainer(ContextMe
    
    iator.java:79)
    at
    com.ibm.content.mediator.OperationsMediator.getDataGraph(Operati
    
    nsMediator.java:71)
    at
    com.ibm.content.service.transport.LocalPasswordTransport.getData
    
    raph(LocalPasswordTransport.java:99)
    at
    com.ibm.content.service.impl.LoginServiceImpl.loginLocal(LoginSe
    
    viceImpl.java:176)
    at
    com.ibm.content.wps.service.impl.LoginServiceImpl.loginPortal(Lo
    
    inServiceImpl.java:92)
    at
    com.ibm.wps.services.queryservice.impl.providers.CmapiProvider.g
    
    tLoginContext(CmapiProvider.java:202)
    at
    com.ibm.wps.services.queryservice.impl.providers.ICMContentDefau
    
    tProvider.getLocalizedObject(ICMContentDefaultProvider.java:73)
    at
    com.ibm.wps.services.queryservice.impl.LocalizedObjectProviderWr
    
    pper.getLocalizedObject(LocalizedObjectProviderWrapper.java:49)
    at
    com.ibm.wps.services.queryservice.QueryHelper.getDisplayableObje
    
    t(QueryHelper.java:460)
    at
    com.ibm.wps.services.queryservice.QueryHelper.getDisplayableObje
    
    t(QueryHelper.java:437)
    at
    com.ibm.wps.services.queryservice.ResourceTitleManager.getTitle(
    
    esourceTitleManager.java:75)
    at
    com.ibm.wps.services.audit.impl.AuditServiceImpl.addResourceName
    
    AuditServiceImpl.java:1029)
    at
    com.ibm.wps.services.audit.impl.AuditServiceImpl.getResourceEven
    
    Parameters(AuditServiceImpl.java:983)
    at
    com.ibm.wps.services.audit.impl.AuditServiceImpl$ResourceAuditEv
    
    ntListener.resourceRegistered(AuditServiceImpl.java:2072)
    

Local fix

  • disable portal audit logging.
    

Problem summary

  • Numerous login exceptions are seen in the logs when content is
    saved with enabled audit logging.
    
    Observed entries in logs:
    [4/23/09 21:07:18:796 WAT] 000000e3 CmapiProvider E
    com.ibm.wps.services.queryservice.impl.providers.CmapiProvider
    getLoginContext EJPFB0002E: Exception occurred.
    
    com.ibm.content.exception.LoginException:
    javax.jcr.LoginException: Login failed for UserId: [...].
    Retrieved authenticated subject with unmatching UserId: [...]
    from WebSphere Application Server.
    

Problem conclusion

  • Resource name resolution for JCR resources has been disabled
    to prevent the concurrent login from the audit service in the
    same session.
    
    Manual Steps:
       None
    
    Failing Module(s):
       Portal Access Control
    
    Affected Users:
       All users
    
    Version Information:
        Portal Version(s): 6.0.1.4
         Pre-Requisite(s): PK80615 PK72621
          Co-Requisite(s): ---
    
        Portal Version(s): 6.0.1.5
         Pre-Requisite(s): PK80615
          Co-Requisite(s): ---
    
        Portal Version(s): 6.1.0.1
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
        Portal Version(s): 6.1.0.2
         Pre-Requisite(s):
          Co-Requisite(s): ---
    
    Platform Specific:
       This fix applies to all platforms.
    
    A fix is available from Fix Central:
    
    http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde
    r?apar=PK85418&productid=WebSphere%20Portal&brandid=5
    
    You may need to type or paste the complete address into your Web
    browser.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK85418

  • Reported component name

    WEBSPHERE PORTA

  • Reported component ID

    5724E7600

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-27

  • Closed date

    2009-06-08

  • Last modified date

    2009-06-08

  • 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

    WEBSPHERE PORTA

  • Fixed component ID

    5724E7600

Applicable component levels

  • R60H PSY

       UP

  • R60J PSY

       UP

  • R61A PSY

       UP

  • R61B PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
21 December 2021