Salesforce

How to terminate a PASOE ABL application ABL session using the OEMANAGER REST API

« Go Back

Information

 
TitleHow to terminate a PASOE ABL application ABL session using the OEMANAGER REST API
URL NameHow-to-terminate-a-PASOE-ABL-application-ABL-session
Article Number000122375
EnvironmentProduct: OpenEdge
Version: 11.7.3 and later
OS: All Supported Platforms
Other: Progress Application Server for OpenEdge (PASOE)
Question/Problem Description
How to terminate a PASOE ABL application ABL session?
How to terminate idle MS-Agent sessions?
Is there a REST API for terminating an ABL session?
 
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
None of the timeout settings configured in the PASOE openedge.properties will automatically clean up (idle) ABL sessions of a PASOE Agent.

In order to terminate a specific PASOE Agent session, but not terminate the PASOE Agent, you can use the following oemanager.war REST API starting with OpenEdge 11.7.3:

Terminate a specific ABL session in a given PASOE Agent

HTTP Operation

           DELETE

URI

            //hostname:port/oemanager/applications/App_name/agents/agentID/sessions/sessionID

Media type

           application/vnd.progress+json

Response codes

           200 Success
           403 Access Denied
           500 Unexpected Server Error

Command-line example

            curl -u tomcat:tomcat -X DELETE http://localhost:8111/oemanager/applications/oepas1/agents/lDuUo5-fSZq8xNozlDqnIg/sessions/4

Request body example

           NA

Response body example
{
    "result": true,
    "operation": "TERMINATE ABL SESSION",
    "outcome": "SUCCESS",
    "errmsg": "",
    "versionStr": "v11.7.3 ( 2018-04-27 )",
    "versionNo": 1
}


In order to terminate all idle PASOE Agent sessions for as particular PASOE Agent, you can use the following oemanager.war REST API starting with OpenEdge 11.7.4:

Terminate all idle ABL Sessions in a given PASOE Agent

HTTP Operation

           DELETE

URI

            //host_name:port/oemanager/applications/App_name/AgentID/sessions

Media type

           application/vnd.progress+json

Response codes

           200 Success
           403 Access Denied
           500 Unexpected Server Error

Command-line example

            curl -u tomcat:tomcat -X DELETE http://localhost:8111/oemanager/applications/oepas1/agents/lDuUo5-fSZq8xNozlDqnIg/sessions

Request body example

           NA

Response body example
{
    "result": 2,
    "operation": "TERMINATE SESSIONS",
    "versionStr": "v11.7.3 ( 2018-04-27 )",
    "errmsg": "",
    "versionNo": 1,
    "outcome": "SUCCESS"
}
Workaround
Notes
Keyword Phrase
Last Modified Date5/25/2023 8:49 AM

Powered by