IBM Support

PH18256: CNTR5104E received when deploying EJB application

Download


Downloadable File

File link File size File description

Abstract

CNTR5104E received when deploying EJB application

Download Description

PH18256 resolves the following problem:
ERROR DESCRIPTION:
The same application works fine on 8.5.5.14. After upgrading too 8.5.5.16, deploying the application will receive the following error:
[10/4/19 7:59:16:927 CDT] 000000ed DeploymentUti E CNTR5104E: The abc method on the xxx.xxx.xxx.xxx.xxxx interface must be defined with the java.rmi.RemoteException exception on the throws clause.
LOCAL FIX: N/A
USERS AFFECTED: All users of IBM WebSphere Application Server with EJB 1.x or 2.x applications
PROBLEM DESCRIPTION:
CNTR5104E or CNTR5102E occurs starting EJB 1.x or 2.x application after upgrading WebSphere version
PROBLEM SUMMARY:
After upgrading to WebSphere version 8.5.5.16, 9.0.5.0, 9.0.5.1, or 9.0.5.2, EJB version 1.x or 2.x applications may fail to start with one of the following errors:
CNTR5104E: The xxx method on the xxx.xxx.xxxxx interface must be defined with the java.rmi.RemoteException exception on the throws clause.
CNTR5102E: The xxx.xxx.yyyyy application exception that is defined on the xxx method of the xxx.xxx.xxxxx interface must not be defined as a subclass of the java.rmi.RemoteException exception.
A new feature was added in WebSphere v8.5.5.16 and v9.0.5.0 that allows older EJB modules to be just-in-time deployed, removing the requirement to use EJBDeploy when Entity beans are not present. The new support should only take effect when EJBDeploy has not been used to generate EJB artifacts. Unfortunately, the enhancement does not correctly identify EJBDeploy generated artifacts when an older level of EJBDeploy has been used, and attempts to dynamically generate the EJB artifacts. This would normally work fine, except the new just-in-time deployment support has more restrictive checking to ensure applications comply with the EJB specification. The result is that the just-in-time deployment feature may identify an application as not complying with the specification and prevent it from starting, where EJBDeploy allowed the application to start and work properly. In some cases, the application may comply with the specification, but the checking is incorrect.
Typically the above failure occurs when a version of EJBDeploy prior to WebSphere version 7.0 has been used, or a version from an older level of Rational Application Developer for WebSphere.
PROBLEM CONCLUSION:
The EJB container in WebSphere Application Server has been updated to allow previously working applications to continue working. There are two parts to this update:
1 - checking for EJBDeploy generated artifacts has been improved to identify artifacts generated by older levels of EJBDeploy. This will avoid any application validation performed by the new just-in-time deployment support.
2 - the application validation performed by the new just-in-time deployment support has been both corrected and relaxed to support the same applications as supported by EJBDeploy. EJB remote interfaces that extend java.rmi.Remote that contain methods that throw a superclass of RemoteException would have previously resulted in CNTR5104E, but will now be correctly identified as compliant with the specification and start properly. EJB interfaces that throw subclasses of java.rmi.RemoteException are not compliant with the specification, but the checking has been changed to allow this behavior. The new just-in-time deployment support will ignore such exceptions in the same way they are ignored by EJBDeploy.
Note that deploying with a newer version of EJBDeploy should workaround the problem, but applying the iFix for PH18256 will correct the behavior. Use of a system property is not required to activate. Installing the iFix will correct the behavior.
The fix for this APAR is targeted for inclusion in fix packs 8.5.5.17 and 9.0.5.3.
For more information, see 'Recommended Updates for WebSphere Application Server':
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

None

Installation Instructions

Review the readme.txt for detailed installation instructions.

URL SIZE(Bytes)
V85 Readme 6960
V90 Readme 6894

Download Package

DOWNLOAD RELEASE DATE SIZE(Bytes)

DOWNLOAD Options

What is Fix Central(FC)?

8.5.5.16-WS-WAS-IFPH18256 24 January 2020 314308 FC
9.0.5.0-WS-WAS-IFPH18256 24 January 2020 323234 FC
9.0.5.2-WS-WAS-IFPH18256 24 January 2020 323216 FC
9.0.5.1-WS-WAS-IFPH18256 24 January 2020 323257 FC

Problems Solved

PH18256

On

Technical Support

Contact IBM Support at https://www.ibm.com/software/mysupport/s/ or 1-800-IBM-SERV (US only).

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"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"},{"code":"PF035","label":"z\/OS"}],"Version":"8.5.5.16;9.0.5.0;9.0.5.1;9.0.5.2","Edition":"Base,Developer,Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 January 2020

UID

ibm11283644