sql server - JBoss/MSSQL Connection Pool Metrics -


i have system jboss eap 6.3, , using mssql. have 'sqljdbc41.jar' set , datasource connection pool configured in standalone.xml:

            <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> 

the db queries running fine, missing metrics around connection pool in our jboss console. have tried play around configuration not sure if that's right path. haven't set specific jmx beans, maybe that's issue?

have enabled datasource statistics? in eap 6.3 , later, datasource statistics must explicitly enabled. disabled default minimize performance impact


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -