Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SUP 2.1 ESD#2 OpenDS/Apache Studio Connection Problem.

Hi,

Today i have updated from SUP 2.1 to SUP2.1 ESD#2.  I am trying to connect LDAP Using  JExplorer and Apache Directory Studio.  I am getting connection refused error.  In SUP 2.1 works fine.  Please help on this regard.

Here the Stack trace.

The authentication failed

- Connection refused: connect (localhost:10389)

- No connection

  javax.naming.CommunicationException: localhost:10389 [Root exception is java.net.ConnectException: Connection refused: connect]

    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.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$6.run(JNDIConnectionWrapper.java:872)

    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)

    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doConnect(JNDIConnectionWrapper.java:914)

    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.connect(JNDIConnectionWrapper.java:209)

    at org.apache.directory.studio.connection.core.jobs.CheckBindRunnable.run(CheckBindRunnable.java:79)

    at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123)

    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Caused by: java.net.ConnectException: Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)

    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)

    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)

    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

    at java.net.Socket.connect(Socket.java:529)

    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:339)

    at com.sun.jndi.ldap.Connection.<init>(Connection.java:187)

    ... 19 more

  localhost:10389

  javax.naming.NamingException: No connection

    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:1082)

    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:254)

    at org.apache.directory.studio.connection.core.jobs.CheckBindRunnable.run(CheckBindRunnable.java:80)

    at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123)

    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

  No connection

Thanks in advance

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question