search cancel

SmHostConf does not exist error on access gateway server

book

Article ID: 237883

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Agents (SiteMinder) CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

CA access gateway server nohup.out reports error:

EVERE: Exception sending context initialized event to listener instance of class com.ca.federation.cloud.CHSContextListener
java.lang.RuntimeException: Deployment of CHS failed due to incorrect configuration.
 at com.ca.federation.cloud.CHSContextListener.contextInitialized(Unknown Source)
 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5157)
 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5680)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1707)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1697)
 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.ca.federation.cloud.ConfigurationException: SmHostConf does not exist 
 at com.ca.federation.cloud.AgentConfigManager.<init>(Unknown Source)
 at com.ca.federation.cloud.AgentConfigManager.getInstance(Unknown Source)
 at com.ca.federation.cloud.CHSConfigurationManager.loadCHSConfiguration(Unknown Source)
 ... 10 more

Cause

Configuration issue during In-place upgrade.

Environment

Release : 12.8

Component : SITEMINDER SECURE PROXY SERVER

Resolution

Out of box CA access gateway has feature "Credential Handling Service" turned on.

It can be verified from server.conf

<Context name="Credential Handling Service">
   docBase="chs"
   path="chs"
   enable="yes"
  </Context>

However, the error might be cause by configuration file ~Tomcat\webapps\chs\WEB-INF\classes\config\chsConfig.properties content change.

Or permission to access file SmHost.conf.

Here is what default content of chsConfig.properties looks like on windows platform:

SmHostConfPath=C:\\Program Files\\CA\\secure-proxy\\proxy-engine\\conf\\defaultagent\\SmHost.conf
AgentConfigObject=spsaco
CookieAgeInSeconds=300
tenant_logo=/chs/images/calogo.png
#tenant_logo_desc=
tenant_title=CA Single Sign-On
tenant_footer1_link=http://www.ca.com/us/contact.aspx
tenant_footer1_text=Contact Us
tenant_footer2_link=http://www.ca.com/
tenant_footer2_text=Privacy Policy
tenant_footer3_link=http://www.ca.com/us/about-us.aspx
tenant_footer3_text=About Us

Additional Information

DE351958