IBM Support

PI65595: INSTANCENOTFOUNDEXCEPTION OCCURS WHEN STOPPING AN APPLICATION HOSTING MESSAGE ENDPOINTS

Fixes are available

9.0.0.2: WebSphere Application Server traditional V9.0 Fix Pack 2
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
9.0.0.3: WebSphere Application Server traditional V9.0 Fix Pack 3
9.0.0.4: WebSphere Application Server traditional V9.0 Fix Pack 4
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
9.0.0.5: WebSphere Application Server traditional V9.0 Fix Pack 5
9.0.0.6: WebSphere Application Server traditional V9.0 Fix Pack 6
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
9.0.0.7: WebSphere Application Server traditional V9.0 Fix Pack 7
9.0.0.8: WebSphere Application Server traditional V9.0 Fix Pack 8
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
9.0.0.9: WebSphere Application Server traditional V9.0 Fix Pack 9
9.0.0.10: WebSphere Application Server traditional V9.0 Fix Pack 10
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
9.0.0.11: WebSphere Application Server traditional V9.0 Fix Pack 11
9.0.5.0: WebSphere Application Server traditional Version 9.0.5 Refresh Pack
9.0.5.1: WebSphere Application Server traditional Version 9.0.5 Fix Pack 1
9.0.5.2: WebSphere Application Server traditional Version 9.0.5 Fix Pack 2
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
9.0.5.3: WebSphere Application Server traditional Version 9.0.5 Fix Pack 3
9.0.5.4: WebSphere Application Server traditional Version 9.0.5 Fix Pack 4
9.0.5.5: WebSphere Application Server traditional Version 9.0.5 Fix Pack 5
9.0.5.6: WebSphere Application Server traditional Version 9.0.5 Fix Pack 6

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When stopping an application hosting a message endpoint, the
    following exception stack trace may appear in the system log
    indicating the MBean for the Message Endpoint is unavailable:
    [16/04/21 22:01:06:651 JST] 000025b1 CompositionUn A
    WSVR0192I:...
    [16/04/21 22:01:06:682 JST] 000025b1 ApplicationMg A
    WSVR0217I:..
    [16/04/21 22:01:07:369 JST] 000025b1 FfdcProvider  W
    com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:
    ../ffdc/*****.0_71f35735_16.04.21_22.01.07.337859048125953818475
    2.txt com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean
    1120
    [16/04/21 22:01:07:400 JST] 000025b1 FfdcProvider  W
    com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:
    ../ffdc/*****.0_71f35735_16.04.21_22.01.07.369882795774052942491
    7.txt
    com.ibm.ejs.j2c.RAWrapperImpl.deregisterMessageEndpointMBean
    1016
    [16/04/21 22:01:07:400 JST] 000025b1 RAWrapperImpl W J2CA0049W:
    ResourceAdapter *** is being stopped with message endpoints
    still activated. These enpoints will be forcefully deactivated.
    
    [16/04/21 22:01:07:493 JST] 000025b1 Core          I
    CWSCA3011I: The SCA module *** is stopping.
    [16/04/21 22:01:07:618 JST] 000025b1 ActivationSpe I J2CA0524I:
    The Message Endpoint for ActivationSpec *** and MDB Application
    *** is deactivated.
    [16/04/21 22:01:07:618 JST] 000025b1 RALifeCycleMa W J2CA0152E:
    Deactivation of a Message Endpoint failed because the targeted
    ResourceAdapter *** is not currently started or was not found.
    Deactivation key is: ***
    [16/04/21 22:01:07:634 JST] 000025b1 ApplicationMg A
    WSVR0220I:..
    
    
    *****.0_71f35735_16.04.21_22.01.07.3378590481259538184752.txt
    ---
    javax.management.InstanceNotFoundException
     at
    com.ibm.ws.management.MBeanFactoryImpl.findMBean(MBeanFactoryImp
    l.java:1216)
     at
    com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean(MBeanFact
    oryImpl.java:1114)
     at
    com.ibm.ejs.j2c.RAWrapperImpl.deregisterMessageEndpointMBean(RAW
    rapperImpl.java:1010)
     at
    com.ibm.ejs.j2c.RAWrapperImpl.stopRA(RAWrapperImpl.java:911)
     at
    com.ibm.ejs.j2c.RAWrapperImpl.stopRA(RAWrapperImpl.java:989)
     at
    com.ibm.ejs.j2c.RALifeCycleManagerImpl.shutdown(RALifeCycleManag
    erImpl.java:1516)
     at
    com.ibm.ejs.j2c.RALifeCycleManagerImpl.stop(RALifeCycleManagerIm
    pl.java:810)
     at
    com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(Application
    MgrImpl.java:1218)
    -----
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server with applications hosting message    *
    *                  endpoints.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When stopping an application with a     *
    *                      message endpoint, an exception might    *
    *                      occur if the resource adapter has       *
    *                      already stoppped.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This problem occurs during an application stop with the
    following message intermittently being logged.
    RALifeCycleMa W J2CA0152E:
    Deactivation of a Message Endpoint failed because the targeted
    ResourceAdapter *** is not currently started or was not found.
    Deactivation key is: ***
    

Problem conclusion

  • The applicable code has been updated to tolerate the resource
    adapter being stopped prior to the message endpoint being
    deactivated.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.11 and 9.0.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

    PI65595

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-11

  • Closed date

    2016-10-04

  • Last modified date

    2016-10-04

  • 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

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 October 2021