-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.10
-
Component/s: Directory, nuxeoctl start/stop/admin
-
Release Notes Summary:Multi-valued Java system properties are correctly handled in nuxeo.conf on Windows
-
Tags:
-
Backlog priority:600
-
Upgrade notes:
-
Sprint:NOS 9.3.6
-
Story Points:5
For instance, when specifying in nuxeo.conf for a LDAP connection:
JAVA_OPTS=$JAVA_OPTS -Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl" -Dcom.sun.jndi.ldap.connect.pool.authentication="none simple DIGEST-MD5"
there are errors at server startup:
F:\JAVA_APPS\LTS_2016\nuxeo-server-8.10-tomcat\bin>nuxeoctl.bat Found NUXEO_CONF = F:\JAVA_APPS\LTS_2016\nuxeo-server-8.10-tomcat\bin\nuxeo.conf Found JAVA_HOME = C:/Program Files/Java/jdk1.8.0_112 Using JAVA = C:/Program Files/Java/jdk1.8.0_112\bin\java.exe ssl" -Dcom.sun.jndi.ldap.connect.pool.authentication="none was unexpected at this time. F:\JAVA_APPS\LTS_2016\nuxeo-server-8.10-tomcat\bin>nuxeoctl.bat Found NUXEO_CONF = F:\JAVA_APPS\LTS_2016\nuxeo-server-8.10-tomcat\bin\nuxeo.conf Found JAVA_HOME = C:/Program Files/Java/jdk1.8.0_112 Using JAVA = C:/Program Files/Java/jdk1.8.0_112\bin\java.exe ssl\" -Dcom.sun.jndi.ldap.connect.pool.authentication="none was unexpected at this time.
It is the same when using single quotes.
As a direct result, the LDAP connection is not pooled and it affects performances. It is even more obvious in the context of Web UI, returning a search result of 40 documents with fetched properties HTTP header tries to authenticate hundreds of time. Hence very poor performances.
- depends on
-
NXP-13980 Fix LDAP pool parameter setting
- Resolved
- links to