Looks like this task in not shutdown/cancelled when the tenant is unloaded.
You have to implement an OSGi service and handle the throttling component.

On Wed, Apr 25, 2012 at 7:41 PM, Supun Malinga <[email protected]> wrote:

> stack trace,
> Looks like occurs after the tenant cleanup.
>
> [2012-04-25 18:00:06,105]  INFO
> {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} -  Cleaned up
> tenant supun.org
> [2012-04-25 18:18:18,202] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
>  at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>  at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 18:18:18,205] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>  at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
>  at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>  ... 1 more
> [2012-04-25 18:28:08,523]  INFO
> {org.wso2.carbon.bam.core.summary.SummaryGenerationTask} -  Running Summary
> Generator...
> [2012-04-25 18:28:08,533]  INFO
> {org.wso2.carbon.bam.core.summary.SummaryGenerationTask} -  Summary
> generation successful ...
> [2012-04-25 18:28:18,189] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
>  at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>  at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 18:28:18,190] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>  at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
>  at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>  ... 1 more
> [2012-04-25 18:38:18,189] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 18:38:18,191] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> ... 1 more
> [2012-04-25 18:48:18,197] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 18:48:18,198] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> ... 1 more
> [2012-04-25 18:58:18,196] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 18:58:18,197] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> ... 1 more
> [2012-04-25 19:08:18,197] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 19:08:18,198] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> ... 1 more
> [2012-04-25 19:18:18,194] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 19:18:18,194] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> ... 1 more
> [2012-04-25 19:28:08,523]  INFO
> {org.wso2.carbon.bam.core.summary.SummaryGenerationTask} -  Running Summary
> Generator...
> [2012-04-25 19:28:08,538]  INFO
> {org.wso2.carbon.bam.core.summary.SummaryGenerationTask} -  Summary
> generation successful ...
> [2012-04-25 19:28:18,192] ERROR {org.quartz.core.JobRunShell} -  Job
> 08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an unhandled Exception:
> java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> [2012-04-25 19:28:18,193] ERROR {org.quartz.core.ErrorLogger} -  Job
> (08645889-cd00-4ecf-bbdf-d9e25808b4d2.b9abae3b-38da-495f-9f72-a51ea851c6c4
> threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See
> nested exception: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected]
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
> Caused by: java.lang.IncompatibleClassChangeError: Found class
> org.quartz.JobExecutionContext, but interface was expected
> at
> org.wso2.carbon.throttling.manager.scheduling.ThrottlingJob.execute(ThrottlingJob.java:43)
>  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> ... 1 more
>
> thanks,
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - [email protected] <[email protected]>
> mobile - 071 56 91 321
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to