ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins. Read more for important details.
ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins.Read more for important details.
Lieutenant Commander
Lieutenant Commander
248 views

IDM(Prov).war fails to properly deploy on 4.7.3 system - GlobalCacheHolder error

Hi again.

Our UserApplication on a fresh SLES12 SP3 server, taking over for an older UA 4.5.6 keeps giving me this error and I have not had much luck finding the cause. I have looked at the documentation and found the XmlData the GlobalCacheHolder should be defined in. I only see one in there.

A colleague and I even tried renaming cn=configuration to cn=configuration-old below cn=AppDefs,cn=AppConfig,cn=UAMETA,cn=Driver Set,ou=idm,ou=services,o=dk  and redeploy the User Application Driver. I got the exact same XmlData back, though.

Whether the driver is running or not does not seem to make a difference.

I have not tried manually changing the XmlData as yet.

I have looked at the documentation here:
https://www.netiq.com/documentation/identity-manager-47/identity_apps_admin_471/data/netiq-identity-manager-configure-caching-cluster-settings.html

It didn't help me much, other than I could compare the XmlData to another server, but nothing really stood out.

I think I've seen this error a couple of times, but I can seem to locate the solution I found last, if indeed it is even the same problem and not just something very similar.

This is the error I get.

20-Apr-2020 18:27:31.649 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/netiq/idm/apps/tomcat/webapps/idmdash.war] has finished in [4,349] ms
20-Apr-2020 18:27:31.651 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/netiq/idm/apps/tomcat/webapps/IDM.war]
Apr 20, 2020 6:27:50 PM org.apache.catalina.core.ApplicationContext log
INFO: 1 Spring WebApplicationInitializers detected on classpath
Apr 20, 2020 6:27:51 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2020-04-20 18:27:54,883 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading FrameworkService-conf/config.xml
2020-04-20 18:27:54,939 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading DirectoryService-conf/config.xml
2020-04-20 18:27:54,949 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading UserService-conf/config.xml
2020-04-20 18:27:54,955 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading PortalService-conf/config.xml
2020-04-20 18:27:54,957 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading WorkflowService-conf/config.xml
2020-04-20 18:27:54,972 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading VirtualDataService-conf/config.xml
2020-04-20 18:27:54,976 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading ThemeService-conf/config.xml
2020-04-20 18:27:54,985 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading NotificationService-conf/config.xml
2020-04-20 18:27:54,989 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading RoleService-conf/config.xml
2020-04-20 18:27:54,993 INFO [com.sssw.fw.core.EboConfig] (localhost-startStop-1) Identity Manager User Application loading RbpmAuthService-conf/config.xml
2020-04-20 18:27:58,609 INFO [org.infinispan.factories.GlobalComponentRegistry] (localhost-startStop-1) ISPN000128: Infinispan version: Infinispan 'Estrella Galicia' 9.3.3.Final
2020-04-20 18:27:59,852 ERROR [com.sssw.fw.cachemgr.core.EboCacheManager] (localhost-startStop-1) initialize: failed to start the cache service.
org.infinispan.commons.CacheConfigurationException: ISPN000453: Attempt to define configuration for cache GlobalCacheHolder which already exists
at org.infinispan.manager.DefaultCacheManager.doDefineConfiguration(DefaultCacheManager.java:378)
at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:350)
at com.sssw.fw.cachemgr.core.EboCacheManager.defineConfigurationForCache(EboCacheManager.java:373)
at com.sssw.fw.cachemgr.core.EboCacheManager.<init>(EboCacheManager.java:296)
at com.sssw.fw.cachemgr.core.EboCacheManager.<clinit>(EboCacheManager.java:136)
at com.novell.soa.common.i18n.LocaleInfo.<clinit>(LocaleInfo.java:89)
at com.novell.srvprv.spi.util.servlet.LogConfigurator.initialize(LogConfigurator.java:101)
at com.novell.srvprv.spi.util.servlet.LogConfigurator.init(LogConfigurator.java:84)
at com.sssw.fw.servlet.InitListener.contextInitialized(InitListener.java:128)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1851)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Apr 20, 2020 6:27:59 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [com.sssw.fw.servlet.InitListener]
java.lang.ExceptionInInitializerError
at com.novell.srvprv.spi.util.servlet.LogConfigurator.initialize(LogConfigurator.java:101)
at com.novell.srvprv.spi.util.servlet.LogConfigurator.init(LogConfigurator.java:84)
at com.sssw.fw.servlet.InitListener.contextInitialized(InitListener.java:128)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1851)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.netiq.common.i18n.LocalizedRuntimeException: initialize: failed to start the cache service.
at com.sssw.fw.cachemgr.core.EboCacheManager.<init>(EboCacheManager.java:349)
at com.sssw.fw.cachemgr.core.EboCacheManager.<clinit>(EboCacheManager.java:136)
at com.novell.soa.common.i18n.LocaleInfo.<clinit>(LocaleInfo.java:89)
... 16 more
Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000453: Attempt to define configuration for cache GlobalCacheHolder which already exists
at org.infinispan.manager.DefaultCacheManager.doDefineConfiguration(DefaultCacheManager.java:378)
at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:350)
at com.sssw.fw.cachemgr.core.EboCacheManager.defineConfigurationForCache(EboCacheManager.java:373)
at com.sssw.fw.cachemgr.core.EboCacheManager.<init>(EboCacheManager.java:296)
... 18 more

20-Apr-2020 18:28:02.263 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file

Labels (1)
0 Likes
1 Reply
Lieutenant Commander
Lieutenant Commander

Well, it turns out the issue only appeared in 4.7.3.2.

Turns out there was no such issue with 4.7.0 or 4.7.3

4.7.4 also seems to work correctly. There may be some things we are not sure about yet, at currently IDM Engine is still at 4.7.3

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.