[jboss-jira] [JBoss JIRA] Updated: (JBAS-2131) Better support for BMT SFSB "mistakes"

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Fri Apr 4 03:35:44 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-2131?page=all ]

Jesper Pedersen updated JBAS-2131:
----------------------------------

    Assignee: Jesper Pedersen  (was: Weston Price)

> Better support for BMT SFSB "mistakes"
> --------------------------------------
>
>                 Key: JBAS-2131
>                 URL: http://jira.jboss.com/jira/browse/JBAS-2131
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions:  JBossAS-4.0.3RC2
>            Reporter: Adrian Brock
>         Assigned To: Jesper Pedersen
>             Fix For: JBossAS-4.2.3.GA
>
>
> Further to JBAS-2128 we should also implement some sort of listener on the transaction timeout.
> Given the stupid BMT SFSB semantics (this part of the spec is one my favourite anti-patterns :-)
> where a client can hog server resources.
> sfsb.doBegin();
> doLongRunningProcess();
> sfsb.doCommit();
> And even crash during the doLongRunningProcess().
> We should allow the server to reclaim the resources from a transaction timeout more quickly.
> Another option would be to allow a configuration that does a rollback() at transaction timeout.
> But this would require some serious testing to make sure all JBoss code is checking transaction status correctly.
> It would also confuse any non-j2ee compliant framework that registers transaction synchronizations
> and then assumes their "thread local" is still valid from the timeout thread or they aren't threadsafe. 
> No names mentioned to protect the guilty :-)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list