AnsweredAssumed Answered

Problem to Activate Probe policy_engine

Question asked by Martin_Carranza on Apr 6, 2016
Latest reply on Apr 8, 2016 by Martin_Carranza

Hi everyone,

After install UIM, i can't start el probe "policy_engine", and the log is:

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ... 65 more Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ca.ugs.model.config.PeerConfiguration]: Factory method 'peerConfiguration' threw exception; nested exception is java.lang.IllegalArgumentException: Error: Peer cannot be created from null Datomic URL.  This probably means that UDM returned an unexpected ID at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ... 78 more Caused by: java.lang.IllegalArgumentException: Error: Peer cannot be created from null Datomic URL.  This probably means that UDM returned an unexpected ID at com.ca.ugs.model.config.PeerConfiguration.(PeerConfiguration.java:15) at com.ca.ugs.model.config.PeerConfiguration.(PeerConfiguration.java:27) at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig.peerConfiguration(UgsAppConfig.java:50) at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$6e4d4a15.CGLIB$peerConfiguration$0() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$6e4d4a15$$FastClassBySpringCGLIB$$1fb9e925.invoke() at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$6e4d4a15.peerConfiguration() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ... 79 more at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$f7bd65ee.CGLIB$peerConfiguration$1() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$f7bd65ee$$FastClassBySpringCGLIB$$6712e3e7.invoke() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$f7bd65ee.peerConfiguration() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$f7bd65ee.CGLIB$peerConfiguration$0() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$6d6444ec.CGLIB$peerConfiguration$0() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$6d6444ec$$FastClassBySpringCGLIB$$eb98547f.invoke() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$6d6444ec.peerConfiguration() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$6e4d4a15.CGLIB$peerConfiguration$1() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$493937b4.CGLIB$peerConfiguration$0() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$493937b4$$FastClassBySpringCGLIB$$345188d6.invoke() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$493937b4.peerConfiguration() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$54f412c1.CGLIB$peerConfiguration$0() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$54f412c1$$FastClassBySpringCGLIB$$ea734431.invoke() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$54f412c1.peerConfiguration() at com.nimsoft.ce.policyengine.config.spring.UgsAppConfig$$EnhancerBySpringCGLIB$$493937b4.CGLIB$peerConfiguration$1() 2016-04-06 10:53:03,834 ERROR [PolicyEngine:74] Error starting configuration repository service probe. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ugsGroupService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.ca.ugs.services.EntityFilterService com.nimsoft.ce.policyengine.dao.ugs.UgsGroupService.filterService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultEntityFilterService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ca.ugs.services.ElementGroupService com.ca.ugs.services.DefaultEntityFilterService.groupService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'RelationalElementGroupService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could no autowire field: private com.ca.ugs.persist.GroupRepository com.ca.ugs.services.RelationalElementGroupService.repository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'group-repository': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ca.ugs.persist.QueryExecutor com.ca.ugs.persist.RelationalGroupRepository.datomicExecutor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManager' defined in class com.ca.persist.datomic.DatomicConfiguration: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.ca.ugs.model.config.PeerConfiguration]: : Error creating bean with name 'peerConfiguration' defined in com.nimsoft.ce.policyengine.config.spring.UgsAppConfig: Bean instantiation via factory method failed; nested exception is org.springframew rk.beans.BeanInstantiationException: Failed to instantiate [com.ca.ugs.model.config.PeerConfiguration]: Factory method 'peerConfiguration' threw exception; nested exception is java.lang.IllegalArgumentException: Error: Peer cannot be created from null Datomic URL.  This probably means that UDM returned an unexpected ID; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'peerConfiguration' defined in com.nimsoft.ce.policyengine.config.spring.UgsAppConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ca.ugs.model.config.PeerConfiguration]: Factory method 'peerConfiguration' threw exception; nested exception is java.lang.IllegalArgumentException: Error: Peer cannot be created from null Datomic URL.  This probably means that UDM returned an unexpected ID at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)

I am working with UIM 8.31 in Windows Server 2008 R2 SP1 with SQL Server 2012.

Someone can help me.

Outcomes