Connection error in arcotafm.log ( Read timed out) every time AFM app is restarted
search cancel

Connection error in arcotafm.log ( Read timed out) every time AFM app is restarted


Article ID: 9092


Updated On:


CA Advanced Authentication CA Strong Authentication CA Risk Authentication


Whenever the ArcotAFM application is started in Tomcat Application server, in arcotafm.log there is an error observed

2017-04-25 10:15:22,514 [localhost-startStop-1] INFO integrations.frontend.InitializeTokenSvrClientServlet(250) -> TokenServerTestConnAtStartup/ArcotSMTestConnAtStartup=true
2017-04-25 10:15:22,529 [localhost-startStop-1] DEBUG toksvr.client.SimpleTSClientImpl(403) -> Sending creation request to http://<State-Manager Host>:<Port>/arcotsm/servlet/creation/<Token>
2017-04-25 10:15:22,607 [localhost-startStop-1] DEBUG toksvr.client.SimpleTSClientImpl(406) -> Token data sending for creation is : {"TsToken":{"Issuer":"arcotafm testing connection"}}
2017-04-25 10:15:22,623 [localhost-startStop-1] DEBUG toksvr.client.SimpleTSClientImpl(317) -> Wrote the data: {TokenData={"TsToken":{"Issuer":"arcotafm testing connection"}}}
2017-04-25 10:15:52,613 [localhost-startStop-1] ERROR toksvr.client.SimpleTSClientImpl(382) -> Unable to read server response! Read timed out
at Method)


CA Strong Authentication: AuthMinder (Arcot WebFort)

Application Server : Tomcat


When Tomcat service is started there is no way to deploy the applications in sequential order, ArcotAFM deployed on same application server tries to test the connection with ArcotSM at the startup and fails and we see the read time out error message. This is controlled through a setting in file which is ArcotSMTestConnAtStartup. OOTB this setting is true.



Resolution steps are described below --

  1. Open file at ARCOT_HOME/conf/afm
  2. Look for parameter ArcotSMTestConnAtStartup
  3. Uncomment this and then set the value as false.
  4. Restart the Tomcat application server.

Additional Information