|
| Problem | How do I take an application server trace? | | | | Solution | Trace data for an application server can be captured into a ring buffer, a circular buffer in memory, or written directly to a file:- When a problem can be recreated using the ring buffer limits the size of the trace, can be activited without restarting the application server and causes less performance degredation than writing continuously to a file. - When a problem can't easily be recreated, capturing data continously to a trace file insures relevant data is captured. However, the size of the tracefile must be monitored since it can grow rapidly.Continous trace to a tracefile:Modify the configuration parameters of the Application Server you want to trace. This will trace start once the application server is restarted.From the topology of the Admin Console, select the application server with a left mouse click. Then, from the Advanced tab, fill in the Trace Output File with a full pathname to a file for the reulsting trace. The Trace Specification is filled in with one of more colon separated trace specifications of the form: "com.ibm.ejs.*=all=enabled".Tracing to ring memory buffer:From the topology of the Admin Console, right click on the application server to trace. Select Trace from the menu. In the resulting panel, increase the Ring Buffer Size to 100 (100 would be 100KB of data) and press "Set Size". Then, double click on Components. This will give you a tree to expand to the components you want to trace. When you locate the component you want to trace, left click on it, then right click on it. From the menu, select All. Colored bars will show the components to be traced. After selecting all of the wanted components, press the Set button at the bottom of the panel.Trace is now enabled into a ring buffer memory. Recreate the problem now.After the problem has been recreated, return to the trace panel. Fill in the full path name to a file to contain the trace output, then press Dump. Return to the selected components and select none from the menu to disable the trace. Press Set on the bottom.The specified file will contain the trace. | |
| |
| |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Servlet Engine/Web Container Operating system(s): All Platforms Software version: 3.0, 3.5 Software edition: Standard, Advanced Reference #: 1040787 IBM Group: Software Group Modified date: 2002-06-06
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|