Versions Compared

Key

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

...

Table 18-1 Recognized properties

Property nameMultiplicityDescription

logBeginMethodName

OptionalIdentifies the logger method to call to report calls to EJB business methods.
logEndMethodNameOptionalIdentifies the logger method to call to report calls to EJB business methods.
invocationTypeOptionalIdentifies how the logger events show up in Precise for J2EE.

skeletonMarkerClass

Any NumberIdentifies the classes that an EJB skeleton must extend. Only classes that extend a skeleton class or implement a skeleton interface are searched for calls to methods with matching name and signature.

skeletonMarkerInterface

Any NumberIdentifies the classes that an EJB skeleton must implement. Only classes that extend a skeleton class or implement a skeleton interface are searched for calls to methods with matching name and signature.

implementationMarkerClass

Any NumberIdentifies the classes that must be extended by calls with a matching name and signature.

implementationMarkerInterface

Any NumberIdentifies the classes that must be implemented by calls with a matching name and signature.
Applying instrumentation using the "Calls to EJB" instrumentation feature

...

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

...

Table 18-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 following primitive parameter types names are recognized: 


  • boolean
  • byte
  • char
  • double
  • float
  • int
  • long
  • short
  • void

...


The <invoked-method> elements in the <calls-from-method-to-method> element are used to match specific method signatures for specific calls from one method to another. All methods that match the signature are instrumented. Wildcard expressions are not supported and return types are not matched. The <invoked-method> format must be expressed using the same primitive types that were discussed for the <param> element.

...

Table 18-3 Usage of wildcard character *

WildcardInstrumented elementsNon-instrumented elements
*

xmp.server.Main
xmp.task.AbstractTask
xmp.task.AbstractTask$1
xmp.task.util.TaskUtilities   

 

xmp.task.*

xmp.task.AbstractTask
xmp.task.AbstractTask$1
xmp.task.util.TaskUtilities

xmp.server.Main
*$*xmp.task.AbstractTask$1xmp.server.Main
xmp.task.AbstractTask
xmp.task.util.TaskUtilities
Info

Use wildcard characters only when discovering the methods to instrument. Otherwise, it may result in instrumentation that does not yield meaningful performance metrics but introduces unwanted overhead. Do not implement wildcarded instrumentation in production environments.

...

<!--leakseeker-if-package>com.bea</leakseeker-if-package>
<!--leakseeker-if-package>weblogic</leakseeker-if-package>

...


Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/precise/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse