Skip to main content
Kofax

How to collect a stack trace for a running java program using jstack

Question / Problem:

Sometimes Kofax RPA engineering will request a stack trace of a running process. Usually the Roboserver or Management Console.

This is especially true for the console when the error message is received that the roboserver is deactivating because it hasn't gotten license information for 24 hours or a license constraint violation has occurred. In these cases the trace for the console is needed at the time the error happens and before the roboserver is restarted, if it has gone down.

Using task manager for Windows or Top for Linux identifiy the pid of the Kapow Java process(s) running. There may be more than one as the roboserver and console if in seperate JVM's will each have there own. In this case get a trace for both. Engineering will be able to discern which one is for the console.

Answer / Solution:

1. https://docs.oracle.com/javase/7/doc...re/jstack.html

2. https://docs.oracle.com/javase/8/doc...ldescr016.html

3. Use the URL's above for information on how to use jstack.

 

Applies to: 

Product Version Category
Kofax RPA All Trouble Shooting

 

 

 

This is what was achieved and what was omitted in this how-to.

  • Was this article helpful?