CORBA 2.6.1 Programmer's Guide for Java

Set the environment variables before starting the processes by using an export statement.
Note:
To enable tracing for SSL, the JSSE javax.net.debug property is used. For example,
java -Djavax.net.debug=ssl Server -ORBprofile java_ssl_server
Tracing starts at process initialization, so you need to start or restart the process you want to trace after you have enabled tracing. You can use
the Console to start and stop NonStop CORBA subsystem processes, or you can use Guardian or PATHCOM commands. The Console
manages NonStop CORBA subsystem processes, but not user application processes. For information on PATHCOM commands, see the
NonStop TS/MP System Management Manual.
To disable tracing, reverse the earlier modification, then restart the processes. You should disable tracing as soon as your troubleshooting is
completed because tracing can consume resources and produce considerable output.
Using the Console to set tracing is the easiest method, but this method offers limited choices for tracing and sets tracing for NonStop CORBA
subsystem processes, not application processes. For general information about using the Console, see the NonStop CORBA 2.6.1
Administration Guide. The tracing choices offered in the Console are:
None
Basic
Detailed
Table 5–3 shows the available trace settings. The “Basic” and “Detailed” columns show the settings that are set by using the Console. You can
set any of the trace setting individually as described below.
If you want more specific control over the individual trace settings than is provided through the Console, you can set a value in the configuration
database by using the
cfgmgt tool. The entity default@trace contains names and values for the various trace settings. If the value is TRUE,
tracing is enabled for NonStop CORBA components affected by the trace flag setting. (The Naming Service uses the setting for trace in the entity
NS@name_service_settings.)
You can also modify the
$NSD_ROOT/bin/nsdstart script. This script contains NonStop CORBA subsystem trace-flag settings that have been
commented out. Like the Console, the
nsdstart script sets tracing only for NonStop CORBA subsystem processes, not application processes.
To enable tracing for one or more of the subsystem processes, you must uncomment the appropriate lines before running the
nsdstart.
An example of one of these lines is as follows:
[ set server env NSDOM_CFG_TRACE_ORB=TRUE
Removing the open bracket ([) uncomments the line.
When you enable tracing by using an export statement, you can set individual environment variables as shown by this example:
export NSDOM_CFG_TRACE_PROXY=TRUE
Clearing the environment variable is done by using the unset statement. For example,
unset NSDOM_CFG_TRACE_PROXY
Caution:
You need to be very careful to keep changes made with the Console and changes made to the
nsdstart script
consistent with your intentions. If you have used the Console to change the trace settings, those changes will
not be reflected in
nsdstart.
Table 5.3. Tracing Options for NonStop CORBA subsystem
Services
Item
Basic Tracing sets
these environment
variables
Detailed Tracing sets these environment variables Default
log
Filename
BSD
NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_POA
NSDOM_CFG_TRACE_POA NSDOM_CFG_TRACE_PROXY NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_SOCKEH
bsd.log
Comm
Server
NSDOM_CFG_TRACE_CS NSDOM_CFG_TRACE_CS NSDOM_CFG_TRACE_SOCKEH NSDOM_CFG_TRACE_GFSEH
NSDOM_CFG_TRACE_GCFEH
cs.log
Event
Service
NSDOM_CFG_TRACE_ES
NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_POA
NSDOM_CFG_TRACE_ES NSDOM_CFG_TRACE_POA NSDOM_CFG_TRACE_PROXY
NSDOM_CFG_TRACE_ORB NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_SOCKEH
es.log
ILSD
NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_POA
NSDOM_CFG_TRACE_POA NSDOM_CFG_TRACE_PROXY NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_SOCKEH
ilsd.log
IR
NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_POA
NSDOM_CFG_TRACE_POA NSDOM_CFG_TRACE_PROXY NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_GFSEH NSDOM_CFG_TRACE_GCFEH
ird.log
LSD
NSDOM_CFG_TRACE_ORB NSDOM_CFG_TRACE_ORB NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_SOCKEH lsd.log
Naming
Service
NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_POA
NSDOM_CFG_TRACE_POA NSDOM_CFG_TRACE_PROXY NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_GFSEH NSDOM_CFG_TRACE_GCFEH
ns.log
OTS
NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_POA
NSDOM_CFG_TRACE_OTS
NSDOM_CFG_TRACE_POA NSDOM_CFG_TRACE_PROXY NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_OTS NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_GFSEH
NSDOM_CFG_TRACE_GCFEH
ots.log
XID
Broker
NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_POA
NSDOM_CFG_TRACE_OTS
NSDOM_CFG_TRACE_POA NSDOM_CFG_TRACE_PROXY NSDOM_CFG_TRACE_ORB
NSDOM_CFG_TRACE_OTS NSDOM_CFG_TRACE_GIOP_FW NSDOM_CFG_TRACE_GFSEH
NSDOM_CFG_TRACE_GCFEH
ots.log