Optimize Analytical Engine Not Getting Started!!!!!

Hi,

When i try to start the Optimize Analytical Engine in webMethods 8.2 version i am getting the following error message:

color=“darkred” [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: Unable to start the engine.
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ruleInstanceStubLoader’ defined in file [E:\webMethods82\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 [E:\webMethods82\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 [E:\webMethods82\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] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: wraps: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘monitorCache’ defined in file [E:\webMethods82\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 [E:\webMethods82\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] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: wraps: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘kpiMonitorCache’ defined in file [E:\webMethods82\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] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2011-06-14 00:00:48.97 GMT+05:30 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] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
(OPTIMIZE) [Analytic Engine v8.2.0.0.Stack.UnknownKey] 2011-06-14 00:00:48.97 GMT+05:30 ERROR: wraps: com.webmethods.sc.caching.CachingException: Failed to lookup configuration for cache name ‘kpiMonitorCache’[/color]

Attached the log file & screenshot of the error message for your reference. Please help me in resolving this error ASAP, i am not able to ‘DEPLOY ALL’ in MWS may be due to this issue… many thanks in advance.

Thanks,
Syed
analytical engine-startup error.jpg
analytical enginer_server startup error.txt (234 KB)

Is there anyone already solved this? I experienced this after upgrading all wM products. Looks like one of their bean (using spring) is missing throughout spring config.

Hi Syed,

There could be a couple of reasons for this error, please go through below one, implement and let us know what’s your observations:

  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

Solved by reinstalling Optimize Analytic Engine… :frowning: Hope someone would post alternative solution beside re-installing… :cry:

Hi There,

You would have tried options specified by me before re-installation but anyways good to hear that issue is been resolved.

Thanks,