If there is no connection to the LDAP, then it is no longer possible to create 
an AccessMgrFactory. 

First we get:
org.apache.directory.fortress.core.CfgRuntimeException: static init: Error 
loading from cfg file: [fortress.properties] 
SecurityException=org.apache.directory.fortress.core.FinderException: getConfig 
dn [cn=DEFAULT,ou=Config,dc=example,dc=com] caught 
LdapException=INVALID_CREDENTIALS: Bind failed: ERR_316 Directory service is 
not started., errCode=127

On subsequent calls we get:
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.directory.fortress.core.AccessMgrFactory

Is there a way to handle this and make the Fortress core api reconnect later?

// Jan Sindberg

Reply via email to