Details
-
Type:
Improvement Request
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.2
-
Component/s: configuration
-
Security Level: Public
-
- Environment:
- -
Activity
| Field | Original Value | New Value |
|---|---|---|
| Description |
If the JBI descriptor of a component define a value of 'processor-pool-size' greater than the value of 'processor-max-pool-size' (or its default one if absent), the following exception occurs when starting the component installed by the autoloader:
{code} [Petals.Container.Components.petals-bc-soap]-INFO 2012-02-15 10:29:35,487 Start component... [Petals.Container.ComponentLifeCycle.petals-bc-soap]-SEVERE 2012-02-15 10:29:35,523 Life cycle exception on START javax.jbi.JBIException: Life cycle exception on START at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:117) at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:110) Caused by: java.lang.IllegalArgumentException at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:589) at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorThreadPoolExecutor.<init>(JBIProcessorManager.java:150) at org.ow2.petals.component.framework.process.JBIProcessorManager.start(JBIProcessorManager.java:302) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:509) at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more {code} Please add a clearer message as : WARNING "The value of 'processor-pool-size' is invalid (greater than 'processor-max-pool-size'). The value of 'processor-max-pool-size' is set to the value of 'processor-pool-size'". |
If the JBI descriptor of a component defines a value of 'processor-pool-size' greater than the value of 'processor-max-pool-size' (or its default one if absent), the following exception occurs when starting the component installed by the autoloader:
{code} [Petals.Container.Components.petals-bc-soap]-INFO 2012-02-15 10:29:35,487 Start component... [Petals.Container.ComponentLifeCycle.petals-bc-soap]-SEVERE 2012-02-15 10:29:35,523 Life cycle exception on START javax.jbi.JBIException: Life cycle exception on START at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:117) at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:110) Caused by: java.lang.IllegalArgumentException at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:589) at org.ow2.petals.component.framework.process.JBIProcessorManager$MessageExchangeProcessorThreadPoolExecutor.<init>(JBIProcessorManager.java:150) at org.ow2.petals.component.framework.process.JBIProcessorManager.start(JBIProcessorManager.java:302) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:509) at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more {code} Please add a clearer message as : WARNING "The value of 'processor-pool-size' is invalid (greater than 'processor-max-pool-size'). The value of 'processor-max-pool-size' is set to the value of 'processor-pool-size'". |
| Priority | Blocker [ 1 ] |
| Issue Type | Bug [ 1 ] | Improvement Request [ 4 ] |
| Priority | Blocker [ 1 ] | Minor [ 4 ] |
| Status | New [ 10000 ] | Open [ 10002 ] |
| Assignee | Mathieu Carrolle [ mcarrolle ] | Christophe DENEUX [ cdeneux ] |
| Component/s | configuration [ 10060 ] | |
| Component/s | runtime [ 10075 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 5.1.3 [ 10284 ] | |
| 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.3.0 [ 10338 ] | |
| Resolution | Fixed [ 1 ] |