What are the steps to debug the core file generated by bw engine

What are the steps to debug the core file generated by bw engine

book

Article ID: KB0087653

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
$ java -version  (need to use right version of jdk)
$ ls /usr/local/bin/gdb (need to know gdb location) or "which gdb"
$ export DEBUG_PROG=/usr/local/bin/gdb  (or wherever "gdb" is located)

For JDK 1.3.X do the following:
   $ &ltpath to java command>/java corefile For JDK 1.4.X do the following:
   $ gdb &ltpath to java command>/java corefile

Now you will be in the debugger.  Execute the following commands:
(gdb) where        ("shows a summary of the stack")
(gdb) thr    ("switch among threads or

Issue/Introduction

What are the steps to debug the core file generated by bw engine