james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Brewin (Created) (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1352) Increase the robustness of org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository
Date Mon, 05 Dec 2011 18:44:41 GMT
Increase the robustness of org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository
---------------------------------------------------------------------------------

                 Key: JAMES-1352
                 URL: https://issues.apache.org/jira/browse/JAMES-1352
             Project: JAMES Server
          Issue Type: Improvement
          Components: UsersStore & UsersRepository
    Affects Versions: 3.0-beta3
            Reporter: Steve Brewin
            Assignee: Steve Brewin
            Priority: Minor
             Fix For: Trunk


org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository obtains its connection to the LDAP
repository during init() processing and thereafter assumes it to be valid. When, as may sometimes
temporarily or permanently occur, the connection becomes invalid the resulting javax.naming.CommunicationException
is propogated to the caller and no attempt is made to reestablish the connection. James must
be restarted to reestablish the connection, which is likely to be unacceptable in a production
environment.

To correct this, org.apache.james.user.ldap.ReadOnlyUsersLDAPRepository needs to be modified
in the following ways:

1) Make the connection timeout period configurable
2) Introduce the ability to attempt to reinstate and retry connections a configurable number
of times with a configurable delay between retries when recoverable exception is thrown

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message