We are rehydrating Netops to a new PC and having issue with starting the SSO service.
Running SsoConfig we get this error
SSO Configuration/DX NetOps/Performance Center:
Cannot connect the to DX NetOps SSO Web Service.
Check if DX NetOps is running and retry.
sso processes are up and running
Release : 22.2
Checking the PC service log we see the following.
INFO | jvm 1 | 2023/02/16 19:11:59 | org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'serviceQuery' defined in ServletContext resource [/META-INF/spring/bean.xml]: Could not resolve placeholder 'em.url' in value "${em.url}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'em.url' in value "${em.url}"
ERROR | WrapperSimpleAppMain | 2023-02-16 20:14:16,420 | org.springframework.web.context.ContextLoader
| Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'serviceQuery' defined in ServletContext resource [/META-INF/spring/bean.xml]: Could not resolve placeholder 'em.url' in value "${em.url}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'em.url' in value "${em.url}"
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:230) ~[spring-beans-5.3.20.jar:5.3.20]
Issue was that /opt/CA/PerformanceCenter/PC/webapps/pc/WEB-INF/cfg/portal.console.properties file that did not contain the line:
em.url=http://localhost:8281/EventManager/
Added the line to the /opt/CA/PerformanceCenter/PC/webapps/pc/WEB-INF/cfg/portal.console.properties and restarted