Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4987

LDAPS usage with java 6 results in Unconnected sockets not implemented

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.16.06, 2.18.01
    • 2.16.07, 2.18.02, 2.19.00
    • None
    • None

    Description

      21.02.2011 18:29:40 ERROR [org.hippoecm.repository.security.ldap.LdapSecurityProvider$1.onEvent():100] Failed to reload config for provider: ldaps-local
      javax.jcr.RepositoryException: Error while setting up ldap system context.: ldaps.local:1636: ldaps.local:1636
      at org.hippoecm.repository.security.ldap.LdapSecurityProvider.reloadConfig(LdapSecurityProvider.java:199)
      at org.hippoecm.repository.security.ldap.LdapSecurityProvider$1.onEvent(LdapSecurityProvider.java:96)
      at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:243)
      at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:145)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: javax.naming.CommunicationException: dcdc002.ggz.local:1636 [Root exception is java.net.SocketException: Unconnected sockets not implemented]
      at com.sun.jndi.ldap.Connection.<init>(Connection.java:200)
      at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
      at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
      at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
      at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
      at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
      at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
      at org.hippoecm.repository.security.ldap.LdapContextFactory.getLdapContext(LdapContextFactory.java:242)
      at org.hippoecm.repository.security.ldap.LdapContextFactory.getSystemLdapContext(LdapContextFactory.java:196)
      at org.hippoecm.repository.security.ldap.LdapSecurityProvider.reloadConfig(LdapSecurityProvider.java:161)
      ... 4 more
      Caused by: java.net.SocketException: Unconnected sockets not implemented
      at javax.net.SocketFactory.createSocket(SocketFactory.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.jndi.ldap.Connection.createSocket(Connection.java:291)
      at com.sun.jndi.ldap.Connection.<init>(Connection.java:187)
      ... 19 more
      Caused by: java.lang.UnsupportedOperationException
      at javax.net.SocketFactory.createSocket(SocketFactory.java:102)
      ... 25 more
      javax.naming.CommunicationException: dcdc002.ggz.local:1636 [Root exception is java.net.SocketException: Unconnected sockets not implemented]
      at com.sun.jndi.ldap.Connection.<init>(Connection.java:200)
      at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
      at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
      at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2652)
      at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
      at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
      at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
      at org.hippoecm.repository.security.ldap.LdapContextFactory.getLdapContext(LdapContextFactory.java:242)
      at org.hippoecm.repository.security.ldap.LdapContextFactory.getSystemLdapContext(LdapContextFactory.java:196)
      at org.hippoecm.repository.security.ldap.LdapSecurityProvider.reloadConfig(LdapSecurityProvider.java:161)
      at org.hippoecm.repository.security.ldap.LdapSecurityProvider$1.onEvent(LdapSecurityProvider.java:96)
      at org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:243)
      at org.apache.jackrabbit.core.observation.ObservationDispatcher.run(ObservationDispatcher.java:145)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.net.SocketException: Unconnected sockets not implemented
      at javax.net.SocketFactory.createSocket(SocketFactory.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.jndi.ldap.Connection.createSocket(Connection.java:291)
      at com.sun.jndi.ldap.Connection.<init>(Connection.java:187)
      ... 19 more
      Caused by: java.lang.UnsupportedOperationException
      at javax.net.SocketFactory.createSocket(SocketFactory.java:102)
      ... 25 more

      Attachments

        Activity

          People

            bvdschans Bart van der Schans (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: