Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 89397 invoked from network); 22 May 2007 19:00:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2007 19:00:06 -0000 Received: (qmail 75764 invoked by uid 500); 22 May 2007 19:00:11 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 75724 invoked by uid 500); 22 May 2007 19:00:11 -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 75713 invoked by uid 99); 22 May 2007 19:00:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 12:00:11 -0700 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 (herse.apache.org: domain of cerenkoksal@gmail.com designates 66.249.90.181 as permitted sender) Received: from [66.249.90.181] (HELO ik-out-1112.google.com) (66.249.90.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 12:00:03 -0700 Received: by ik-out-1112.google.com with SMTP id b35so1185818ika for ; Tue, 22 May 2007 11:59:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ePlu7zF/w7ilwIveyAuomOif984hKZTaT4U7uWlIWTnkI7JQhb4lwPcZ7j1z+u2CxKOAMd64DD2TSdE8EPbUUBxu8W6m2MHiAh/ktW6n3MYGYDQnG9t7auxVHz7T7zbsKC1sdrzl26/vuXfDzBdbKsMzoX2uUcC+cGzWNO08gL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nVaiN30ivZSoK5Tqw7f/3SsXzTpQdP7jmMySzB4Hl7oK72mDNBiOAhs993cvKkX3/C5mm8oAi795gAGgDjmSXkuAqfg1JE8jqLSP7qYHpRdMi1PK08xXMmQ2pwivBrq7onIMkUyoA8MZOC+Y+9lR8psnuL73OByiyPFKND70Yts= Received: by 10.143.11.13 with SMTP id o13mr31720wfi.1179860380842; Tue, 22 May 2007 11:59:40 -0700 (PDT) Received: by 10.142.110.18 with HTTP; Tue, 22 May 2007 11:59:40 -0700 (PDT) Message-ID: <4d1767210705221159l3e01082s3cd81123a25a7fb9@mail.gmail.com> Date: Tue, 22 May 2007 21:59:40 +0300 From: "Ceren KOKSAL" To: "Apache Directory Developers List" , seelmann@apache.org Subject: Re: Using Apache ds in a web application - user names, passwords In-Reply-To: <46533C73.3000504@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6714_10809948.1179860380797" References: <4d1767210705211505p65532fcdr9d7ad5172c7ff9f9@mail.gmail.com> <4d1767210705212300y6dea8e86uf7c6b1187cc5850d@mail.gmail.com> <4d1767210705220815v5d0c2f3dg22715c7dcd822359@mail.gmail.com> <4d1767210705221028v78d8233dp98ae2ce1b81104cb@mail.gmail.com> <46532DBE.3080307@apache.org> <46533888.4040309@labeo.de> <46533C73.3000504@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6714_10809948.1179860380797 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok, then I'll try to compile by ant, I think I must download something to use build.xml. I didn't use ant before:( Could you please tell the way of running ant, and where and what to run? Thanks a lot.. On 5/22/07, Stefan Seelmann wrote: > > I was curious and just tested it: > - I downloaded and unzipped the ApacheDSWebApp.zip > - I adjusted the path to ApacheDS and Tomcat in the build.xml file > - then I run ant, that generated the AapcheDS.war > - I deployed the war into tomcat > > Then I got an error in the catalina.out: > ------------------------------------------------ > [20:50:28] ERROR [org.apache.directory.server.jndi.ServerContextFactory] > - Failed to bind an LDAP > service (10389) to the service registry. > java.net.BindException: Address already in use > -------------------------------------------------- > > The cause is that another ApacheDS was running on port 10389. After > stopping the other ApacheDS and restarting Tomcat it works fine. > > Regards, > Stefan Seelmann > > > Stefan Zoerner schrieb: > > Hi Ceren! > > > > StefanS is right, URL should be as defined in the url-pattern of the > > WebApp. Have you checked the logs of your Tomcat? One possible thing is > > that there are libraries missing in the WEB-INF/lib folder. This should > > raise an exception in the Tomcat logs, if the WebApp starts (not if the > > browser requests the servlet it, by the way ...) > > > > Greetings, > > StefanZ > > > > Stefan Seelmann wrote: > >> Hi Ceren, > >> > >> please check the web.xml, there you could find the URL pattern which is > >> mapped to the RootDseServlet: > >> > >> ---------------------------------------------- > >> > >> RootDseServlet > >> /RootDse > >> > >> ---------------------------------------------- > >> > >> So could you please try the URL http://localhost:8080/ApacheDS/RootDse? > >> > >> Regards, > >> Stefan Seelmann > > > > ------=_Part_6714_10809948.1179860380797 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Ok, then I'll try to compile by ant, I think I must download something to use build.xml. I didn't use ant before:(
Could you please tell the way of running ant, and where and what to run? Thanks a lot..

 
On 5/22/07, Stefan Seelmann <seelmann@apache.org> wrote:
I was curious and just tested it:
- I downloaded and unzipped the  ApacheDSWebApp.zip
- I adjusted the path to ApacheDS and Tomcat in the build.xml file
- then I run ant, that generated the AapcheDS.war
- I deployed the war into tomcat

Then I got an error in the catalina.out:
------------------------------------------------
[20:50:28] ERROR [ org.apache.directory.server.jndi.ServerContextFactory]
- Failed to bind an LDAP
service (10389) to the service registry.
java.net.BindException: Address already in use
--------------------------------------------------

The cause is that another ApacheDS was running on port 10389. After
stopping the other ApacheDS and restarting Tomcat it works fine.

Regards,
Stefan Seelmann


Stefan Zoerner schrieb:
> Hi Ceren!
>
> StefanS is right, URL should be as defined in the url-pattern of the
> WebApp. Have you checked the logs of your Tomcat? One possible thing is
> that there are libraries missing in  the WEB-INF/lib folder. This should
> raise an exception in the Tomcat logs, if the WebApp starts (not if the
> browser requests the servlet it, by the way ...)
>
> Greetings,
>     StefanZ
>
> Stefan Seelmann wrote:
>> Hi Ceren,
>>
>> please check the web.xml, there you could find the URL pattern which is
>> mapped to the RootDseServlet:
>>
>> ----------------------------------------------
>> <servlet-mapping>
>>   <servlet-name>RootDseServlet</servlet-name>
>>   <url-pattern>/RootDse</url-pattern>
>> </servlet-mapping>
>> ----------------------------------------------
>>
>> So could you please try the URL http://localhost:8080/ApacheDS/RootDse ?
>>
>> Regards,
>> Stefan Seelmann
>


------=_Part_6714_10809948.1179860380797--