[jbossts-issues] [JBoss JIRA] Closed: (JBTM-330) PropagationContextManager.getTransactionPropagationContext() to log returned tpc
Mark Little (JIRA)
jira-events at lists.jboss.org
Thu Aug 28 16:55:38 EDT 2008
[ https://jira.jboss.org/jira/browse/JBTM-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Little closed JBTM-330.
----------------------------
Fix Version/s: 4.4.CR2
Resolution: Done
> PropagationContextManager.getTransactionPropagationContext() to log returned tpc
> --------------------------------------------------------------------------------
>
> Key: JBTM-330
> URL: https://jira.jboss.org/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
> Assignee: Mark Little
> Fix For: 4.4.CR2
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list