Software Links
Getting Started
- A Globus Primer
- Globus Is Modular!
- Quickstart
- Installing GT
- Platform Notes
- GT Developer's Guide
- GT User's Guide
- Migrating Guides
Reference
Manuals
Common Runtime
Security
- GSI C
- GSI Java
- Java WS A&A
- C WS A&A (coming soon)
- CAS
- Delegation Service
- MyProxy
- GSI-OpenSSH
- SimpleCA
Data Mgt
WS MDS
Execution Mgt
Table of Contents
You can also find information about sys admin logging in Debugging.
The simplest method for logging SOAP messages is to add the org.globus.wsrf.handlers.MessageLoggingHandler to the request or
response chain in the server-config.wsdd or
client-config.wsdd files.
For example:
<requestFlow> ... <handler
type="java:org.globus.wsrf.handlers.MessageLoggingHandler"/> ...
</requestFlow>Then
you must enable logging for this handler class in the appropriate log4j.properties files and change the logging level to DEBUG:
log4j.category.org.globus.wsrf.handlers.MessageLoggingHandler=DEBUG
Another method for tracing SOAP messages is to enable logging for selected Axis
classes. Add the following lines to the appropriate log4j.properties files:
log4j.category.org.apache.client.Call=DEBUG
log4j.category.org.apache.axis.transport.http.HTTPSender=DEBUG # enable the following
logger for HTTPS/HTTPG transport handlers
log4j.category.org.globus.axis.axis.transport=DEBUGThis will log Axis client side calls and Axis HTTP messages.
To trace SOAP messages on the wire you can use TcpMon from Apache
Axis. After setting the environment using $GLOBUS_LOCATION/etc/globus-dev-env.[sh|csh|bat]
run:
$ java org.apache.axis.utils.tcpmon [listenPort targetHost targetPort]
If
no arguments are used, you have to fill out these values in the GUI. Make sure to also
start the standalone container with the proxy server port option set to the
listenPort value.
JVM vendors provide useful tools and troubleshooting guides for debugging Java processes. Please use those guides for debugging your programs, for example:
If a Java process appears to hang, for example in case of the standalone container, the list of deployed services is not shown after a while or all requests to the container time out, requesting the JVM thread dump might help diagnose the problem.
To request JVM thread dump run:
kill -QUIT <JVM process id>
If this command is successful, the thread dump information should be printed to the standard output or error of the Java process. Therefore, the thread dump information might appear on the console of that process or in a file to which the standard output/error of process is redirected to. Please also note that on certain JVMs the thread dump information might be put in a separate file.
When filing bugs of such nature please always include the JVM thread dump information.