Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

How to get an OEPas Session/Agent Stack

« Go Back

Information

 
Article Number000089120
EnvironmentProduct: OpenEdge
Version: 11.7.x
OS: All supported platforms
Other: PasOE
Question/Problem Description
How to get an OEPas Session/Agent Stack.
Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution
How to get an OEPas Session/Agent Stack do the following:

1.- Create a file with the following:

{"O":"PASOE:type=OEManager,name=AgentManager","M":["getSessionStacks","Agent_ID","SESSION_ID"]}

2.- Change the Agent_ID and SESSION_ID. Agent_ID is the agentPID and SESSION_ID can be the session that crashed and is still running.
The command tcman.sh plist -f will provide the PID for the agent.
Take the session ID from the Multi-session agent log file:

 [timestamp] P-<pid> T-<thread> <logging level> <session id> <log entry type> <entry>
 
The session ID comes after the logging level field.
 
3.- Run the following command from <PASOE Instance>/bin: oejmx.bat -R -Q <Session stack query file>

Example:
./oejmx.bat -R -Q SessionStk.qry

4.- If no information is  displayed of the session, then query for Agent stacks by creating a file with this query:

{"O":"PASOE:type=OEManager,name=AgentManager","M":["getAgentStacks","Agent_ID]}

5.- Run the following command from <PASOE Instance>/bin: oejmx.bat -R -Q <Agent Stack query file>

Example:
./oejmx.bat -R -Q AgentStk.qry

Look for the the output in <PASOE Instance>/temp directory.
Workaround
Notes
Attachment 
Last Modified Date5/9/2018 8:09 PM