Use the Start Process dialog box to run a client application from the OLT viewer. The client application must be resident on this machine or accessible from a shared drive.
You cannot start
AIX applications from the Start Process dialog box. Instead, type the
application name in a korn shell.
Java applications:
Use the Browse... push button to browse for the desired client class and double-click its name, or type it in the
Client class entry field. Enter the fully qualified name of the Application
Server Host. The OLT program preserves the last ten client class-application server host pairs between OLT sessions.
If you are using the JDK1.2 or
JDK1.3 and intend to debug client code from
startup, you can select the Debug client class checkbox.
The JVM port field allows you to enter a valid JVM port, with a value between 0 and 65536 - and one that is free and not used by OLT or the IBM Distributed Debugger. This port number is used by the Java Debug Wire Protocol (JDWP) in the Java Platform Debugger Architecture (JPDA). The JDWP defines the format of information and requests transferred between the VM being debugged and the Distributed Debugger front-end. The port number facilitates inter-process communication used by the debugger and the VM that is being debugged.
Alternatively, you can start a Java application from the command line. The system classpath must include anything required to run your application. See the Related References links in the OLT documentation for the full specification of the command arguments for the appropriate level of the JDK.
Shell options:
C++ applications:
Use the Browse... push button to browse for the executable file and double-click its name. If you intend to debug
client application from startup, select the Debug client executable
checkbox.
If you prefer to issue commands manually, you can add one of the following commands in front of the executable name:
idebug -qlang=cpp yourapp
where yourapp is the fully qualified path to your program. For example, C:\MyApps\MyApp.exe on Windows or /usr/me/myapps/myapp on AIX or Solaris.
irmtdbgc -qhost=<Hostname> -quiport=8001 yourapp
where:
<Hostname> is the hostname of the machine where you
started the Debugger daemon.
8001 is the port number for the Debugger daemon. This parameter is
optional, and can be used when port 8001 is busy.
yourapp is the fully qualified path to your program.
For example, C:\MyApps\MyApp.exe on Windows or /usr/me/myapps/myapp on AIX or Solaris.
Shell options:
Java commands for tracing and debugging
Java commands: Starting the Java client
Java commands: Debugging a Java client from startup
Java commands: Starting the Debugger engine remotely