Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 48784 invoked from network); 18 Sep 2007 22:35:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2007 22:35:50 -0000 Received: (qmail 38101 invoked by uid 500); 18 Sep 2007 22:35:39 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 38083 invoked by uid 500); 18 Sep 2007 22:35:39 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Delivered-To: moderator for users@directory.apache.org Received: (qmail 56874 invoked by uid 99); 18 Sep 2007 21:31:08 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stickysoybeans@gmail.com designates 209.85.132.250 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=6vYryFIv4Ez+vPxgdmjoFSg+hWoT5pjDx/zRxGiVY1w=; b=RVPwaLGzHt66ogA37J/nMueDKWNB+JQsidU+5vbKKR3r5uGcqnno/D0kNJaGV7TJ/Gdr/vpfCORv4gWonKKnkrO5xVNZr3I4oZpGr9EHxAgsBI0vk+muSovrU6pk34iKKxwXQnHb3A2zoTpgDQssNS8M9jMRzwLTsjq9ahv5qu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=uE7IczjIwdNLiJ1x9xAai5Mw5q4G07OlUCP0zyWW1BCeyk/uz+hZsSneB8Jy8wH1XqsVbEOst8OFB/e4v1djQUM9kUx2wge0OGS0KeJ/5o7EYu/3zaFje++4T+bmdPjFFARpr3AnYgNZ2YHjTwUuClbzawM+1TlLi0JdTQMig7Y= Message-ID: <96e857600709181430x62286011p7988c52a179a0539@mail.gmail.com> Date: Tue, 18 Sep 2007 17:30:47 -0400 From: hirot To: users@directory.apache.org Subject: Apache DS 1.5.1 for JUnite tests MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6763_26682400.1190151047889" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6763_26682400.1190151047889 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Does anybody successfully start ADS 1.5.1 within your JUnit test case ? While I start up and shutdown ADS 1.5.0 in my JUnit test case, the startup configuration has been changed in ADS 1.5.1 and the document ( http://directory.apache.org/apacheds/1.5/embedding-apacheds-as-a-web-application.html) has not been updated yet. I'd like to convert following ADS 1.5.0 based startup code to ADS 1.5.1compliant one. MutableServerStartupConfiguration cfg = new MutableServerStartupConfiguration(); cfg.setPartitionConfigurations(partitionCfg); cfg.setWorkingDirectory(new File(ldapWorkDirectory)); cfg.setEnableNetworking(true); cfg.setLdapPort(adsPort); cfg.setAllowAnonymousAccess(anonymousAccess); cfg.setAccessControlEnabled(false); I found out MutableStartupConfiguration in ADS 1.5.1, but I'm not sure how to set the LDAP port and enable networking with MutableStartupConfiguration... Thanks. Hiro ------=_Part_6763_26682400.1190151047889--