[
https://jira.jboss.org/jira/browse/JBAS-7612?page=com.atlassian.jira.plug...
]
David Lloyd reassigned JBAS-7612:
---------------------------------
Assignee: Jesper Pedersen (was: David Lloyd)
I see this largely as a usage issue. The work unit stuff should be adapted to the new
thread pool code since the old thread pool code predates JDK5 and Executors. Can you
describe the requirements (preferably in a forum thread linked into this issue)?
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: Jesper Pedersen
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