[ 
http://jira.nuxeo.org/browse/NXP-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Grisel resolved NXP-2562.
---------------------------------

    Resolution: Fixed

> Set a default connection timeout for the jndi ldap connection pool of 
> LDAPDirectory
> -----------------------------------------------------------------------------------
>
>                 Key: NXP-2562
>                 URL: http://jira.nuxeo.org/browse/NXP-2562
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Directory
>    Affects Versions: 5.1.5, 5.2 M2
>            Reporter: Olivier Grisel
>            Assignee: Olivier Grisel
>             Fix For: 5.1.6, 5.2 M3
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> In the current implementation of LDAPDirectory, we use the jndi ldap 
> connection pool without setting a connection timeout for idle connections. We 
> should set a default timeout of 30 min (aka 1800000 ms) to prevent nightly 
> firewall operations to requires a nuxeo reboot in case of badly closed 
> connections.
> In the mean time it is possible to add the following JAVA_OPTS in run.conf / 
> run.bat to get the same result:
>  -Dcom.sun.jndi.ldap.connect.pool.timeout=1800000
> e.g. in run.conf add the following line:
>   JAVA_OPTS="$JAVA_OPTS -Dcom.sun.jndi.ldap.connect.pool.timeout=1800000"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to