Java commands: Starting a Java client for OLT and Distributed Debugger enablement

JDK 1.1.x

java_g -debug  
-Dcom.ibm.CORBA.requestTimeout=0 -Dcom.ibm.CORBA.BootstrapHost=<BootstrapHostname>  
-Dcom.ibm.CORBA.EnableApplicationOLT=true
-Dcom.ibm.CORBA.OLTApplicationHost=<OLT_Server_Host>
-Dcom.ibm.CORBA.OLTApplicationPort=<OLT_Server_Port> 
-DOLTClient=true 
-classpath <path\YourAppJarFile>;<path\somojor.zip>;<path\dertrjrt.jar>;
 %CLASSPATH% AppName

Variation for AIX:

where:

Note:

JDK 1.2.2+JPDA

For the Java 2 platform:

java -Xdebug -Xnoagent 
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=<JVM_port> 
-Djava.compiler=NONE 
-Xbootclasspath/a:"<WebSphere_jdk>\lib\tools.jar;<WebSphere>\lib\derdbpw.jar"
-Denv.class.path=%DEBUG_CP%
-classpath "<path\YourAppJarFile>;<WebSphere>\lib\dertrjrt.jar;%CLASSPATH%" 
-Dcom.ibm.debug.jdwpport=<JVM_port> 
-Dcom.ibm.CORBA.EnableApplicationOLT=true 
-Dcom.ibm.CORBA.requestTimeout=0 
-Dcom.ibm.CORBA.OLTApplicationHost=<OLT_Server_Host> 
-Dcom.ibm.CORBA.OLTApplicationPort=<OLT_Server_Port> 
-DOLTClient=true  AppName

Variation for AIX:

where:

Note:

JDK 1.3.x

java -Xdebug -Xnoagent 
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=<JVM_port> 
-Djava.compiler=NONE 
-Xbootclasspath/a:"<WebSphere_jdk>\lib\tools.jar;"
-Denv.class.path=%DEBUG_CP%
-classpath "<path\YourAppJarFile>;<WebSphere>\lib\dertrjrt.jar;%CLASSPATH%" 
-Dcom.ibm.debug.jdwpport=<JVM_port> 
-Dcom.ibm.CORBA.EnableApplicationOLT=true 
-Dcom.ibm.CORBA.requestTimeout=0 
-Dcom.ibm.CORBA.OLTApplicationHost=<OLT_Server_Host> 
-Dcom.ibm.CORBA.OLTApplicationPort=<OLT_Server_Port>
-DOLTClient=true  AppName

Variation for AIX:

where:

Note: When running your debugger remotely and the source files reside on the machine where you are running the debugger user interface, set DER_DBG_PATH environment variable to include your source files.


Debugging a Java client


Java commands for tracing and debugging