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>
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>