Feedback
Did this article resolve your question/issue?

   

Article

proGetStack does not work with PASOE agent

Information

 
TitleproGetStack does not work with PASOE agent
URL NameproGetStack-does-not-work-with-PASOE-agent
Article Number000178036
EnvironmentProduct: OpenEdge
Version: 11.5 and later
OS: Windows
Other: Progress AppServer for OpenEdge / PASOE
Question/Problem Description
On Windows, PASOE multi-session agent doesn't work with progetstack utility.

The proGetStack request to generate a protrace for a multi-session agent (MSA) fails with error:
Cannot get stack of process <pid>.
The process id you specified may be invalid, not an OpenEdge ABL process or is a process from a pre 10.1C release of OpenEdge.
Steps to Reproduce- Start a PASOE instance
- Look up the PID for the "OpenEdge AppServer (Multi-thread)" in Task manager (there should be one for the default ABL application in the PAS instance)
- Open proenv prompt, run "progetstack <pid>" where <pid> is the PID found above
Clarifying Information
Error MessageCannot get stack of process <pid>.
The process id you specified may be invalid, not an OpenEdge ABL process or is a process from a pre 10.1C release of OpenEdge.
Defect NumberEnhancement PSC00353228
Enhancement Number
Cause
This is a known limitation, progetstack does not support the multi-session agent.
Resolution
Get a stack trace of a specific session, with is much more useful then a stack of all the msagent's threads. 
Available through JMX, OE Manager (oemanager.war), or the REST API to call stack information without OEE/OEM:
http:/hostname:port/oemanager/applications/<ABL application name>/agents/<agent PID>/sessions/<session id>/stacks

For further information refer to Article:
Workaround
Notes
Last Modified Date8/17/2021 12:42 PM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.