How to log transaction informations in jboss 4.2.3.GA
You have to change two files:
1: jbossjta-properties.xml (for logging more info at arjuna level)
from:
...
<property name="com.arjuna.common.util.logging.DebugLevel"
type="System" value="0x00000000">
...
to:
...
<property name="com.arjuna.common.util.logging.DebugLevel"
type="System" value="0xffffffff">
...
2: jboss-log4j.xml (to configure log4j) adding the following lines
...
<category name="com.arjuna">
<priority value="DEBUG"/>
</category>
<category name="org.jboss.tm">
<priority value="DEBUG"/>
</category>
<category name="org.jboss.resource">
<priority value="TRACE"/>
</category>
...
to filter log and show which resources was enlisted in a specific transaction, we can use a command like this:
grep -a “7f000101:c2ab:4e65eaa4:1eb” server.log | grep -a Enlisting
Advertisement
Categories: My Work
My linked in profile
Da 0×00000000 a 0xffffffff? Come hai fatto a non arrivarci da solo?
simpatici no?