-
1. Re: Container-managed transactions logging?!
jaikiran Nov 16, 2009 9:16 AM (in response to medi84)The com.arjuna package does provide logs related to transactions. But i am not sure those are clear enough to help you understand when a transaction has started or ended.
Why do you need such logs, by the way? -
2. Re: Container-managed transactions logging?!
kickmetoandy Nov 16, 2009 11:14 AM (in response to medi84)we are having the same issue. we would like to see when a transaction start and when it ends. the most interesting case is problaby the rollback of a transaction, without having to check the db if the transaction was successfully rolled back or not. i have enabled all the com.arjuna packages with
<category name="com.arjuna"> <priority value="TRACE"/> </category>
however the additional log messages are of no value at all :-( -
3. Re: Container-managed transactions logging?!
medi84 Nov 17, 2009 3:37 AM (in response to medi84)"jaikiran" wrote:
The com.arjuna package does provide logs related to transactions. But i am not sure those are clear enough to help you understand when a transaction has started or ended.
Why do you need such logs, by the way?
I found no use of those logs. I really can't believe that there is no transaction logging facility for JTA transactions. What, JBoss developers thought that we can be confident with EJB TransactionAttribute rules by themselves, and be aware of when transactions begin/commit/rollback during development?! Is that so?! :-( -
4. Re: Container-managed transactions logging?!
vickyk Nov 17, 2009 5:22 AM (in response to medi84)"KickMeToAndy" wrote:
however the additional log messages are of no value at all :-(
wdym?
You will not be able to see the logs unless you make the changes in the corresponding jbossjta-properties.xml file too.
change 0x00000000 to 0xffffffff for DebugLevel/FacilityLevel/VisibilityLevel. -
5. Re: Container-managed transactions logging?!
vickyk Nov 17, 2009 5:25 AM (in response to medi84)"medi84" wrote:
What, JBoss developers thought that we can be confident with EJB TransactionAttribute rules by themselves, and be aware of when transactions begin/commit/rollback during development?! Is that so?! :-(
Yes, enable the JbossTS logging and investigate what is happening at JTA side.
It would be hard to believe that you are hitting a bug in JTA ! -
6. Re: Container-managed transactions logging?!
medi84 Nov 17, 2009 7:48 AM (in response to medi84)Sorry for being cynicly harsh, but I didn't want my question to stay unanswered. :-)
Changing DebugLevel value from to 0x00000000 to 0xffffffff in jbossts-properties.xml enabled JTA transaction logging. So, I have:
- DEBUG [com.arjuna.ats.jta.logging.logger] BaseTransaction.begin
- DEBUG [com.arjuna.ats.jta.logging.logger] BaseTransaction.commit
messages in my logs.
Thanks.