Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 46266200C5D for ; Thu, 23 Mar 2017 20:59:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 44DA0160B68; Thu, 23 Mar 2017 19:59:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 97496160B83 for ; Thu, 23 Mar 2017 20:59:46 +0100 (CET) Received: (qmail 42915 invoked by uid 500); 23 Mar 2017 19:59:45 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 42905 invoked by uid 99); 23 Mar 2017 19:59:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2017 19:59:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 646D0C193A for ; Thu, 23 Mar 2017 19:59:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.349 X-Spam-Level: X-Spam-Status: No, score=-99.349 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 7J-UHXL8TdKD for ; Thu, 23 Mar 2017 19:59:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A25145FE22 for ; Thu, 23 Mar 2017 19:59:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 55161E06C9 for ; Thu, 23 Mar 2017 19:59:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A57C321DC8 for ; Thu, 23 Mar 2017 19:59:41 +0000 (UTC) Date: Thu, 23 Mar 2017 19:59:41 +0000 (UTC) From: "harish sat (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DIRSERVER-2183) Apacheds 2.00-M23 DefaultPoolableLdapConnectionFactory does not work within Docker container MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Mar 2017 19:59:47 -0000 harish sat created DIRSERVER-2183: ------------------------------------- Summary: Apacheds 2.00-M23 DefaultPoolableLdapConnectionFactory does not work within Docker container Key: DIRSERVER-2183 URL: https://issues.apache.org/jira/browse/DIRSERVER-2183 Project: Directory ApacheDS Issue Type: Bug Environment: apacheds embedded running as docker instance connecting to another apacheds standalone docker. the connection pool is btwn the first instance to the second. Reporter: harish sat 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! -- This message was sent by Atlassian JIRA (v6.3.15#6346)