Identity Governance is unable to start and getting BeanCreationException error in eurekify.log
search cancel

Identity Governance is unable to start and getting BeanCreationException error in eurekify.log

book

Article ID: 270062

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Suite

Issue/Introduction

The following exceptions are recorded in Identity Governance (IG) eurekify.log when IG was restarted

Context initialization failed: 
org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'Test' defined in class path resource [META-INF/managerContext.xml]: 
Cannot resolve reference to bean 'TestBase' while setting bean property 'test'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'TestBase' defined in class path resource [META-INF/managerContext.xml]: 
Cannot create inner bean 'com.eurekify.test.TestImpl#6ge2655e' of type [com.eurekify.test.TestImpl] 
while setting bean property 'test'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'com.eurekify.test.TestImpl#6ge2655e' defined in class path resource [META-INF/managerContext.xml]: 
Cannot resolve reference to bean 'test' while setting bean property 'test'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'test' defined in class path resource [META-INF/test/testJmsContext.xml]: 
Cannot resolve reference to bean 'testQ' while setting bean property 'test'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'testQ' defined in class path resource [META-INF/test/jboss7JmsContext.xml]: 
Invocation of init method failed; 
nested exception is javax.naming.NameNotFoundException: queue/testQ [Root exception is java.lang.IllegalStateException]

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334) [spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE]
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) [spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1418) [spring-beans-3.2.10.RELEASE.jar:3.2.10.RELEASE]
    ...
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
    at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_261]
    at org.jboss.threads.JBossThread.run(JBossThread.java:485)

Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'TestBase' defined in class path resource [META-INF/managerContext.xml]: 
Cannot create inner bean 'com.eurekify.test.TestImpl#6ge2655e' of type [com.eurekify.test.TestImpl] 
while setting bean property 'test'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'com.eurekify.test.TestImpl#6ge2655e' defined in class path resource [META-INF/managerContext.xml]: 
Cannot resolve reference to bean 'test' while setting bean property 'test'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'test' defined in class path resource [META-INF/test/testJmsContext.xml]: 
Cannot resolve reference to bean 'testQ' while setting bean property 'test'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'testQ' defined in class path resource [META-INF/test/jboss7JmsContext.xml]: 
Invocation of init method failed; 
nested exception is javax.naming.NameNotFoundException: queue/testQ [Root exception is java.lang.IllegalStateException]

Environment

Release: 14.4, 14.5

Component: Identity Governance

Cause

Corrupted data

Resolution

For the Standalone version:

Remove /tmp and /data directories content under the standalone directory.

For Virtual Appliance version:

If you are encountering this issue on vApp 14.4.2, please open a support case and request for the the patch: HF_VA-14.4.2-20231227101805-DE586953.tgz.gpg

If you are encountering this issue on vApp 14.5, please open a support case and request for the patch: HF_VA-14.5.0-20231227102013-DE586953.tgz.gpg

The patch should be applied within a tmux session.

After applying the patch, two new aliases will be added:

  • deleteIDGJMSqueue – removes temporary JMS files from Identity Governance

  • deleteIDPJMSqueue – removes temporary JMS files from Identity Portal

Once the patch is installed, log out and log back in as the config user to make the new aliases available.

You do not need to reboot the vApp machine just to run the "deleteIDGJMSqueue" or "deleteIDPJMSqueue" aliases to delete the JMS temp files. However, the patch does change some OS related configurations too. You can reboot the vApp machine during scheduled down time to reflect the configurations.