[jboss-jira] [JBoss JIRA] Created: (JBAS-7612) org.jboss.test.jca.test.TxInflowUnitTestCase.testTimer

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Mon Jan 11 13:13:31 EST 2010


org.jboss.test.jca.test.TxInflowUnitTestCase.testTimer
------------------------------------------------------

                 Key: JBAS-7612
                 URL: https://jira.jboss.org/jira/browse/JBAS-7612
             Project: JBoss Application Server
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
          Components: JCA service
    Affects Versions: JBossAS-6.0.0.M1
            Reporter: Jesper Pedersen
            Assignee: David Lloyd
             Fix For: JBossAS-6.0.0.M2


The above test case is failing since the work unit hasn't been completed.

The javax.resource.spi.work.WorkManager#doWork() should be a blocking operation. Likewise there are the scheduleWork() and startWork() methods that needs to be supported.

The implementation is located in org.jboss.resource.work.JBossWorkManager which uses a org.jboss.resource.work.WorkWrapper instance to handle callbacks from the work manager.

The WorkWrapper itself uses org.jboss.util.threadpool.BasicTaskWrapper for its base implementation.

With the replacement of the thread pool implementation to JBoss Thread from org.jboss.util.threadpool.BasicThreadPool the lifecycle of the work unit doesn't comply with the requirements anymore.

This change was committed in rev80054.

-- 
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 jboss-jira mailing list