IBM Support

PK71765; 7.0: The EJB deployment descriptor may have missing references

Download


Abstract

The EJB deployment descriptor may have missing references.

Download Description

PK71765 resolves the following problem:

ERROR DESCRIPTION:?
The EJB deployment descriptor may have missing references when an EJB extends a base class containing EJB related annotations. This error will typically result in an injection failure.

LOCAL FIX:?

PROBLEM SUMMARY:?

USERS AFFECTED:
All users writing Java Platform, Enterprise Edition 5 applications containing Enterprise Java® Bean (EJB) related annotations in non-EJB parent classes will be affected.

PROBLEM DESCRIPTION:
The EJB deployment descriptor may have missing references.

RECOMMENDATION:
None

Annotations are a standard mechanism of adding metadata to Java classes. You can use metadata to simplify development and deployment of Java Platform, Enterprise Edition (Java EE) 5 artifacts. Prior to the introduction of Java language annotations, deployment descriptors were the standard mechanism used by Java EE components.


These deployment descriptors were mapped to XML format, which facilitated their persistence. With WebSphere Application Server version 7, the Java EE 5 annotation-based metadata is merged with the existing XML-based deployment descriptor metadata.

To avoid merging extraneous annotations, annotations from classes that happen to be in the archive but aren't part of the application, base classes and their annotations were excluded. This led to missing references in the EJB deployment descriptor when an EJB extends from a base class which contains EJB related annotations.

PROBLEM CONCLUSION:?
This issue was fixed by no longer filtering non-EJB base classes while continuing to screen out servlets, filters, etc.

The fix for this APAR is currently targeted for inclusion in fixpack 7.0.0.1. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"6120","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK71765/readme.txt"}]

Download Package

Download package
What is Fix Central (FC)?
What is DD?

Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
7.0-WS-WAS-IFPK7176509-25-2008US English17100FCFTPDD

On
[{"DNLabel":"7.0-WS-WAS-IFPK71765","DNDate":"09-25-2008","DNLang":"US English","DNSize":"17100","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV(U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0","Edition":"Base;Developer;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24020595