Enabling JMS tracing for the Liberty embedded messaging
JMS traces can be used in Liberty for problem determination and troubleshooting.
Setting JMS traces
The following trace strings can be set in the server.xml file to obtain the required information.
- Connection problems
- Use the following trace string to gather information about connection issues.
SIBTrm=all
- Communications and TCP/IP
- Use the following trace string to gather information about the application server channel
framework and TCP/IP network communications.
SIBCommunications=all:SIBJFapChannel=all:TCPChannel=fine:com.ibm.io.async.*=all
- JMS client applications
- Use the following trace string to gather information about requests from JMS
applications.
SIBJms*=all:SIBCommunications=all:SIBJFapChannel=all: SIBMessageTrace=all:SIBTrm=all:SIBJmsRa=all:SIBRa=all
- Locked messages
- Use the following trace string if messages that are being delivered to MDBs and
applications are locked for longer than you expect.
SIBProcessor=all:SIBMessageTrace=all
- Message-driven beans
- Use the following trace string to gather information about MDBs that are configured by
using an Activation Specification against a message destination.
SIBMessageTrace=all:SIBJmsRa=all:SIBRa=all
- Message format and schema
- Use the following trace string if there is a problem in parsing or handling message
data.
SIBMfp=all:SIBCommunications=all
- Message processor
- Use the following trace string to gather information about the core functions of the
messaging engine. Gathering this data is helpful, but might be potentially
large.
SIBProcessor=all:SIBMessageTrace=all
- Message store
- Use the following trace string to gather information about persistent message data, which
is written out to storage so that it can be recovered if there is a failure.
SIBMessageStore=all
- Performance and message tracking
- Use the following trace string to determine the delay in passing of messages
or if you need to find where the messages are
going.
SIBMessageTrace=all
- Publish/subscribe
- Use the following trace string if subscribers are not getting the proper publications for
their
topic.
SIBMatchSpace=all:SIBProcessor=all
- Security
- Use the following trace string if a user is authenticated incorrectly or is incorrectly
allowed or disallowed access to
resources.
SIBSecurity=all