Udara Liyanage created STRATOS-1176:
---------------------------------------

             Summary: RejectedExecutionException Exception when terminating 
Stratos
                 Key: STRATOS-1176
                 URL: https://issues.apache.org/jira/browse/STRATOS-1176
             Project: Stratos
          Issue Type: Bug
            Reporter: Udara Liyanage


I got the below exception when I terminate the server with Ctr+C

[2015-02-06 13:47:15,910]  WARN 
{org.apache.stratos.messaging.broker.publish.EventPublisherPool} -  Event 
publisher instance not found in pool: [topic] instance.notifier.>
[2015-02-06 13:47:15,910]  WARN 
{org.apache.stratos.messaging.broker.publish.EventPublisherPool} -  Event 
publisher instance not found in pool: [topic] tenant.>
[2015-02-06 13:47:15,911]  INFO 
{org.apache.stratos.messaging.message.receiver.application.ApplicationsEventMessageDelegator}
 -  Shutting down application event message delegator...
[2015-02-06 13:47:15,911]  INFO 
{org.apache.stratos.messaging.message.receiver.instance.status.InstanceStatusEventMessageDelegator}
 -  Shutting down instance status event message delegator...
[2015-02-06 13:47:15,911]  INFO 
{org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator}
 -  Shutting down topology event message delegator...
[2015-02-06 13:47:15,911]  INFO 
{org.apache.stratos.messaging.message.receiver.health.stat.HealthStatEventMessageDelegator}
 -  Shutting down health statistics event message delegator...
[2015-02-06 13:47:15,911]  INFO 
{org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator}
 -  Shutting down topology event message delegator...
[2015-02-06 13:47:15,912] ERROR 
{org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor} -  Cluster 
monitor: Monitor failed.ClusterMonitor [clusterId=php1.php.domain, 
hasPrimary=false ]
java.util.concurrent.RejectedExecutionException: Task 
org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor$1@6a6e936a 
rejected from java.util.concurrent.ThreadPoolExecutor@1904abd[Terminated, pool 
size = 7, active threads = 0, queued tasks = 0, completed tasks = 12]
        at 
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
        at 
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
        at 
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
        at 
org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor.monitor(ClusterMonitor.java:585)
        at 
org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor.run(ClusterMonitor.java:436)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
[2015-02-06 13:47:15,920]  WARN 
{org.apache.stratos.messaging.broker.publish.EventPublisherPool} -  Event 
publisher instance not found in pool: [topic] topology.>
[2015-02-06 13:47:15,920]  INFO 
{org.apache.stratos.messaging.message.receiver.cluster.status.ClusterStatusEventMessageDelegator}
 -  Shutting down cluster status event message delegator...
[2015-02-06 13:47:15,920]  INFO 
{org.apache.stratos.messaging.message.receiver.instance.status.InstanceStatusEventMessageDelegator}
 -  Shutting down instance status event message delegator...
[2015-02-06 13:47:15,920]  INFO 
{org.apache.stratos.messaging.message.receiver.application.ApplicationsEventMessageDelegator}
 -  Shutting down application event message delegator...




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to