Once you have completed the following steps for enabling OLT and the IBM Distributed Debugger for the application server, you can start OLT on the workstation where you want to trace and debug your application. Refer to Tracing a distributed application and Starting the OLT server and viewer on separate workstations for instructions on how to do this.
WebSphere Advanced Single Server Edition Version 4.0
You can start WebSphere Advanced Single Server Edition Version 4.0 with OLT and
the Distributed Debugger enabled via command prompt or via the WebSphere
Application Server browser-based user interface.
To start by command prompt, issue the following:
startServer -oltenabled -debug
To start by the WebSphere Application Server user interface, do the following:
Note: If you modify the Port in the IBM Distributed Debugger and Object Level Trace settings frame to a port other than 2102, you must start OLT and modify the OLT Server TCP/IP port accordingly. The OLT Server TCP/IP port is set in the Browser Preferences dialog box (accessed by selecting File > Preferences from the OLT menu bar and then selecting the OLT node). If there is a port conflict and you are unable to start OLT, go to the %userprofile%\DbgProf directory and modify the OLT_TRC_SRVAPP_PORT in the dertrenv.dat file accordingly.
The entry in the Source Path field indicates to the Debugger where servlet source files, EJB source files, and JSP files can be found. Use semicolons to separate all entries on the Source Path. For example, add the following to the source path:
<WAS_ROOT>\installedApps\sampleApp.ear\examples.war;<WAS_ROOT>\installedApps\sampleApp.ear\examples.war\WEB-INF\classes
where WAS_ROOT is where WebSphere Application Server is installed (eg. c:\WebSphere\AppServer). Click OK when you are finished.
WebSphere Application Server Version
3.5.x
Enter the following command to start WebSphere Application Server Version
3.5.x with OLT and the
Distributed Debugger enabled:
startstd -oltenabled -debug
Tracing a distributed application
Enabling OLT for Component Broker
Enabling OLT for WebSphere Advanced Edition and Enterprise Extensions
Preparing for an OLTand IBM Distributed Debugger session on workstations
Compiling application code for OLT and the IBM Distributed Debugger
WebSphere Advanced Single Server Edition: tracing and debugging a servlet