Transaction logging in JBoss 6 -


in question:

how debug cmt transaction boundaries?

some instructions given configuring jboss log transaction begin, commit etc. events. i'm using jboss 6, , don't have file ".../server/conf/jbossjta-properties.xml". is possible achieve same logging in newer version?

you can try set logging in jboss-logging.xml file.

you can find there logger category com.arjuna.ats log level info. can change trace , check if works you.

<logger category="com.arjuna.ats">     <level name="trace" /> </logger> 

you can find such information in log/server.log file:

2011-07-04 21:58:25,861 trace [com.arjuna.ats.jta] (http-127.0.0.1-8080-1) basetransaction.getstatus 2011-07-04 21:58:25,862 trace [com.arjuna.ats.jta] (http-127.0.0.1-8080-1) basetransaction.begin 2011-07-04 21:58:25,862 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) statemanager::statemanager( 2, 0 ) 2011-07-04 21:58:25,862 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) basicaction::basicaction() 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) basicaction::begin() action-id 0:ffff7f000101:126a:4e121a3c:1d4 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) basicaction::actioninitialise() action-id 0:ffff7f000101:126a:4e121a3c:1d4 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) actionhierarchy::actionhierarchy(5) 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) actionhierarchy::add(0:ffff7f000101:126a:4e121a3c:1d4, 1) 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) basicaction::addchildthread () action 0:ffff7f000101:126a:4e121a3c:1d4 adding thread[http-127.0.0.1-8080-1,5,jboss] 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) basicaction::addchildthread () action 0:ffff7f000101:126a:4e121a3c:1d4 adding thread[http-127.0.0.1-8080-1,5,jboss] result = true 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) transactionreaper::insert ( basicaction: 0:ffff7f000101:126a:4e121a3c:1d4 status: actionstatus.running, 300 ) 2011-07-04 21:58:25,863 trace [com.arjuna.ats.arjuna] (http-127.0.0.1-8080-1) reaperelement::reaperelement ( basicaction: 0:ffff7f000101:126a:4e121a3c:1d4 status: actionstatus.running, 300 ) 2011-07-04 21:58:25,864 trace [com.arjuna.ats.jta] (http-127.0.0.1-8080-1) transactionimple.getstatus 2011-07-04 21:58:25,864 trace [com.arjuna.ats.jta] (http-127.0.0.1-8080-1) transactionimple.registersynchronization 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -