Analytic Enginee is not started

Hi,

I setup environment successfully, but after that, analytic engine is not started…

it shutdown automatically and not able to connect.

in the logs, it showing the following errors,

color=red [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: Unable to start the engine.
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ruleInstanceStubLoader’ defined in file [C:\SoftwareAG\optimize\analysis\conf\spring\core.spring.xml]: Cannot resolve reference to bean ‘monitorCache’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘monitorCache’ defined in file [C:\SoftwareAG\optimize\analysis\conf\spring\core.spring.xml]: Cannot resolve reference to bean ‘kpiMonitorCache’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘kpiMonitorCache’ defined in file [C:\SoftwareAG\optimize\analysis\conf\spring\core.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.webMethods.sc.caching.IWmCache com.webMethods.sc.caching.WmCacheFactory.createCache(java.lang.String,java.lang.String) throws com.webMethods.sc.caching.CachingException] threw exception; nested exception is com.webMethods.sc.caching.CachingException: Failed to lookup configuration for cache name ‘kpiMonitorCache’
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: wraps: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘monitorCache’ defined in file [C:\SoftwareAG\optimize\analysis\conf\spring\core.spring.xml]: Cannot resolve reference to bean ‘kpiMonitorCache’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘kpiMonitorCache’ defined in file [C:\SoftwareAG\optimize\analysis\conf\spring\core.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.webMethods.sc.caching.IWmCache com.webMethods.sc.caching.WmCacheFactory.createCache(java.lang.String,java.lang.String) throws com.webMethods.sc.caching.CachingException] threw exception; nested exception is com.webMethods.sc.caching.CachingException: Failed to lookup configuration for cache name ‘kpiMonitorCache’
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: wraps: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘kpiMonitorCache’ defined in file [C:\SoftwareAG\optimize\analysis\conf\spring\core.spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.webMethods.sc.caching.IWmCache com.webMethods.sc.caching.WmCacheFactory.createCache(java.lang.String,java.lang.String) throws com.webMethods.sc.caching.CachingException] threw exception; nested exception is com.webMethods.sc.caching.CachingException: Failed to lookup configuration for cache name ‘kpiMonitorCache’
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: wraps: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.webMethods.sc.caching.IWmCache com.webMethods.sc.caching.WmCacheFactory.createCache(java.lang.String,java.lang.String) throws com.webMethods.sc.caching.CachingException] threw exception; nested exception is com.webMethods.sc.caching.CachingException: Failed to lookup configuration for cache name ‘kpiMonitorCache’
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2014-01-21 17:17:57.622 IST ERROR: wraps: com.webMethods.sc.caching.CachingException: Failed to lookup configuration for cache name ‘kpiMonitorCache’[/color]

In attached the complete error logs.

Please help me to resolve the issue.

Thanks and Regards,
Srinivas
error.log (76.1 KB)

Srinivas,

There might be two reasons for this

  1. There is a possibility that webm-cache-config.xml file got corrupted. If you have another working environment, try replacing this file in /optimize/analysis/conf/Caching/… Before placing this file, shutdown AE, replace this file, and start AE…

  2. Another possibility is, rules might have got corrupted as the error is as follows "Error creating bean with name ‘ruleInstanceStubLoader’ ".

Try replacing core.spring.xml file from backup if first point doesn’t help.

-senthil