IBM Support

PM72659: 'WSMAPPINGCALLBACKHANDLERFACTORY NOT INITIALIZED' EXCEPTION IS THROWN

Fixes are available

8.5.0.2: WebSphere Application Server V8.5 Fix Pack 2
8.0.0.6: WebSphere Application Server V8.0 Fix Pack 6
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
8.0.0.7: WebSphere Application Server V8.0 Fix Pack 7
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A custom TAI class tries to pull a J2CAlias on initialization,
    but WebSphere Application Server throws the exception
    'WSMappingCallbackhandlerFactory not initialized'
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0, V8.0 and V8.5                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: During AppServer startup a              *
    *                      NullPointerException in                 *
    *                      WSMappingCallbackHandlerFactory         *
    *                      occurrs during TAI initialization.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In the TAI initialize() method the customer attempts to obtain
    a J2CAlias. When they attempt to get the
    WSMappingCallbackHandler instance,
    WSMappingCallbackHandlerFactory.getInstance().getCallbackHandler
    (map, null), the following NullPointerException occurs:
    WSMappingCallbackHandlerFactory not initialized
    52117 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    java.lang.NullPointerException:
    WSMappingCallbackHandlerFactory not initialized
    52118 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.wsspi.security.auth.callback.WSMappingCallbackHandlerFac
    tory.getInstance(WSMappingCallbackHandlerFactory.java:79)
    52119 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    my.company.WASUtilities.getJ2CAliasUserID(WASUtiliti
    es.java:103)
    52120 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    my.company.myTAI.getCredentialPrope
    rties(myTAI.java:373)
    52121 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    my.company.myTAI.initialize(myTAI.java:334)
    52122 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.security.web.TrustAssociationManager.loadInterceptor(
    TrustAssociationManager.java:442)
    52123 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.security.web.TrustAssociationManager.initialize(Trust
    AssociationManager.java:331)
    52124 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.security.web.TrustAssociationManager.<init>(TrustAsso
    ciationManager.java:110)
    52125 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.security.web.TrustAssociationManager.getInstance(Trus
    tAssociationManager.java:101)
    52126 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.security.core.distSecurityComponentImpl.initializeSSO
    TAI(distSecurityComponentImpl.java:1000)
    52127 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.security.core.distSecurityComponentImpl.initialize(di
    stSecurityComponentImpl.java:367)
    52128 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.security.core.SecurityComponentImpl.initialize(Securi
    tyComponentImpl.java:94)
    52129 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.runtime.component.ContainerHelper.initWsComponent(Con
    tainerHelper.java:1191)
    52130 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.runtime.component.ContainerHelper.initializeComponent
    (ContainerHelper.java:1098)
    52131 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.runtime.component.ContainerHelper.initializeComponent
    s(ContainerHelper.java:900)
    52132 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(
    ContainerImpl.java:776)
    52133 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(
    ContainerImpl.java:750)
    52134 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.ja
    va:332)
    52135 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl
    .java:280)
    52136 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:214)
    52137 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:666)
    52138 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
    52139 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    52140 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    52141 [8/27/12 13:09:41:365 EDT] 00000000 SystemErr     R
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    52142 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at java.lang.reflect.Method.invoke(Method.java:611)
    52143 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:21
    3)
    52144 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93)
    52145 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)
    52146 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(Platfo
    rmActivator.java:78)
    52147 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.run
    Application(EclipseAppLauncher.java:92)
    52148 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.sta
    rt(EclipseAppLauncher.java:68)
    52149 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:400)
    52150 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:177)
    52151 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    52152 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    52153 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    52154 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at java.lang.reflect.Method.invoke(Method.java:611)
    52155 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    52156 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    52157 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    52158 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLaunche
    r.java:341)
    52159 [8/27/12 13:09:41:375 EDT] 00000000 SystemErr     R
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:11
    1)
    52160 [8/27/12 13:09:41:375 EDT] 00000000 TrustAssociat A
    SECJ0122I: Trust Association Init Interceptor signature: 1.3
    52161 [8/27/12 13:09:41:375 EDT] 00000000 TrustAssociat <
    loadInterceptor (success) Exit
    

Problem conclusion

  • In V7.0 and higher, the WSMappingCallbackHandler
    initialization was moved after TAI initialization.
    WSMappingCallbackHandler initialization will be moved back to
    pre-TAI initialization.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.29, 8.0.0.6, and 8.5.0.2.  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

    PM72659

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-11

  • Closed date

    2012-11-14

  • Last modified date

    2012-11-14

  • 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 APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PM72659

Modified date: 14 November 2012