Java commands: Starting the Debugger engine remotely

Before you issue the irmtdbgj command described in this section, ensure that you have started the debugger user interface daemon on your remote workstation with the following idebug command:

idebug -qdaemon -quiport=8001  

JDK 1.1.x

irmtdbgj -qhost=<Hostname> -quiport=<ui_daemon_port> 
-jvmargs="-nojit
-Dcom.ibm.CORBA.EnableApplicationOLT=true 
-Dcom.ibm.CORBA.requestTimeout=0 
-Dcom.ibm.CORBA.BootstrapHost=<BootstrapHostname>  
-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:

Notes

Additional comments

JDK 1.2.2+JPDA

For the Java 2 platform:

irmtdbgj -qhost=<Hostname> -quiport=<ui_daemon_port> 
-jvmargs="-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" 
-classpath "<your_app_jars>;<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:

Notes

JDK 1.3.x

irmtdbgj -qhost=<Hostname> -quiport=<ui_daemon_port>
-jvmargs="-Xdebug -Xnoagent 
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=<JVM_port> 
-Djava.compiler=NONE 
-Xbootclasspath/a:"<WebSphere_jdk>\lib\tools.jar" 
-classpath "<your_app_jars>;<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:


Debugging from a remote workstation


Java commands for tracing and debugging