Message: "Could not resolve agent" ; Returned Error Code = -14 while running SmPortalTest
search cancel

Message: "Could not resolve agent" ; Returned Error Code = -14 while running SmPortalTest

book

Article ID: 41320

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Problem: 

Getting below errors when running SmPortalTest.exe from

<install_location>\CA\webagent\bin

C:\CA\webagent\bin>SmPortalTest.exe abc

[APS Version 12.52.0101.640 - SmPortalTest Rev 12.52.0101.640]

Returned Error Code = -14

Message: "Could not resolve agent"

<Please see attached file for image>

a.png

Environment:  

CA Single Sign-On Advanced Password Service 12.52

Cause: 

The SmPortalTest can be used to verify that SmPortal can communicate properly with a CA SiteMinder Policy Server. SmPortalTest communicates through the tunnel to the PortalTest service, running on a Policy Server.

SmPortal.cfg ,service section defines the services that can use SmPortal and what Agent configuration each should use.

The Services= entry contains a comma-delimited list of all services that may be used from this system.Each service is identified by a single line that define the Agent to be used by that service.

The value for the agent must correspond to an Agent name defined.

The service name for SmPortalTest is PortalTest and should already be listed in SmPortal.cfg.

Resolution:

Verify the below settings under SmPortal.cfg (<install_location>\CA\webagent\bin).

a) Agent is defined .

b) PortalTest is listed under Services.

c) An Agent that should use the service.

Example:

Agents=FPS

Services=PortalTest

PortalTest.Agent=FPS

<Please see attached file for image>

b.png

Environment

Release: ETRSBB99000-12.52-SiteMinder-B to B
Component:

Attachments

1558721874645000041320_sktwi1f5rjvs16w8l.png get_app
1558721872574000041320_sktwi1f5rjvs16w8k.png get_app