Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.1
-
Component/s: configuration
-
Security Level: Public
-
- Environment:
- -
Issue Links
| Depends | |||
|---|---|---|---|
|
|||
| Duplicate | |||
|---|---|---|---|
|
|||
Activity
| Field | Original Value | New Value |
|---|---|---|
| Priority | Major [ 3 ] |
| Summary | The parameter 'acceptor-pool-size' can be set to a negative value or 0 | The parameters 'acceptor-pool-size', 'processor-pool-size' and 'processor-max-pool-size' can be set to a negative value or 0 |
| Description |
During a component installation, the parameter 'acceptor-pool-size' can be set to a negative value or 0.
And when the component will be started, the following error will occur: {code} 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 java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:514) at org.ow2.petals.component.framework.process.JBIAcceptorManager.start(JBIAcceptorManager.java:164) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:510) at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more {code} *The value of this parameter MUST be upper or equals to 1* |
During a component installation, the parameters 'acceptor-pool-size', 'processor-pool-size' and 'processor-max-pool-size' can be set to a negative value or 0.
And when the component will be started, the following error will occur: {code} 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 java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:514) at org.ow2.petals.component.framework.process.JBIAcceptorManager.start(JBIAcceptorManager.java:164) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:510) at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more {code} *The value of these parameters MUST be upper or equals to 1, except 'processor-max-pool-size' that MUST be greater than 'processor-pool-size'* |
| Link |
This issue duplicates |
| Link |
This issue depends on |
| Status | New [ 10000 ] | Open [ 10002 ] |
| Priority | Major [ 3 ] | Minor [ 4 ] |
| Assignee | Mathieu Carrolle [ mcarrolle ] | Christophe DENEUX [ cdeneux ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 5.1.2 [ 10180 ] | |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 10004 ] | Open [ 10002 ] |
| Resolution | Fixed [ 1 ] |
| Assignee | Christophe DENEUX [ cdeneux ] | Olivier Fabre [ ofabre ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 5.2.0_4.0 [ 10267 ] | |
| Fix Version/s | 5.1.2 [ 10180 ] | |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 5.1.2 [ 10180 ] |
| Summary | The parameters 'acceptor-pool-size', 'processor-pool-size' and 'processor-max-pool-size' can be set to a negative value or 0 | On installadtion, the parameters 'acceptor-pool-size', 'processor-pool-size' and 'processor-max-pool-size' can be set to a negative value or 0 |
| Transition | Status Change Time | Execution Times | Last Executer | Last Execution Date | |||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|
|||||||||
|
|
|
|
|

Fix in branch petals-entreprise-3.1.x