Petals CDK

On installadtion, the parameters 'acceptor-pool-size', 'processor-pool-size' and 'processor-max-pool-size' can be set to a negative value or 0

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 5.1.1
  • Fix Version/s: 5.1.2, 5.2.0
  • Component/s: configuration
  • Security Level: Public
  • Description:
    Hide

    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:

    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

    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'

    Show
    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:
    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
    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'
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Mon, 18 Jul 2011 - 18:41:47 +0200
Field Original Value New Value
Priority Major [ 3 ]
Christophe DENEUX made changes - Mon, 18 Jul 2011 - 23:16:04 +0200
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'*
Christophe DENEUX made changes - Tue, 19 Jul 2011 - 11:45:35 +0200
Link This issue duplicates PETALSCDK-60 [ PETALSCDK-60 ]
Christophe DENEUX made changes - Tue, 19 Jul 2011 - 12:30:33 +0200
Link This issue depends on PETALSESBCONT-164 [ PETALSESBCONT-164 ]
Christophe DENEUX made changes - Tue, 26 Jul 2011 - 13:41:17 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ] Minor [ 4 ]
Assignee Mathieu Carrolle [ mcarrolle ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Tue, 26 Jul 2011 - 13:41:21 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Tue, 26 Jul 2011 - 13:43:52 +0200

Fix in branch petals-entreprise-3.1.x

Show
Christophe DENEUX added a comment - Tue, 26 Jul 2011 - 13:43:52 +0200 Fix in branch petals-entreprise-3.1.x
Christophe DENEUX made changes - Tue, 26 Jul 2011 - 13:43:52 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.1.2 [ 10180 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Tue, 26 Jul 2011 - 13:44:02 +0200

To merge in trunk

Show
Christophe DENEUX added a comment - Tue, 26 Jul 2011 - 13:44:02 +0200 To merge in trunk
Christophe DENEUX made changes - Tue, 26 Jul 2011 - 13:44:02 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Thu, 8 Sep 2011 - 11:44:07 +0200 - edited

Few files have been forgotten to be committed on branch petals-entreprise-3.1.x: fixed by svn#27732

Show
Christophe DENEUX added a comment - Thu, 8 Sep 2011 - 11:44:07 +0200 - edited Few files have been forgotten to be committed on branch petals-entreprise-3.1.x: fixed by svn#27732
Olivier Fabre made changes - Thu, 8 Sep 2011 - 11:59:36 +0200
Assignee Christophe DENEUX [ cdeneux ] Olivier Fabre [ ofabre ]
Olivier Fabre made changes - Thu, 8 Sep 2011 - 11:59:54 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Olivier Fabre made changes - Thu, 8 Sep 2011 - 13:00:19 +0200
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 ]
Olivier Fabre made changes - Thu, 8 Sep 2011 - 13:00:37 +0200
Fix Version/s 5.1.2 [ 10180 ]
Christophe DENEUX made changes - Mon, 10 Oct 2011 - 10:22:04 +0200
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
New New Open Open
7d 18h 59m
1
Christophe DENEUX
Tue, 26 Jul 2011 - 13:41:17 +0200
Open Open In Progress In Progress
4s
1
Christophe DENEUX
Tue, 26 Jul 2011 - 13:41:21 +0200
In Progress In Progress Resolved Resolved
2m 31s
1
Christophe DENEUX
Tue, 26 Jul 2011 - 13:43:52 +0200
Resolved Resolved Open Open
10s
1
Christophe DENEUX
Tue, 26 Jul 2011 - 13:44:02 +0200
Open Open In Progress In Progress
43d 22h 15m
1
Olivier Fabre
Thu, 8 Sep 2011 - 11:59:54 +0200
In Progress In Progress Resolved Resolved
1h
1
Olivier Fabre
Thu, 8 Sep 2011 - 13:00:19 +0200



People

Dates

  • Created:
    Mon, 18 Jul 2011 - 18:41:26 +0200
    Updated:
    Mon, 10 Oct 2011 - 10:22:04 +0200
    Resolved:
    Thu, 8 Sep 2011 - 13:00:19 +0200