You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2008/05/27 13:50:39 UTC

[jira] Resolved: (SYNAPSE-331) RejectedExecutionException when stoping the ESB with configured mail transport listener

     [ https://issues.apache.org/jira/browse/SYNAPSE-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-331.
---------------------------------------

    Resolution: Fixed

Fixed for 1.2 release with minimal changes..
Ideally we should pause or stop the timer tasks when the transport is paused/stopped.. but lets leave that for 1.3 release

> RejectedExecutionException when stoping the ESB with configured mail transport listener
> ---------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-331
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-331
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: NIGHTLY
>            Reporter: Asankha C. Perera
>            Assignee: Asankha C. Perera
>            Priority: Blocker
>             Fix For: 1.2
>
>
> [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Stopping the WSO2 Enterprise Service Bus..
> 2008-05-21 18:28:41,215 [-] [WSO2 ESB Shutdown Hook] INFO StatisticsReporterThread Statistics reporter thread is being stopped
> 2008-05-21 18:28:41,318 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Embedded Derby database server shutdown
> 2008-05-21 18:28:41,322 [127.0.0.1-ruwan] [HttpCoreNIOListener] INFO HttpCoreNIOListener HTTPS Listener Shutdown
> 2008-05-21 18:28:41,322 [127.0.0.1-ruwan] [HttpCoreNIOListener] INFO HttpCoreNIOListener HTTP Listener Shutdown
> 2008-05-21 18:28:41,323 [-] [WSO2 ESB Shutdown Hook] INFO VFSTransportListener VFS Listener Shutdown
> 2008-05-21 18:28:41,323 [-] [WSO2 ESB Shutdown Hook] INFO MailTransportListener MAILTO Listener Shutdown
> 2008-05-21 18:28:41,323 [127.0.0.1-ruwan] [HttpCoreNIOSender] INFO HttpCoreNIOSender HTTPS Sender Shutdown
> 2008-05-21 18:28:41,324 [127.0.0.1-ruwan] [HttpCoreNIOSender] INFO HttpCoreNIOSender HTTP Sender Shutdown
> 2008-05-21 18:28:41,324 [-] [WSO2 ESB Shutdown Hook] INFO VFSTransportSender VFS Sender Shutdown
> 2008-05-21 18:28:41,324 [-] [WSO2 ESB Shutdown Hook] INFO JMSSender JMS Sender Shutdown
> 2008-05-21 18:28:45,527 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] Stop request completed
> 2008-05-21 18:28:45,527 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager Shutting down the JMX connector
> 2008-05-21 18:28:45,533 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] Shutdown completed
> 2008-05-21 18:28:45,549 [-] [WSO2 ESB Shutdown Hook] INFO ServiceBusManager [ESB] System will exit in approximately 3 seconds..
> Exception in thread "PollTimer" java.util.concurrent.RejectedExecutionException
>         at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1477)
>         at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:384)
>         at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:856)
>         at org.apache.synapse.transport.base.threads.NativeWorkerPool.execute(NativeWorkerPool.java:55)
>         at org.apache.synapse.transport.base.AbstractPollingTransportListener$1.run(AbstractPollingTransportListener.java:81)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org