RejectedExecutionException when stoping the ESB with configured mail transport
listener
---------------------------------------------------------------------------------------
Key: ESBJAVA-488
URL: https://wso2.org/jira/browse/ESBJAVA-488
Project: WSO2 ESB
Issue Type: Bug
Components: Core Engine
Affects Versions: NIGHTLY
Reporter: Ruwan Linton
Assignee: Asankha Perera
Fix For: 1.7
When stopping the ESB server by pressing CTRL + C which has been configured to
run the mail transport listener, the following exception is thrown on the
console.
[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.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev