We are binding an LDAP-server into the JNDI-context.
It works properly until redeployment.
After redeployment the connection is lost and no new connection is being
established.
How to specify to auto-reconnect after connection was lost??
<!-- Bind remote LDAP server -->
| <mbean code="org.jboss.naming.ExternalContext"
|
name="jboss.jndi:service=ExternalContext,jndiName=external/ldap/acme">
| <attribute name="JndiName">external/ldap/acme</attribute>
| <attribute name="Properties">
| java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
| java.naming.provider.url=ldap://server:389/o=acme
| java.naming.security.principal=cn=ReadOnlyAdmin,o=swm
| java.naming.security.authentication=simple
| java.naming.security.credentials=password
| com.sun.jndi.ldap.connect.pool=true
| com.sun.jndi.ldap.connect.timeout=5000
| </attribute>
| <attribute
name="InitialContext">javax.naming.ldap.InitialLdapContext</attribute>
| <attribute name="RemoteAccess">false</attribute>
| </mbean>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118542#4118542
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118542
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user