Weblogic Application Deployment Fails After Applying OFSAAI 806 Patches With java.lang.LinkageError: ClassCastException Errors
(Doc ID 2425093.1)
Last updated on MARCH 01, 2023
Applies to:
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.6 and laterOracle Financial Services Data Foundation - Version 8.0.6 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Data Foundation (FSDF)
Symptoms
Application deployment is not coming to active state after applying OFSAAI 806 patches. The following errors are thrown in the Weblogic Server log:
ERROR
Caused By: java.lang.LinkageError: ClassCastException: attempting to castzip:/oracle/product/middleware/wlserver_12.1.3/user_projects/domains/FSDF_domain/applications/OFSAA.ear/OFSAA.war/WEB-INF/lib/javax.ws.rs-api-2.0.1.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/oracle/product/middleware/wlserver_12.1.3/oracle_common/modules/jersey-core-1.18.jar!/javax/ws/rs/ext/RuntimeDelegate.class
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:116)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:91)
at javax.ws.rs.core.EntityTag.(EntityTag.java:35)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
Truncated. see log file for complete stacktrace
>
The issue can be reproduced at will with the following steps:
1. Apply the following patches:
N_SERIAL_NO V_PATCH_NAME V_APP_ID V_REMARKS D_APPLIED
173 28146898 PLATFORM ENHANCEMENT FOR AAI METADATA MANAGEMENT COMPONENTS 17-Jul-18
172 28033582 PLATFORM Bug 28033582 - OFS AAAI 8.0.6.0.0 COMPATIBILITY ONE-OFF PATCH RELEASE. 17-Jul-18
171 28079607 PLATFORM Bug 28079607 - PLATFORM CPP LIBRARIES ONE-OFF FOR 8.0.6 17-Jul-18
170 27938294 PLATFORM Bug 27938294 - consolidated one-off for 8.0.6.0.0 release 17-Jul-18
169 8.0.6.0.0 PLATFORM OFSAAI 8.0.6.0.0 Interim Release 17-Jul-18
2. Clear Web Server cache
3. Redeploy EAR/WAR file
Changes
Apply Infrastructure 8.0.6 patches.
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 |