Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: studio-rcp
    • Labels:
      None
    • Environment:
      rhel 5.3
      ApacheDirectoryStudio-linux-x86-1.4.0.v20090407
      Java(TM) SE Runtime Environment (build 1.6.0_12-b04)

      Description

      Background: LDAP servers that I am connecting to must be access through SOCKS proxy.
      Issue: Proxy settings are retained but not used after restarting DIRSTUDIO.
      Workaround: open Preferences, General, Network Connections, click OK. Able to connect to LDAP server via SOCKS proxy.
      Reproduce:

      • open Preferences, General, Network Connections.
      • check "manual proxy configuration", enter proxy server info in "SOCKS proxy", click Apply, click OK
      • test that connections will now work thru proxy server
      • close, then reopen DIRSTUDIO
      • check that connections will timeout (not going thru proxy)
      • open Preferences, General, Network Connections, click OK
      • check that connections to LDAP servers will now work thru socks proxy

      Timeout error (may not be of any use):
      java.net.ConnectException: Connection timed out
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
      at org.apache.directory.studio.connection.core.io.jndi.DummySSLSocketFactory.createSocket(DummySSLSocketFactory.java:152)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.sun.jndi.ldap.Connection.createSocket(Unknown Source)
      at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
      at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
      at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)
      at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
      at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
      at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
      at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      at javax.naming.InitialContext.init(Unknown Source)
      at javax.naming.ldap.InitialLdapContext.<init>(Unknown Source)
      at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$6.run(JNDIConnectionWrapper.java:878)
      at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1116)
      at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doConnect(JNDIConnectionWrapper.java:912)
      at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.connect(JNDIConnectionWrapper.java:192)
      at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:111)
      at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:113)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

        Activity

        Hide
        Stefan Seelmann added a comment -

        Fixed in trunk:
        http://svn.apache.org/viewvc?rev=823086&view=rev

        The 'proxy service' is now activated on Studio startup, which enables the proxy settings.

        Show
        Stefan Seelmann added a comment - Fixed in trunk: http://svn.apache.org/viewvc?rev=823086&view=rev The 'proxy service' is now activated on Studio startup, which enables the proxy settings.
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Apache Directory Studio version 1.5.0 has been released.

        Show
        Pierre-Arnaud Marcelot added a comment - Apache Directory Studio version 1.5.0 has been released.

          People

          • Assignee:
            Stefan Seelmann
            Reporter:
            Jens Jensen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development