[
https://issues.apache.org/jira/browse/QPID-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall updated QPID-5635:
-----------------------------
Fix Version/s: 0.29
> [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
> Assignee: Keith Wall
> Fix For: 0.29
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]