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

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
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
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

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