Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following special variables can be used in the instrumenter config file path:

 

  • ${indepth.j2ee.home} expands to  <i3_root>/products/j2ee

...

  • ${indepth.j2ee.server_id} expands to the JVM ID (with no sequence number)

...

  • ${indepth.j2ee.jvm_id} expands to the JVM ID (with a  sequence number)

 

About the instrumenter configuration files

Instrumenter configuration files contain specific rules that are used to determine where and how to apply instrumentation. There are several default instrumenter configuration files located in the

<i3_root>/products/i3fp/registry/products/j2ee/config/instrumenter and
<i3_root>/products/i3fp/registry/products/j2ee/config/instrumenter/sample directories
.

The following table lists and describes these files:

Table 18-2    Instrumentation 2 Instrumentation configuration files

File

...

nameDescription
Logger.

...

xmlProduct configuration.
Planners.

...

xmlControls the order in which instrumentation is applied.
Heatseeker.

...

xmlAdaptive instrumentation analysis results that are loaded at startup. This file is regenerated when adaptive instrumentation policies are run.
Ixp.

...

xmlInstrumentation Explorer applied changes that are loaded at startup. This file is regenerated when you click the Instrumentation Explorer Apply Changes button.
Survey.

...

xmlAdaptive survey instrumentation configuration.
SurveyConditional.

...

xmlAdaptive conditional instrumentation configuration.
SurveySynchronization.

...

xmlAdaptive synchronization instrumentation.
Servlet.

...

xmlDefault Java Servlet instrumentation configuration
GenericPortal.

...

xmlDefault Generic Portal-specific instrumentation configuration. Detects the portal and portlet configurations that implement javax.portlet.GenericPortlet.
GenericPortlet.

...

xmlDefault Generic Portlet-specific instrumentation configuration. Instruments the portlet lifecycle and action methods.
JSP.

...

xmlDefault JSP instrumentation configuration.
WebLogicJSP.

...

xmlDefault (BEA WebLogic™-specific) JSP instrumentation configuration.
WebSphereJSP.

...

xmlDefault (IBM® WebSphere®-specific) JSP instrumentation configuration.
WebLogicPortal.

...

xmlDefault BEA WebLogic Portal-specific instrumentation configuration. Detects the portal and portlet configuration. This file is populated when an application server portal version is selected in Precise Framework Installer.
WebLogicPortlet.

...

xmlDefault BEA WebLogic Portlet-specific instrumentation configuration. Instruments the detected portlets. This file is populated when an application server portal version is selected in Precise Framework Installer.
EJB.

...

xmlDefault EJB instrumentation configuration. Handles instrumentation of EJB stubs.
Ignore.

...

xmlDefault “ignored” instrumentation configuration.
CallsToJDBC.

...

xmlDefault “caller-side” JDBC instrumentation configuration.
OverInstrumentationProtection.

...

xmlOver-instrumentation protection instrumentation configuration.
IndepthWeb.

...

xmlDefault instrumentation configuration that Precise for Web uses. This file is populated when Precise for Web is installed.
TACPeopleSoft.

...

xmlInsight SmartLink for PeopleSoft instrumentation configuration.
TACWebApps.

...

xmlInsight SmartLink for Web applications instrumentation configuration
Custom.

...

xmlContains an example instrumentation only. You should use this file as an example and edit this file.
CallsFromMethodToMethod.

...

xmlContains an example instrumentation only. You must edit this file.
LeakSeeker.

...

xmlConfiguration for Leak Seeker instrumentation.
WebLogicEJB.

...

xmlHandles BEA WebLogic-specific EJB “lifecycle operation” instrumentation.
WebSphereEJB.

...

xmlHandles IBM WebSphere-specific EJB “lifecycle operation” instrumentation.
OracleEJB.

...

xmlHandles Oracle-specific EJB “lifecycle operation” instrumentation.
JNDI.

...

xmlDefault JNDI instrumentation configuration.
DataSource.

...

xmlDefault JDBC DataSource instrumentation configuration.
EJBBean.

...

xmlDefault EJB implementation instrumentation.
JTA.

...

xmlDefault Java Transaction instrumentation.
MessageDrivenEJB.

...

xmlDefault Message-Driven EJB instrumentation.
JMS.

...

xmlDefault Java Messaging Service instrumentation.
XML.

...

xmlDefault XML and XSL instrumentation.
Calls.

...

xmlTemplate for configuring all calls to and all calls from methods.
EJBImpl.

...

xmlSample EJB implementation instrumentation.
Jolt.

...

xmlSample Jolt instrumentation.
MBeanImpl.

...

xmlSample MBean implementation instrumentation.
PeopleSoft.

...

xmlOld PeopleSoft instrumentation.
SAP61.

...

xmlSAP 6.1 instrumentation.
SmartuneInstrumentation.

...

xmlOptional SmarTune instrumentation for servlet include and session analysis.

About the structure of instrumenter configuration files

The instrumenter configuration files have the following general structure:

<?xml version='1.0'?>
<instrumenter-config>
     <custom-config> </custom-config>
     <all-calls-to-method> </all-calls-to-method>
     <all-calls-from-method> </all-calls-from-method>
     <calls-from-method-to-method> </calls-from-method-to-method>
     <ignore-config> </ignore-config>
</instrumenter-config>

See “About custom instrumentation configuration” on page 215.

...