Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2183

Apacheds 2.00-M23 DefaultPoolableLdapConnectionFactory does not work within Docker container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.1.0
    • installer
    • None
    • apacheds embedded running as docker instance connecting to another apacheds standalone docker. the connection pool is btwn the first instance to the second.

    Description

      config.setLdapHost(connectorConfig.get(HOSTNAME));
      config.setLdapPort(Integer.parseInt(connectorConfig.get(PORT)));
      config.setName(connectorConfig.get(USERNAME));
      config.setCredentials(connectorConfig.get(PWD));
      final DefaultPoolableLdapConnectionFactory factory = new DefaultPoolableLdapConnectionFactory(config);
      pool = new LdapConnectionPool(factory);

      The above block of code does not take 0.0.0.0 or docker-compose defined servernames. it throws back an bind exception.

      let me know if any further info is needed. Thanks!

      Attachments

        Activity

          People

            Unassigned Unassigned
            harishs123 harish sat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: