Announcement Announcement Module
Collapse
No announcement yet.
JMX monitoring for LDAP pool Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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="org.springframework.ldap.core.support.LdapC 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="org.springframework.ldap.core.support.Defau ltDirObjectFactory" />
    <property name="pooled" value="true" />
    </beans:bean>


    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?
Working...
X