I've been running JProfiler for a day or so and keep seeing new threads being created for the JMS Listener to a topic in WMQ. It seems to go through phases of dropping out every few minutes for half hour and then works fine for hours. I'm struggling to track down the reason why, there seems to be nothing in the logs on the server hosting WMQ so my next step it to turn on the logging client side in java but can't figure out how to do this. I was hoping it would be as straightforward as add开发者_开发问答ing a line in the log4j file setting log4j.logger.com.ibm=TRACE
but that didn't work. Does anyone have any ideas of how I can achieve this?
The Infocenter has some documentation as to all the classes that can be enabled and their include/exclude options.
For example, the class you want to set on the client side is com.ibm.msg.client.commonservices.trace.level
and it takes integer values. There is no JMS tracing on the QMgr itself but there is extensive QMgr trace available using the strmqtrc
command.
The V7 client has a lot more trace functionality and it is recommended to use it instead of the V6 client. It is permissible to use the V7 client with the V6 QMgr. Of course in that case the API functionality is limited to what the V6 QMgr provides. However, the V7 client-side functionality (such as trace) is not limited by the QMgr version.
V7 Infocenter JMS Trace
V6 Infocenter JMS Trace
V7 WMQ Client
精彩评论