[ 
https://issues.apache.org/jira/browse/OAK-9497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated OAK-9497:
---------------------------------
    Description: 
With Mac OS 11.4 I run into the following exception when executing the test 
phase in Maven

{code}
[ERROR] 
org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest  
Time elapsed: 1.939 s  <<< ERROR!
java.lang.reflect.InvocationTargetException
Caused by: javax.naming.NamingException: LDAP connection has been closed
{code}

I can reproduce reliably on my computer

This happens with
{code}
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/maven/3.8.1/libexec
Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: 
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_DE, platform encoding: UTF-8
OS name: "mac os x", version: "11.4", arch: "x86_64", family: "mac"
{code}

I tried with JDK 8 (1.8.0_292) as well with the same exception.

  was:
With Mac OS 11.4 I sometimes run into the following exception when executing 
the test phase in Maven

{code}
[ERROR] 
org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest  
Time elapsed: 1.939 s  <<< ERROR!
java.lang.reflect.InvocationTargetException
Caused by: javax.naming.NamingException: LDAP connection has been closed
{code}

Seems timing related as this doesn't happen each time. Probably some timeouts 
need to be increased.

This happened with
{code}
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/maven/3.8.1/libexec
Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: 
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_DE, platform encoding: UTF-8
OS name: "mac os x", version: "11.4", arch: "x86_64", family: "mac"
{code}


> LargeLdapProviderTest: InvocationTargetException: LDAP connection has been 
> closed
> ---------------------------------------------------------------------------------
>
>                 Key: OAK-9497
>                 URL: https://issues.apache.org/jira/browse/OAK-9497
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: auth-ldap
>    Affects Versions: 1.22.8
>            Reporter: Konrad Windszus
>            Priority: Major
>
> With Mac OS 11.4 I run into the following exception when executing the test 
> phase in Maven
> {code}
> [ERROR] 
> org.apache.jackrabbit.oak.security.authentication.ldap.LargeLdapProviderTest  
> Time elapsed: 1.939 s  <<< ERROR!
> java.lang.reflect.InvocationTargetException
> Caused by: javax.naming.NamingException: LDAP connection has been closed
> {code}
> I can reproduce reliably on my computer
> This happens with
> {code}
> Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
> Maven home: /usr/local/Cellar/maven/3.8.1/libexec
> Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: 
> /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
> Default locale: en_DE, platform encoding: UTF-8
> OS name: "mac os x", version: "11.4", arch: "x86_64", family: "mac"
> {code}
> I tried with JDK 8 (1.8.0_292) as well with the same exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to