6.6.19.3.1: Enabling, specifying, and editing trace strings with the Web console

During this task, you will specify or edit a trace string and enable tracing. These two actions are prerequisites to starting a trace. The trace string is a description of the application server component or components that you want to trace.

  1. In the tree on the left side of the console, click Nodes -> hostname -> Application Servers -> Trace Service. The trace service properties will be displayed on the right side of the console.
  2. Specify a trace string.

    If the server is not running, then you must type a trace string with correct syntax into the trace specification field. Refer to the trace service field help for guidance.

    If the application server is running, you can click the Edit button to display a tree view from which you can construct a trace string without knowing the trace syntax.

    Configure tracing for various components in the tree, then save the entire tree:

    1. Modify a component in the tree of components. Use the settings on the right side of the work area to enable or disable tracing of the component, or have it inherit the setting from its parent node in the tree.
    2. When you are finished specifying the settings for the selected component, click the OK button located directly below the settings.
    3. Repeat the previous steps for as many components as you would like.
    4. When finished, click the other OK button, located directly below the tree. This will save all of your changes to the tree, and exit the tree dialog.

    The trace specification field will now contain the trace string corresponding to the way that you configured the various components in the tree view.

  3. Click Enable Trace String so that the check box is checked. Otherwise, your trace string will be ignored.
  4. Click OK.
  5. At this point, you are ready to start tracing.