In the Identity Portal, when searching for a user, the following error appears. The same error appears while browsing a Certification.
When the above error appears, the server.log shows the error below.
ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-699) ISPN000136: Execution error: java.lang.ClassCastException
ERROR [com.idmlogic.sigma.workers.utils.ExceptionsHelper (default task-699): java.lang.ClassCastException
Virtual Appliance 14.5.1 CHF1
To resolve this issue, follow the steps below.
1. Go to /opt/CA/IdentityPortal/3rd-party-config-files/jgroups-cluster
2. Copy the file sigma-portal-infinispan-config.xml to some location (/tmp)
3. Change the <local-cache name="user"> section strategy from LIRS to LRU.
<!-- FROM: -->
<local-cache name="user">
<eviction max-entries="10000" strategy="LIRS" />
<expiration lifespan="300000"/>
</local-cache>
<!-- TO: -->
<local-cache name="user">
<eviction max-entries="10000" strategy="LRU" />
<expiration lifespan="300000"/>
</local-cache>
4. Go to /opt/CA/VirtualAppliance/custom/IdentityPortal and edit the jvm-args.conf and add
-Dsigma.infinispan.configuration.location=file:/tmp/sigma-portal-infinispan-config.xml
For more information, follow the document link https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-portal/14-5/administrating/identity-portal-administration/administration-tools.html
Note: In the document, the file mentioned -Dsigma.infinispan.configuration.location=file:/opt/CA/IdentityPortal/3rd-party-config-files/jgroups-cluster/sigma-hibernate-infinispan-config.xml
, but we have to use a different file (sigma-portal-infinispan-config.xml, not sigma-hibernate-infinispan-config.xml) -Dsigma.infinispan.configuration.location=file:/tmp/sigma-portal-infinispan-config.xml
5. And then, restart the IDP server.