Petals BC SFTP

Unable to use an 'unlimited' size for the connection pool

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.0
  • Fix Version/s: 1.8.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Using the value '-1' for SU parameter 'max-connection', we are limited to 8 connections in the pool. For the 9th, we get the following error:

    ...
    sample-0 2020/11/19 08:40:49,663 GMT+0000 CONFIG [Petals.Container.Components.petals-bc-sftp] : Number of maximum connection for the pool: -1
    ...
    java.util.NoSuchElementException: Pool exhausted
    at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:456)
    at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:365)
    at org.ow2.petals.bc.sftp.listeners.JBIListener.onJBIMessage(JBIListener.java:132)
    ...
    Show
    Using the value '-1' for SU parameter 'max-connection', we are limited to 8 connections in the pool. For the 9th, we get the following error:
    ...
    sample-0 2020/11/19 08:40:49,663 GMT+0000 CONFIG [Petals.Container.Components.petals-bc-sftp] : Number of maximum connection for the pool: -1
    ...
    java.util.NoSuchElementException: Pool exhausted
    at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:456)
    at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:365)
    at org.ow2.petals.bc.sftp.listeners.JBIListener.onJBIMessage(JBIListener.java:132)
    ...
  • Environment:
    -

Activity

People

Dates

  • Created:
    Thu, 19 Nov 2020 - 13:48:03 +0100
    Updated:
    Fri, 11 Dec 2020 - 18:11:19 +0100
    Resolved:
    Thu, 19 Nov 2020 - 15:50:41 +0100