IBM Support

PM76181: MISSING RESOURCE REFERENCES WHEN TWO EJBS EXTEND THE SAME BASE CLASS DURING THE DEPLOYMENT OF THE APPLICATION.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Customer gets missing resource references when two EJBs extend
    the same base class during the deployment of the application.
    
    In WebSphere Application Server 7.0.0.25 (and earlier
    versions), the failure is that the administrative console only
    offers the option to bind a data source reference for the
    first EJB. The merged deployment descriptor also only contains
    a resource-ref for the first EJB. At runtime, the first EJB
    works fine, but the second fails because the resource
    reference isn't bound.
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0 using the @Resource annotation  *
    ****************************************************************
    * PROBLEM DESCRIPTION: An @Resource annotation defined on a    *
    *                      field or method of a superclass,        *
    *                      sometimes will not be applied to all    *
    *                      EJBs that extend the superclass         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The processing of an @Resource annotation which is defined in
    a superclass fails to identify all of the EJB classes which
    extend the superclass. As a result, the annotation is not
    inherited by some EJBs and is not included in the definition
    of the EJB in the deployment descriptor.
    

Problem conclusion

  • The annotation processing has been corrected to identify all
    EJBs which extend a class containing a @Resource annotation.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.29.  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

    PM76181

  • 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-10-31

  • Closed date

    2013-01-25

  • Last modified date

    2013-05-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



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PM76181

Modified date: 14 May 2013