My Oracle Support Banner

WLS 12.1.1: No Warning for @PostConstruct Method with No Parameter in Interceptor Class (Doc ID 1475812.1)

Last updated on JUNE 08, 2023

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 to 12.1.1.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

In WLS 10.3.6, when the @PostConstruct method in EJB Interceptor Class has no parameter, it throws exception, as below:

However, in WLS 12.1.1, no exception is thrown, and the the class will be deployed successfully.  This difference in behavior looks to have broken the EJB 3.0 spec. 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.