For a system service, such as MTS, you must manually enable the monitoring.
1. Add PURE_MONITOR_ENABLE=Coverage to your system environment variables. For monitoring Java code, also add MSJAVA_DEBUGGING_FLAGS=3 to disable the JIT compiler and ensure you get line level data. For monitoring Visual Basic 6.0 p-code programs, also add MSVBA_EVENT_MONITORS=1 and VBAEV_COVERAGE=1.
2. Add the PureCoverage product directory to your system PATH environment variable.
3. Reboot your machine so the system uses the new values.
4. For monitoring Java code, verify that the registry key \HKEY_CURRENT_USER\Software\Microsoft\Java VM\EnableEventMonitors is set to 1.
5. Start the Microsoft Transaction Server (MTS).
6. Arrange to have the MTS launch your Java code or your Visual Basic p-code program.
7. When you have finished monitoring, remove the environment variables you added in Step 1, and reset the registry key in Step 4 to 0, if you changed it.
(C) Copyright IBM Corporation 1993, 2010.