Announcement Announcement Module
No announcement yet.
JMX monitoring for LDAP pool Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMX monitoring for LDAP pool

    I plan to use pooled LdapContextSource, however I would like to monitor the pool (connection used etc.). I can expose MBean- JMX to do that, but I donít know where to get the pooling details, like the number of active connections etc.
    <beans:bean id="contextSourceTarget"
    class=" ontextSource">
    <beansroperty name="url" value="ldap://spogtamldap-ro:389" />
    <beansroperty name="userDn"
    value="uid=tcserver-ro,ou=applications,dc=ironmountain,dc=com" />
    <beansroperty name="password" value="${TAM.LDAP.password}" />
    <property name="dirObjectFactory" value=" ltDirObjectFactory" />
    <property name="pooled" value="true" />

    I tried using org.springframework.ldap.pool.factory.PoolingConte xtSource and exposing it through Mban, but I am running into several other issues with PoolingContextSource. Does anyone know a good way to get those details?