Feature Focus: Stack Trace

What is a Stack Trace?

A Stack Trace is a print out of exactly what is being run by a given thread or request at a specific moment in time. This is what a stack trace looks like:

Screenshot

Be aware that stack traces will look different (layout and coloring) depending on what JVM you are using, if you are looking at a request or a thread and if you are stack tracing all, or an individual item. At the top of the stack trace page you have two buttons which will let you either refresh the screen, or kill the item you are currently viewing.

How do I stack trace a request?

From the FusionReactor Administrator, click "Running Requests" from the table of contents (Requests section) and you will see the Running Requests screen. It will look something like this:

Screenshot

At the left hand side of each row you will see four icons, the first one (a magnifying glass on a blue background) will take you to the stack trace page. Alternatively you can click on the "Stack Trace ALL" button which is located above the request list.

How do stack trace a thread?

From the FusionReactor Administrator, click "List All Threads" from the table of contents (Resources) and you will see the Running Threads screen. It will look something like this:

Screenshot

At the left hand side of each row you will see two icons, the first one (a magnifying glass on a blue background) will take you to the stack trace page. Alternatively you can click on the "Stack Trace ALL" button which is located above the thread list.

Why would I want to see a stack trace?

Stack Trace gives you valuable information as to what is actually happening inside your server. You can isolate long running requests and see find out exactly what kind of activity they are engaged in. File access? Database access? Or maybe just waiting for some other resource to become free. You can refresh a stack trace and find out if a request is being worked on or if it looks like it is just going to wait forever. For development it is useful to see exactly what a request is doing in order to be able to optimize that request. For support, stack trace is an invaluable way of determining if a request is really hung before making a decision to kill it.

Spotlight »

Newsletter Sign Up »

Current Events »

Jul
28
CFUnited Gold Sponsors Intergral GMBH

Customer Feedback »

Adobe Solution Partner »

Adobe Solution Partner Adobe Certified Professional ColdFusion MX 7 Adobe Certified Professional Flex Developer