When you start Object Level Trace, the OLT server and viewer are automatically started together since you would typically run these components on the same workstation. The OLT server, however, requires a significant amount of memory. When tracing a large application, you may want to run the OLT server separately from the viewer, on a more powerful machine.
The following steps assume that you intend to run your client application on one workstation, the OLT server on a second workstation, and the OLT viewer on a third workstation Your application server can be running on any of these machines or on a fourth machine.
To create a trace with the OLT server and viewer running on separate machines, complete the following steps.
Note: Some platforms only have the OLT Runtime (see Supported platforms and languages). For applications running on those platforms, traces can only be monitored from an AIX or Windows NT/2000 workstation.
On the machine where you intend to monitor the trace:
On the machine where you want to run the OLT server:
From a command line, enter the following command:
oltsrv -standalone
The OLT server process starts in a shell window (or korn shell on AIX or Solaris).
On the machine where you started the OLT viewer:
From a command line, enter olt. An OLT viewer window opens displaying the
Client Controller page.
On the machine where you intend to run the client application:
C++ client application:
Start your C++ application from a command prompt.
Java client application:
At a command prompt, enter the java command that is appropriate for the level of
JDK of the client application:
On the machine where you intend to monitor the trace:
If you do not check this box, a dialog box opens when the next client application attempts to register with OLT. To use the same settings, click Run. To change the settings for the application, click Change settings and do the following on the Client Controller page:
Note: The remote location you entered for the OLT server was saved to your OLT environment file (dertrenv.dat). In future, OLT looks for its server in the location specified by this file. If you decide to run the OLT server and viewer together again on this machine (or to run the OLT server in a location other than the one specified above), you must edit the dertrenv.dat file to point to the correct OLT server location. The dertrenv.dat file is located in your %userprofile%\DbgProf directory on Windows NT/2000, and the $HOME/.DbgProf directory on AIX.
Tracing a distributed application
Setting method breakpoints on the trace
Navigating the trace
OLT troubleshooting
OLT troubleshooting - OLT environment file