Alex Rudyy created QPID-5635: -------------------------------- Summary: [Java Broker] Virtualhost host attribute "minConnectionsPerPartition" for BoneCP connection tool is incorrectly set into array value on creation with Web Management console Key: QPID-5635 URL: https://issues.apache.org/jira/browse/QPID-5635 Project: Qpid Issue Type: Bug Components: Java Broker Affects Versions: 0.28 Reporter: Alex Rudyy
Virtualhost host attribute "minConnectionsPerPartition" for BoneCP connection tool is incorrectly set into array value on creation with Web Management console The attribute "minConnectionsPerPartition" value is initialized with an array of length 2, where the first item is set to partitionNumber value and the second item is set to minConnectionsPerPartition value as specified on the UI form. Here is the REST request to create the virtual host {code:javascript} { "name":"jdbc", "type":"STANDARD", "storeType":"jdbc", "connectionURL":"jdbc:derby:MyDbTest;create=true", "connectionPool":"BONECP", "minConnectionsPerPartition":[6,2], "maxConnectionsPerPartition":8 } {code} An extract from broker configuration store {code:javascript} "virtualhosts" : [ { "connectionPool" : "BONECP", "connectionURL" : "jdbc:derby:MyDbTest;create=true", "createdBy" : { "name" : "webadmin" }, "createdTime" : 1395235140361, "id" : "a6dc504a-7848-4ee2-a592-8e98b5b3abf2", "maxConnectionsPerPartition" : 8, "minConnectionsPerPartition" : [ 6, 2 ], "name" : "jdbc", "storeType" : "jdbc", "type" : "STANDARD" }, {code} -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org