Purpose

Refresh Agents terminates all sessions within an ABL application, thereby refreshing the multi-session agent or agents so that changes to the application can be picked-up by the agent or agents.

For more details, refer to Refresh agents in an ABL application.

To use this action, the Tomcat manager (manager.war) must be deployed on the instance and the instance must be running. You can deploy manager.war from $CATALINA_HOME/extras.

Syntax

tcman.{sh|bat} jmx refreshagents -appname application-name [-v]

Parameters

-appname

Specify the ABL application running in the PAS for OpenEdge instance.

-v

Provides a verbose output.

Example

Refresh agents in the running instance, oepas1:

tcman jmx refreshagents -appname oepas1 -v
info: TCManager 4.1.0
{
	"refreshAgents":{
		"agents":[
			{
				"agentId":"LdS8phtPR0GIrhRrrSL3Xg",
				"pid":"7672",
				"sessions":[
					{
						"sessionId":4,
						"terminateResult":"success"
					},
					{
						"sessionId":7,
						"terminateResult":"success"
					}
				]
			}
		]
	}
}