5 minutes
Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java
Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]






Hi. I’m Fumi,from japan.
I want to know about a parameter named “idle timeout” .
I set the key value idle timeout = “300”.
Then after 300sec ,my application reduced all connections and rebuild connection.
I had watched these using netstat commands and go on.
And while Rebuilding connections,application doesn’t receive request.
>application reduced all connections
Is this normal action for payara?
Yes by default the server will destroy any thread that exceeds the idle timeout, and if that takes the pool size below it’s minimum size a new thread will be created to replace it.
For JDBC Connection Pools you can specify a property to change this behaviour: prefer-validate-over-recreate
If set to true, idle connections are validated during pool resizing, and only those found to be invalid are destroyed and recreated. If false, all idle connections are destroyed and recreated during pool resizing.