Login failure in xFlow microservice
search cancel

Login failure in xFlow microservice

book

Article ID: 219447

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction

We are using Play microservice of xFlow to develop an API for an app developed for internal IT requirements. Intermittently we see login failures and API fails to get session IDs from microservice. 

 

Environment

Release : 17.3

Component : SERVICE DESK MANAGER

Cause

ERROR - 2021-05-10 15:56:16 [c.helper.JSONResponseBuilder] - Exception getting cr objects for filter (customer.userid = 'PRAVEEN.PV'): Error : Unable to obtain DomSession 825501886
ERROR - 2021-05-10 15:56:16 [c.ca.casm.framework.util.CasmFuture] - Exception occurred, see call stack for more details: userid (IS_SSXFlowAccount)
java.util.concurrent.CompletionException: com.ca.casm.exception.CasmBaseException: Error : Unable to obtain DomSession 825501886
 at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
 at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
 at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:870)
 at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
 at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
Caused by: com.ca.casm.exception.CasmBaseException: Error : Unable to obtain DomSession 825501886
 at com.ca.casm.actor.SdmGetObjectsActor.recvmsg1(SdmGetObjectsActor.java:286)
 at com.ca.casm.actor.MdcActor$1.apply(MdcActor.java:213)
 at akka.actor.ActorCell$$anonfun$become$1.applyOrElse(ActorCell.scala:606)
 at akka.actor.Actor.aroundReceive(Actor.scala:517)
 at akka.actor.Actor.aroundReceive$(Actor.scala:515)

Resolution

#  initialContext is the method used to connect to the Xflow Webservices to create a login session. 
# Requested to explicitly use Delete function to delete session which have been created.