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 <[EMAIL PROTECTED]> 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
>


Reply via email to