Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8237834

com/sun/jndi/ldap/LdapDnsProviderTest.java failing with LDAP response read timeout

    Details

    • Subcomponent:
    • Resolved In Build:
      b23
    • OS:
      windows

      Description

      Testing: ldap://localhost:1111/dc=example,dc=com, localhost:1111
      javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms.
      at java.naming/com.sun.jndi.ldap.Connection.readReply(Connection.java:434)
      at java.naming/com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:365)
      at java.naming/com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:192)
      at java.naming/com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2792)
      at java.naming/com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
      at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:225)
      at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:189)
      at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:243)
      at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
      at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
      at java.naming/javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:730)
      at java.naming/javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)
      at java.naming/javax.naming.InitialContext.init(InitialContext.java:236)
      at java.naming/javax.naming.InitialContext.<init>(InitialContext.java:208)
      at java.naming/javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:130)
      at ProviderTest.call(LdapDnsProviderTest.java:109)
      at ProviderTest.call(LdapDnsProviderTest.java:79)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Test failed
      Test failed
      java.lang.RuntimeException: Test failed, unexpected result
      at LdapDnsProviderTest.runTest(LdapDnsProviderTest.java:222)
      at LdapDnsProviderTest.main(LdapDnsProviderTest.java:197)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

        Attachments

          Activity

            People

            • Assignee:
              aefimov Aleksej Efimov
              Reporter:
              dfuchs Daniel Fuchs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: