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()?
All idle connections are immediately closed
Any in use connections are closed when the application finishes with them
New connections are created
Comments