Steady pool min value

19 views
Skip to first unread message

Sergi Trujillo

unread,
Nov 28, 2019, 4:53:53 AM11/28/19
to Payara Forum
Hi everyone,

I need to set steady-pool to 0. In payara 4 can set 0 without problems, but in payara 5 the minimum that I can set is one. For me, this is a problem.

asadmin> set resources.jdbc-connection-pool.database-pool1.steady-pool-size=0

Enter admin password for user "admin">
remote failure: Could not change the attributes: Constraints for this JdbcConnectionPool configuration have been violated: on property [  ] violation reason [ Max-pool-size has to be greater than or equal to steady-pool-size ]
Constraints for this JdbcConnectionPool configuration have been violated: on property [  ] violation reason [ Max-pool-size has to be greater than or equal to steady-pool-size ]
Command set failed.

asadmin> get resources.jdbc-connection-pool.database-pool1.Max-pool-size
Enter admin password for user "admin">
remote failure: Dotted name path resources.jdbc-connection-pool.cag2.cag.es/NCRU.Max-pool-size not found.
Command get failed.

asadmin> get resources.jdbc-connection-pool.database-pool1.max-pool-size
Enter admin password for user "admin">
resources.jdbc-connection-pool.cag2.cag.es/NCRU.max-pool-size=5
Command get executed successfully.


I think that could be an error with caps of Max-pool-size vs max-pool-size.
My supposed is correct or this minimum is for other reason?

Thank you.

Christoph John

unread,
Nov 28, 2019, 5:00:11 AM11/28/19
to Payara Forum
There is an issue open already: https://github.com/payara/Payara/issues/4197
However, it sounds as if the change was intentional.

Cheers,
Chris.

Sergi Trujillo

unread,
Nov 28, 2019, 5:40:52 AM11/28/19
to Payara Forum
Thanks for your reply.

I couldn't find this issue. I comment there my arguments.




El dijous, 28 novembre de 2019 11:00:11 UTC+1, Christoph John va escriure:
Reply all
Reply to author
Forward
0 new messages