[ http://jira.jboss.com/jira/browse/JBAS-849?page=history ]
     
Adrian Brock closed JBAS-849:
-----------------------------

    Resolution: Out of Date

> Bug in org.jboss.ejb.plugins.AbstractInstancePool.freeAll()
> -----------------------------------------------------------
>
>          Key: JBAS-849
>          URL: http://jira.jboss.com/jira/browse/JBAS-849
>      Project: JBoss Application Server
>         Type: Bug
>     Versions: JBossAS-3.2.6 Final
>     Reporter: SourceForge User
>     Assignee: Bill Burke

>
>
> SourceForge Submitter: pvnbips .
> In JBoss V3.2.3 method freeAll() of class org.jboss.ejb.
> plugins.AbstractInstancePool has error.
> In VCS:
>   private void freeAll()
>    {
>       synchronized (pool)
>       {
>          for (int i = 0; i < currentIndex; i++)
>          {
>             pool[i].clear();
>             discard(pool[i]);
>             pool[i] = null;
>          }
>       }
>    }
> Correct:
>   private void freeAll()
>    {
>       synchronized (pool)
>       {
>          for (int i = 0; i < getCurrentSize(); i++)
>          {
>             pool[i].clear();
>             discard(pool[i]);
>             pool[i] = null;
>          }
>       }
>    }
> As result we have absence of ejbRemove for last bean in 
> the pool.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to