Uploaded image for project: 'JBoss Cache'
  1. JBoss Cache
  2. JBCACHE-982

WARN logged if app calls into cache during tx's afterCompletion() phase.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.2.4, 1.2.4SP1, 1.2.4SP2, 1.3.0.GA, 1.3.0.SP1, 1.3.0.SP2, 1.3.0.SP3, 1.3.0.SP4, 1.4.0.GA, 1.4.0.SP1, 1.4.1.GA, 2.0.0.BETA1, 1.4.1.SP1, 1.4.1.SP2
    • Fix Version/s: 2.0.0.BETA2, 1.4.1.SP3
    • Component/s: None
    • Labels:
      None

      Description

      CacheImpl.getCurrentTransaction() logs a WARN if the tx bound to the thread is Status.COMMITTED. It's a valid use case (see forum ref for an example) to want to call into the cache during a Synchronization's afterCompletion() callback, but doing so would trigger this WARN. So, if the tx is Status.COMMITTED, the log message should be a TRACE.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: