サポートと今すぐチャット
サポートとのチャット

Foglight for Java EE Technologies 5.9.9 - Installation Guide

Install and Configure Foglight for Java EE Technologies Integrate with JBoss Integrate with Apache Tomcat Integrate with WebLogic Domain Startup Scripts Integrate with WebSphere Integrate with Oracle AS Create a Generic Installation for Manual Java EE Agent Integration Manage Java EE Agent Installations, Integrations, and Configurations Managing Java EE Agent Configurations Java EE Installation Management Java EE Integration Configuration FAQ and Troubleshooting Manual Application Server Integrations AppendixB: Managing Permissions for the Java EE Integration Agent Appendix A: Java EE Application Methods

Configuring instrumented simple method settings

1
On the General tab of the Edit dialog box, click Edit beside InstrumentedSimpleMethods.
4
Click in the Method Name box and type the name of the method you want to instrument. For example, in the following image, the getSugar() method is instrumented even if it is detected as a simple method.
5
6
Click Save.
If you manually edit the instrumentation.config file, use the following syntax to enable simple method instrumentation:
For example, to instrument the getSugar() method even if it is detected as a simple method:

Changing user classes settings

Use the User Classes setting to customize the classes that are treated as user or application code.
Excluding a class prevents the class from being instrumented as user code. It may still be partially instrumented if it implements important application server functionality (such as RMI communications).
Including a class ensures that the class is specified and instrumented as user code.
3
Click include. The setting switches to exclude.
5
Click the Class Name box and type the name of the class you want to exclude.
For example, suppose that you have an instrumented user class named com.globex.plan.DominateWorld, but the instrumentation is causing excessive load on the agent or Nexus. You can exclude this class.
The class com.globex.plan.DominateWorld is excluded, as well as all classes in the package "com.globex.scheme".
In this case, the class com.globex.plan.DominateWorld is included, but the class com.globex.pocket.Sugar is excluded because it matches the exclude pattern on the second line. Also, any classes in net.globex. package or the root globex. package are excluded since they match the exclude regular expression.
TIP: For more information about regular expressions, see the Appendix: Regular Expressions in the Foglight for Application Servers User Guide.
6
In the Settings Editor dialog box, click OK to save your changes to the user class instrumentation.
If you manually edit the instrumentation.config file, use the following syntax to enable user class or package instrumentation:
The class com.globex.plan.DominateWorld is excluded, as well as all classes in the package "com.globex.scheme".
In this case, the class com.globex.plan.DominateWorld is included, but the class com.globex.pocket.Sugar is excluded because it matches the exclude pattern on the third line. Also, any classes in net.globex. package or the root globex. package are excluded since they match the exclude regular expression.

Changing custom component settings

The Custom Components setting extends the default set of J2EE components to be included when recording a session at the Component Detail instrumentation level.
For example, you could add the component Globex, and then specify methods to include or exclude.
a
Click Add component.
Click Add to add a single method at a time.
Click Add multiple to open a text box where you can type several methods.
If you manually edit the instrumentation.config file, use the following syntax to specify custom component instrumentation.
1
Edit CustomComponents. Specify the name of each component in a method list, either by entering the name or by forming a regular expression that matches the name or pattern. Enter the include element before each item in the list. For example:
2
After editing the instrumentation.config settings, ensure that it is read by restarting the instrumented application servers.

Changing custom component callbacks settings

Use the Custom Component Callbacks setting to specify the classes or interfaces that the custom components use to call customer written code. The default instrumentation settings include some custom component callbacks for Apache Struts and Spring.
1
On the General tab of the Edit dialog box, click Edit beside CustomComponentCallbacks.
Click Add to add a single class at a time.
Click Add multiple to open a text box where you can type several classes.
If you manually edit the instrumentation.config file, use the following syntax to specify custom component callback instrumentation.
関連ドキュメント

The document was helpful.

評価を選択

I easily found the information I needed.

評価を選択