You can enable OLT using the WebSphere Advanced Edition's Administrator's Console (as described below), and then start OLT, run your application, and trace and/or debug.
WebSphere Application Server Advanced Edition Version
4.0
Before tracing and debugging, or just tracing, in a WebSphere Application Server environment, use the
Administrative Console to enable tracing and debugging on the application server
where you have deployed your application:
Non-managed C++ clients in WebSphere Application
Server Enterprise Extensions Version 4.0
To run a C++ client using Object Level Trace and the Distributed Debugger on a host that
has WebSphere Application Server Enterprise Extensions Version 4.0 installed, you need to use a client-style properties file to provide the necessary properties and arguments. At run-time, the
client application will acquire arguments from this properties file. To use the client style properties file, ensure that
the SOMCBPROPS environment variable is set to the name of this file. To run non-managed C++ clients against
OLT, the client-style properties file must be set to include the following:
com.ibm.CORBA.debugEnabled=yes
com.ibm.CORBA.oltHostname=
com.ibm.CORBA.oltPort=2102
com.ibm.CORBA.requestTimeout=0
Information for compiling the client for tracing and debugging must also be added to the properties file. For information about this and additional properties that can be used in a client- style properties file, please refer to the Enterprise Extensions documentation.
WebSphere Application Server Advanced Edition Version
3.5
Before tracing or debugging in a WebSphere Application Server environment, use the
Administrative Console to enable tracing and debugging on the application server
where you have deployed your application, as follows:
Tracing a distributed application
Enabling OLT and the IBM Distributed Debugger for WebSphere Advanced Single Server Edition
Enabling OLT for Component Broker
Compiling application code for OLT and the IBM Distributed Debugger
Preparing for an OLTand IBM Distributed Debugger session on workstations