Version 4

    How do I change the pooling parameters at runtime?

     

    1) Use JMX to change the attributes on the connection pool

    jboss.jca:service=JBossManagedConnectionPool,name=<jndi-name>
    

     

    2) Use JMX to invoke

    flush()

    to reset the pools.

     

    What happens to the pool when I invoke flush()?

     

    1. All idle connections are immediately closed

    2. Any in use connections are closed when the application finishes with them

    3. New connections are created