[jbossts-issues] [JBoss JIRA] Updated: (JBTM-330) PropagationContextManager.getTransactionPropagationContext() to log returned tpc
Mark Little (JIRA)
jira-events at lists.jboss.org
Sat Mar 1 19:15:58 EST 2008
[ http://jira.jboss.com/jira/browse/JBTM-330?page=all ]
Mark Little updated JBTM-330:
-----------------------------
Component/s: JTA Implementation
JTS Implementation
> PropagationContextManager.getTransactionPropagationContext() to log returned tpc
> --------------------------------------------------------------------------------
>
> Key: JBTM-330
> URL: http://jira.jboss.com/jira/browse/JBTM-330
> Project: JBoss Transaction Manager
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JTA Implementation, JTS Implementation
> Affects Versions: 4.2.3.SP6, 4.3.0.BETA2
> Reporter: Galder Zamarreno
>
> From a support point of view, it'd be really helpful if the JTA
> and JTS PropagationContextManager logged which tcp is
> returned when getTransactionPropagationContext() is called.
> I have done a local patch for the JTA version as a result of trying
> to figure out how it worked internally:
> public Object getTransactionPropagationContext()
> {
> if (log.isDebugEnabled())
> {
> log.debug("PropagationContextManager.getTransactionPropagationContext - called");
> }
> String txid = ((BasicAction.Current() == null) ? null : BasicAction.Current().get_uid().stringForm());
> if (log.isDebugEnabled())
> {
> log.debug("PropagationContextManager.getTransactionPropagationContext - returned tpc = " + txid);
> }
>
> return txid;
> }
> If everyone's happy with this, I can commit it myself. Thoughts?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list