Fixes are available
8.5.5.1: WebSphere Application Server V8.5.5 Fix Pack 1
8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
APAR status
Closed as program error.
Error description
Deployment of a module containing a class annotated with @AroundInvoke, @PostConstruct, or @PreDestroy when the class containing the annotation is not an EJB class and is not marked as an Interceptor class, will incorrectly generate a "Could not locate target class" error displayed to server logs. The annotations should be allowed when the target class is not an EJB class and is not marked as an interceptor.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server using classes annotated with * * Lifecycle annotations. * **************************************************************** * PROBLEM DESCRIPTION: Deployment of a class containing * * @AroundInvoke, @PostConstruct, * * or @PreDestroy and which is not an EJB * * or Interceptor class incorrectly * * displays error "Could not locate * * target class". * **************************************************************** * RECOMMENDATION: * **************************************************************** When deploying an application which contains a class that uses a Lifecycle annotation -- @AroundInvoke, @PostConstruct, or @PreDestroy -- the error message "Could not locate target class" is displayed when the annotation does not target an EJB class and does not target an Interceptor class. The message is incorrect to display because a Lifecycle annotation is permitted to target a class which is neither an EJB class nor an Interceptor class. The case occurs infrequently, but is possible, for example, when using third party utility code, which may place Lifecycle annotations on unused utility classes.
Problem conclusion
Code processing Lifecycle annotations was updated to omit the error message. The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.7 and 8.5.5.1. 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
PM85886
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2013-03-29
Closed date
2013-06-12
Last modified date
2013-06-12
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
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
11 January 2022