Cartridge Deployment Fails with ClassCastException When UIM Affinity is Enabled
(Doc ID 2892344.1)
Last updated on JUNE 17, 2024
Applies to:
Oracle Communications Unified Inventory Management - Version 7.4.2.1.0 and laterInformation in this document applies to any platform.
Symptoms
Cartridge deployment fails with error below if uim.affinity.configuration.enabled=true in $WLS_Domain/UIM/config/affinity-config.properties:
java.lang.ClassCastException: org.eclipse.persistence.queries.DirectReadQuery cannot be cast to org.eclipse.persistence.queries.ObjectBuildingQuery
at oracle.communications.inventory.api.framework.persistence.listeners.InvSessionEventListener.preExecuteQuery(InvSessionEventListener.java:148)
at oracle.communications.inventory.api.framework.persistence.listeners.InvSessionEventListener.preExecuteQuery(InvSessionEventListener.java:148)
Same cartridge gets deployed without error if affinity set to false.
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 |