Details
-
- Environment:
- -
Issue Links
| Depends | |||
|---|---|---|---|
|
|
|
||
Activity
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue blocks |
| Status | New [ 10000 ] | Open [ 10002 ] |
| Priority | Blocker [ 1 ] |
| Description |
The following error occurs restarting a JBI component because {{TimerTask}}s are reused on scheduling instead of creating new ones:
{code} sample-0 2014/06/11 10:14:04,872 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component initialized sample-0 2014/06/11 10:14:04,874 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Start component... sample-0 2014/06/11 10:14:04,956 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component started sample-0 2014/06/11 10:14:52,503 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Stop component... sample-0 2014/06/11 10:14:52,528 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component stopped sample-0 2014/06/11 10:43:11,313 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Start component... sample-0 2014/06/11 10:43:11,384 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component started sample-0 2014/06/11 10:43:11,386 GMT+0200 SEVERE [Petals.Container.Lifecycle.ComponentLifeCycle] : Life cycle exception on START javax.jbi.JBIException: Life cycle exception on START at org.ow2.petals.microkernel.api.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:118) at org.ow2.petals.microkernel.api.container.thread.AbstractThread.run(AbstractThread.java:106) Caused by: java.lang.IllegalStateException: Task already scheduled or cancelled at java.util.Timer.sched(Timer.java:358) at java.util.Timer.schedule(Timer.java:222) at org.ow2.petals.probes.impl.DurationProbeImpl.doStart(DurationProbeImpl.java:392) at org.ow2.petals.probes.impl.AbstractProbe.start(AbstractProbe.java:102) at org.ow2.petals.component.framework.monitoring.Monitoring.start(Monitoring.java:311) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:558) at org.ow2.petals.microkernel.api.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more {code} |
The following error occurs restarting a JBI component because {{TimerTask}} are reused on scheduling instead of creating new ones:
{code} sample-0 2014/06/11 10:14:04,872 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component initialized sample-0 2014/06/11 10:14:04,874 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Start component... sample-0 2014/06/11 10:14:04,956 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component started sample-0 2014/06/11 10:14:52,503 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Stop component... sample-0 2014/06/11 10:14:52,528 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component stopped sample-0 2014/06/11 10:43:11,313 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Start component... sample-0 2014/06/11 10:43:11,384 GMT+0200 INFO [Petals.Container.Components.petals-se-activitibpmn] : Component started sample-0 2014/06/11 10:43:11,386 GMT+0200 SEVERE [Petals.Container.Lifecycle.ComponentLifeCycle] : Life cycle exception on START javax.jbi.JBIException: Life cycle exception on START at org.ow2.petals.microkernel.api.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:118) at org.ow2.petals.microkernel.api.container.thread.AbstractThread.run(AbstractThread.java:106) Caused by: java.lang.IllegalStateException: Task already scheduled or cancelled at java.util.Timer.sched(Timer.java:358) at java.util.Timer.schedule(Timer.java:222) at org.ow2.petals.probes.impl.DurationProbeImpl.doStart(DurationProbeImpl.java:392) at org.ow2.petals.probes.impl.AbstractProbe.start(AbstractProbe.java:102) at org.ow2.petals.component.framework.monitoring.Monitoring.start(Monitoring.java:311) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:558) at org.ow2.petals.microkernel.api.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more {code} |
| Assignee | Christophe DENEUX [ cdeneux ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Fix Version/s | 5.4.1 [ 10470 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 10004 ] | Open [ 10002 ] |
| Resolution | Fixed [ 1 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 5.4.2 [ 10406 ] | |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 5.4.2 [ 10406 ] |