Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-837

Transaction deadlock when NoSuchElementException is thrown from AsyncStore.doWork()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 4.14.0
    • Fix Version/s: 4.17.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu 64-bit Linux/JBoss JTA 4.14.0/Hibernate 3.6.1/Infinispan 3.4.0.CR2/Spring 3.0.5/MySQL 5.1

    • Workaround Description:
      Hide

      I've changed our JBoss JTA configuration to use HashedStore instead of CacheStore for now. We are using CacheStore in hopes of getting the best transaction performance.

      Show
      I've changed our JBoss JTA configuration to use HashedStore instead of CacheStore for now. We are using CacheStore in hopes of getting the best transaction performance.

      Description

      Our product has a scheduled job that runs every 30 minutes. Callable instances are added to an ExecutorService instance which is currently configured for 16 threads.

      Our JBoss JTA implementation is using CacheStore as the object store (default-jbossts-properties.xml attached).

      After some time a NoSuchElementException is thrown from AsyncStore.doWork(). That exception is somehow blocking other transaction thread's execution.

      The Java thread dump is attached as well.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tomjenkinson Thomas Jenkinson
                Reporter:
                tomwaterhouse Tom Waterhouse
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: