Petals BC SOAP

On installation, the parameter 'http-thread-pool-size-max' can be set to a lower value than 'http-thread-pool-size-min'

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.2.0
  • Fix Version/s: 4.3.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    If you set the value 1 to 'http-thread-pool-size-max' and the value 10 to 'http-thread-pool-size-min', the following error occurs starting the BC SOAP:

    0 2012/09/11 13:04:03,527 GMT+0200 WARNING [Petals.Container.Components.petals-bc-soap.jetty] : failed org.mortbay.thread.BoundedThreadPool@14a1c3c
    java.lang.IllegalArgumentException: !0<minThreads<maxThreads
    	at org.mortbay.thread.BoundedThreadPool.doStart(BoundedThreadPool.java:323)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.mortbay.jetty.Server.doStart(Server.java:216)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.SoapServletServer.start(SoapServletServer.java:230)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:145)
    	at org.ow2.petals.binding.soap.listener.incoming.SoapExternalListenerManager.start(SoapExternalListenerManager.java:219)
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:261)
    	at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469)
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:106)
    	at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:109)
    0 2012/09/11 13:04:03,548 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : ServicesListServlet: init
    0 2012/09/11 13:04:03,549 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : SoapServlet: init
    0 2012/09/11 13:04:03,577 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : WelcomeServlet: init
    0 2012/09/11 13:04:03,585 GMT+0200 WARNING [Petals.Container.Components.petals-bc-soap.jetty] : insufficient maxThreads configured for {}
    0 2012/09/11 13:04:03,587 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : Started {}
    0 2012/09/11 13:04:03,588 GMT+0200 WARNING [Petals.Container.Components.petals-bc-soap.jetty] : failed Server@1e2b6b8
    java.lang.IllegalArgumentException: !0<minThreads<maxThreads
    	at org.mortbay.thread.BoundedThreadPool.doStart(BoundedThreadPool.java:323)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.mortbay.jetty.Server.doStart(Server.java:216)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.SoapServletServer.start(SoapServletServer.java:230)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:145)
    	at org.ow2.petals.binding.soap.listener.incoming.SoapExternalListenerManager.start(SoapExternalListenerManager.java:219)
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:261)
    	at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469)
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:106)
    	at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:109)
    0 2012/09/11 13:04:03,589 GMT+0200 SEVERE [Petals.Container.Components.petals-bc-soap.jetty] : Can not start the HTTP(S)/SOAP server
    0 2012/09/11 13:04:03,590 GMT+0200 SEVERE [Petals.Container.Components.petals-bc-soap] : Can not start the HTTP(S)/SOAP server
    0 2012/09/11 13:04:03,591 GMT+0200 SEVERE [Petals.Container.Lifecycle.ComponentLifeCycle] : Life cycle exception on START
    javax.jbi.JBIException: Life cycle exception on START
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:121)
    	at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:109)
    Caused by: javax.jbi.JBIException: org.apache.axis2.AxisFault: Can not start the HTTP(S)/SOAP server
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:278)
    	at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469)
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:106)
    	... 1 more
    Caused by: org.apache.axis2.AxisFault: Can not start the HTTP(S)/SOAP server
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:150)
    	at org.ow2.petals.binding.soap.listener.incoming.SoapExternalListenerManager.start(SoapExternalListenerManager.java:219)
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:261)
    	... 3 more
    Caused by: java.lang.IllegalArgumentException: !0<minThreads<maxThreads
    	at org.mortbay.thread.BoundedThreadPool.doStart(BoundedThreadPool.java:323)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.mortbay.jetty.Server.doStart(Server.java:216)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.SoapServletServer.start(SoapServletServer.java:230)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:145)
    	... 5 more

    Please use a default value if the value of 'http-thread-pool-size-max' is lower than the value of 'http-thread-pool-size-min', or return an error when setting values.

    Show
    If you set the value 1 to 'http-thread-pool-size-max' and the value 10 to 'http-thread-pool-size-min', the following error occurs starting the BC SOAP:
    0 2012/09/11 13:04:03,527 GMT+0200 WARNING [Petals.Container.Components.petals-bc-soap.jetty] : failed org.mortbay.thread.BoundedThreadPool@14a1c3c
    java.lang.IllegalArgumentException: !0<minThreads<maxThreads
    	at org.mortbay.thread.BoundedThreadPool.doStart(BoundedThreadPool.java:323)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.mortbay.jetty.Server.doStart(Server.java:216)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.SoapServletServer.start(SoapServletServer.java:230)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:145)
    	at org.ow2.petals.binding.soap.listener.incoming.SoapExternalListenerManager.start(SoapExternalListenerManager.java:219)
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:261)
    	at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469)
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:106)
    	at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:109)
    0 2012/09/11 13:04:03,548 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : ServicesListServlet: init
    0 2012/09/11 13:04:03,549 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : SoapServlet: init
    0 2012/09/11 13:04:03,577 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : WelcomeServlet: init
    0 2012/09/11 13:04:03,585 GMT+0200 WARNING [Petals.Container.Components.petals-bc-soap.jetty] : insufficient maxThreads configured for {}
    0 2012/09/11 13:04:03,587 GMT+0200 INFO [Petals.Container.Components.petals-bc-soap.jetty] : Started {}
    0 2012/09/11 13:04:03,588 GMT+0200 WARNING [Petals.Container.Components.petals-bc-soap.jetty] : failed Server@1e2b6b8
    java.lang.IllegalArgumentException: !0<minThreads<maxThreads
    	at org.mortbay.thread.BoundedThreadPool.doStart(BoundedThreadPool.java:323)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.mortbay.jetty.Server.doStart(Server.java:216)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.SoapServletServer.start(SoapServletServer.java:230)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:145)
    	at org.ow2.petals.binding.soap.listener.incoming.SoapExternalListenerManager.start(SoapExternalListenerManager.java:219)
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:261)
    	at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469)
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:106)
    	at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:109)
    0 2012/09/11 13:04:03,589 GMT+0200 SEVERE [Petals.Container.Components.petals-bc-soap.jetty] : Can not start the HTTP(S)/SOAP server
    0 2012/09/11 13:04:03,590 GMT+0200 SEVERE [Petals.Container.Components.petals-bc-soap] : Can not start the HTTP(S)/SOAP server
    0 2012/09/11 13:04:03,591 GMT+0200 SEVERE [Petals.Container.Lifecycle.ComponentLifeCycle] : Life cycle exception on START
    javax.jbi.JBIException: Life cycle exception on START
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:121)
    	at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:109)
    Caused by: javax.jbi.JBIException: org.apache.axis2.AxisFault: Can not start the HTTP(S)/SOAP server
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:278)
    	at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469)
    	at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:106)
    	... 1 more
    Caused by: org.apache.axis2.AxisFault: Can not start the HTTP(S)/SOAP server
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:150)
    	at org.ow2.petals.binding.soap.listener.incoming.SoapExternalListenerManager.start(SoapExternalListenerManager.java:219)
    	at org.ow2.petals.binding.soap.SoapComponent.doStart(SoapComponent.java:261)
    	... 3 more
    Caused by: java.lang.IllegalArgumentException: !0<minThreads<maxThreads
    	at org.mortbay.thread.BoundedThreadPool.doStart(BoundedThreadPool.java:323)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.mortbay.jetty.Server.doStart(Server.java:216)
    	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.SoapServletServer.start(SoapServletServer.java:230)
    	at org.ow2.petals.binding.soap.listener.incoming.jetty.AxisServletServer.start(AxisServletServer.java:145)
    	... 5 more
    Please use a default value if the value of 'http-thread-pool-size-max' is lower than the value of 'http-thread-pool-size-min', or return an error when setting values.
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Tue, 11 Sep 2012 - 15:53:33 +0200

Fixed in trunk

Show
Christophe DENEUX added a comment - Tue, 11 Sep 2012 - 15:53:33 +0200 Fixed in trunk

People

Dates

  • Created:
    Tue, 11 Sep 2012 - 15:03:03 +0200
    Updated:
    Tue, 11 Sep 2012 - 15:53:33 +0200
    Resolved:
    Tue, 11 Sep 2012 - 15:53:33 +0200