How to enable JMS trace in Weblogic to find the MQ related issues ?

You can enable JMS trace in Weblogic for each managed server that use JMS to connect to IBM MQ for messaging .

To enable MQ JMS trace on Weblogic , please add below JVM property:

-Dcom.ibm.msg.client.commonservices.trace.status=ON

Restart each JVM after the JVM argument is added to get this affected .

With the above statement filesystem will get full with a single file . To control the no of files and location of the log file to be written use the following JVM arguements

-Dcom.ibm.msg.client.commonservices.trace.status=ON -Dcom.ibm.msg.client.commonservices.trace.limit=102400000 -Dcom.ibm.msg.client.commonservices.trace.count=20 -Dcom.ibm.msg.client.commonservices.trace.outputName=/tmp/jmstrace.log

This will write 20 files of each 100mb approx and the files will be available in /tmp location

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *