We are using External Context in jboss-service.xml for LDAP. When the LDAP server restarted jboss is not re-establishing the Context again. I use JMX console to stop and start the ExternalContext service manually. Is there any configuration can be used to restart the service when the LDAP restarts. Or can I access ExternalContext mbean on my code to call the stop and start the service?