IBM Support

PM75728: J2CA0283E ERROR AFTER APPLICATION RESTART WITH EMBEDDED RESOURCE

Fixes are available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The problem is with an application that has an embedded resource
    adapter under these condition:
     - unique z/OS environment with multiple servants defined (no
    problem on 1 of the servants, but all others running will get
    J2CA0283E error.
     - the first time the app is started, it runs fine.  Only when
    it is stopped and restarted again, all but 1 servant get
    J2CA0283E error
     - when whole server (controller + SRs) are restarted, the
    application works again until the application is restarted when
    again startup fails with  J2CA0283E error on all but 1 servant
      - the issue is not present if only 1 servant is running
    
    BBOO0220E: J2CA0283E: Attempt to access embedded Resource
    Adapter of another application via ConnectionFactory
    eis/Repository.
    
    Trace: 2012/09/12 10:14:12.660 01 t=8B81B8 c=UNK key=P8
    (13007002)
      ThreadId: 00000033
      FunctionName: com.ibm.ws.naming.util.Helpers
      SourceId: com.ibm.ws.naming.util.Helpers
      Category: FINE
      ExtendedMessage: processSerializedObjectForLookupExt; FFDC:
    sourceId=com.ibm.ws.naming.util.Helpers.processSerializedObjectF
    orLookupExt, probeId=1021, java.lang.Exception: Invalid access
    of embedded resource adapter.
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.processOb
    jectInstance(ConnectionFactoryBuilderServerImpl.java:1143)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstan
    ce(ConnectionFactoryBuilderImpl.java:664)
     at javax.naming.spi.NamingManager.getObjectInstanceByFactoryInR
    eference(NamingManager.java:485)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManag
    er.java:350)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLoo
    kupExt(Helpers.java:927)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLoo
    kup(Helpers.java:730)
     at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResult
    s(CNContextImpl.java:3691)
    

Local fix

  • Restart the whole application server (controller + servants)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: J2CA0283E exception is thrown when      *
    *                      Application has been re-started on      *
    *                      multi-Servant z/OS environment          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the application has embedded RAR and re-started on a multi
    servant z/OS environment, the RAR modules are not stopped on
    all Servant regions and that could lead to below expection:
    BBOO0220E: J2CA0283E: Attempt to access embedded Resource
    Adapter of another application via ConnectionFactory
    eis/Repository.
    Trace: 2012/09/12 10:14:12.660 01 t=8B81B8 c=UNK key=P8
    (13007002)
    ThreadId: 00000033
    FunctionName: com.ibm.ws.naming.util.Helpers
    SourceId: com.ibm.ws.naming.util.Helpers
    Category: FINE
    ExtendedMessage: processSerializedObjectForLookupExt; FFDC:
    sourceId=com.ibm.ws.naming.util.Helpers.processSerializedObjectF
    orLookupExt, probeId=1021, java.lang.Exception: Invalid access
    of embedded resource adapter.
    at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.processOb
    jectInstance(ConnectionFactoryBuilderServerImpl.java:1143)
    at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstan
    ce(ConnectionFactoryBuilderImpl.java:664)
    

Problem conclusion

  • Made code changes to stop the Resource Adapters on all
    Servants as part of Application stop with embedded RAR.
    
    APAR PM75728 is currently targeted for inclusion in Fix Packs
    7.0.0.31, 8.0.0.8 and 8.5.5.1 of WebSphere Application Server.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM75728

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-23

  • Closed date

    2013-07-08

  • Last modified date

    2014-02-05

  • 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 FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UI13725

       UP14/01/11 P F401

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Document information

More support for: WebSphere Application Server for z/OS
General

Software version: 7.0

Reference #: PM75728

Modified date: 05 February 2014