You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2006/12/12 17:01:23 UTC

[jira] Created: (QPID-172) RejectedExecutionExceptions during Test run

RejectedExecutionExceptions during Test run
-------------------------------------------

                 Key: QPID-172
                 URL: http://issues.apache.org/jira/browse/QPID-172
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Martin Ritchie
         Assigned To: Martin Ritchie
             Fix For: M2


There are a number of sporadic Rejected Execution Exceptions being thrown during the test runs.

A check in PoolingFilter to see if the pool has shutdown should do the trick

            if (job.activate() && _poolReference.getPool() != null && !_poolReference.getPool().isShutdown())

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

        

[jira] Resolved: (QPID-172) RejectedExecutionExceptions during Test run

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-172?page=all ]

Martin Ritchie resolved QPID-172.
---------------------------------

    Resolution: Fixed

New Revision: 486596

URL: http://svn.apache.org/viewvc?view=rev&rev=486596
Log:
QPID-172
RejectedExecutionException.
In fireEvent
 added additional checks :_poolReference.getPool() != null && !_poolReference.getPool().isShutdown()
to if (job.activate())
As active jobs were being put on a pool that was shutdown.

Included a test to check that the RejectedExecutionException doesn't occur.


> RejectedExecutionExceptions during Test run
> -------------------------------------------
>
>                 Key: QPID-172
>                 URL: http://issues.apache.org/jira/browse/QPID-172
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>         Assigned To: Martin Ritchie
>             Fix For: M2
>
>
> There are a number of sporadic Rejected Execution Exceptions being thrown during the test runs.
> A check in PoolingFilter to see if the pool has shutdown should do the trick
>             if (job.activate() && _poolReference.getPool() != null && !_poolReference.getPool().isShutdown())

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