Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 56354 invoked from network); 23 May 2007 10:04:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2007 10:04:39 -0000 Received: (qmail 72305 invoked by uid 500); 23 May 2007 10:04:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 72259 invoked by uid 500); 23 May 2007 10:04:43 -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 72248 invoked by uid 99); 23 May 2007 10:04:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 03:04:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of elecharny@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 03:04:37 -0700 Received: by ug-out-1314.google.com with SMTP id m3so10625ugc for ; Wed, 23 May 2007 03:04:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NaegMIanf/fgFPFQRlUXl4r66FzQGDye8pxF44o+sAl4wQF0JCMrg7ITLmUObT9PIcbx/fM5Od8+NiA0SGXoWji0urylkLWBo3R8S2oOWNQVQaloCw03cRk9KBgFAdXVOoBLUuafAYKhZTW/C+uXLEF7jbvAFz3aSHX64O5PG/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ter18dEBp1H+KI5/PcGF3sxKHECAZ1WpUgJmNLKc4mxt3y03oi46s1+qw6dpZ5vU6LxgQRICAh993nopx/jPmDq7CTSUJFoinPy0Iey9HLYgl0TAXzUl7rEs68erJFQjaQ8/VzEP1O6mPiBiQdqWLWHEPmqYhbBuFgwoLZbhiUE= Received: by 10.78.188.10 with SMTP id l10mr54407huf.1179914655479; Wed, 23 May 2007 03:04:15 -0700 (PDT) Received: by 10.78.42.13 with HTTP; Wed, 23 May 2007 03:04:15 -0700 (PDT) Message-ID: Date: Wed, 23 May 2007 12:04:15 +0200 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: "Apache Directory Developers List" Subject: Re: Using Apache ds in a web application - user names, passwords In-Reply-To: <465407F1.7040400@labeo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4d1767210705211505p65532fcdr9d7ad5172c7ff9f9@mail.gmail.com> <46535604.5090909@apache.org> <4d1767210705221347m632ea722lfc449863763d79e0@mail.gmail.com> <46535B19.8070802@labeo.de> <4d1767210705221411k49b175a7l1ac5486eeac0267a@mail.gmail.com> <4653727C.5000505@apache.org> <4d1767210705222254id5a2e42sb5a6cc16663ad745@mail.gmail.com> <4653E2C5.3090104@labeo.de> <4d1767210705230134q7ae08b0fje3cdbcbcf9d7a239@mail.gmail.com> <465407F1.7040400@labeo.de> X-Virus-Checked: Checked by ClamAV on apache.org Guys, I would like to thanks Ceren for his patience, and Stefan + Stefan for their consistent help. Hopefully, we will have a working ADS 1.5 working embedded into a webapp, and then we will document it on the site. Debugging such issues is not really a funny task, but it seems you found your way through all the problems. I trully hope that Ceren will have a working ADS 1.5 embedded into tomcat by the end of this day. Thanks a lot ! Emmanuel On 5/23/07, Stefan Zoerner wrote: > Ceren KOKSAL wrote: > > > I tried the example with apacheds-1.0.0 , it has worked:) > > While building, build.xml copies jars from apacheds-1.0.0. > > Thanks Ceren, This is great news! > > > So when I try to run the example, it connects apacheds-1.0.0. How I wil= l > > obtain it to connect apacheds-1.5.0? > > I looked at the code but I couldn't see anything about the apacheds > > path.I think example connects to the apacheds version whom jars are use= d > > while building the example.Is it like that?And what must I do:) Can > > there be any problem with the apacheds-1.5.0 's jars? > > The interesting thing is, that the servlet connects to the ApacheDS, > which is *embedded* in the WebApp. The listener code starts and stops > it. Therefore the servlet connects to the version which is included in > the libs, the 1.0.1 in case of > > http://directory.apache.org/apacheds/1.0/embedding-apacheds-as-a-web-appl= ication.html > > Your problem has something to do with the build.xml, which copies the > relevant jars to the webapp in target "copyApacheDsLibs". There is a > difference in between what is needed in 1.0 and 1.5. > > For instance, the apacheds-schema-*.jar files are currently not copied > in the build.xml, which causes the problem. > > It is now working in my env with 1.5, but I had to modify the build.xml > for ApacheDS 1.5. Find the one I used attached. Please let us know, > whether it works (you have to adjust paths to apacheds and tomcat). > > We have to create another version of this page for the 1.5 documentation > I'll create a JIRA for that. > > I hope that helps, Greetings, > Stefan > > > --=20 Regards, Cordialement, Emmanuel L=E9charny www.iktek.com