You can instrument the webMethods Integration Server or My webMethods Server by adding the Java Agent to the startup script of the server.
The Java agent settings can go in the runtime.bat/runtime.sh file, or the server.bat/server.sh file under the bin subdirectory of the server home.
Instrument webMethods with the Tanuki Wrapper
For webMethods servers that use the Tanuki Java service wrapper for start-up, you need to configure the agent in the wrapper.conf file. See Tanuki Service Wrapper Settings.
Note that the order of arguments in the file is important. Specifically, when instrumenting an OSGI-based platform, the agent configuration must precede the bootclasspath argument.
For example, the following listing shows the Java options used in a sample wrapper.conf file: