0
我有一個系統與JBoss EAP 6.3,並使用MSSQL。我有「sqljdbc41.jar」設置和數據源連接池在standalone.xml配置:JBoss/MSSQL連接池度量
<datasource jndi-name="java:jboss/datasources/Foo" pool-name="Foo" enabled="true" use-ccm="false" connectable="true" statistics-enabled="true">
<connection-url>jdbc:sqlserver://<hostname>:1433;DatabaseName=<DB-Name></connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<driver>sqlserver</driver>
<pool>
<min-pool-size>1</min-pool-size>
<max-pool-size>100</max-pool-size>
<prefill>true</prefill>
<use-strict-min>false</use-strict-min>
<flush-strategy>IdleConnections</flush-strategy>
<allow-multiple-users>true</allow-multiple-users>
</pool>
<security>
<user-name>user1</user-name>
<password>user1</password>
</security>
<timeout>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>4</idle-timeout-minutes>
</timeout>
<statement>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</datasource>
的數據庫查詢都運行良好,但我們缺少周圍連接池指標在我們的JBoss控制檯。試圖玩弄配置,但不知道如果這是正確的道路。我還沒有設置任何特定的jmx bean,可能是這個問題?