Apache Directory Project - Embedded directory not opening a listening port

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2006 > Embedded directory not opening a listening port





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Embedded directory not opening a listening port
Gregg Freeman

2006-08-29, 1:12 pm


Please forgive me if this isn't the correct list (and let me know what
the right one would be).

I'm trying to embed ApacheDS into our server, and have it function as an
LDAP server, just as the distributed server example does (1.0 RC3).
I've followed the example described in
http://directory.apache.org/subproj...rs/configuratio
n.html, and I can see from the logs that the directory server starts,
however, it doesn't open the 10389 port as specified in the
configuration section of the spring bean.

Am I missing something?

Best Regards,

Gregg


Alex Karasulu

2006-08-30, 1:11 am

Hi Gregg,

Gregg Freeman wrote:
>
> Please forgive me if this isn't the correct list (and let me know what
> the right one would be).


No no this just fine.

> I'm trying to embed ApacheDS into our server, and have it function as an
> LDAP server, just as the distributed server example does (1.0 RC3).
> I've followed the example described in
> _http://directory.apache.org/subprojects/apacheds/docs/users/configuration.html_,
> and I can see from the logs that the directory server starts, however,
> it doesn't open the 10389 port as specified in the configuration section
> of the spring bean.
>
> Am I missing something?


Ok this will embed the server without networking so the LDAP store will
be there but not the server. To do that you need a different JNDI
context factory: try using ServerContextFactory instead of
CoreContextFactory.

<shamelessPlug>
BTW I will be holding an embedding ApacheDS tutorial session (3hrs) on
doing this and more at ApacheCon in October.
</shamelessPlug>

HTH,
Alex


Gregg Freeman

2006-08-30, 1:11 pm


Alex,

Thank you for the assist, that did the trick for me. I noticed your
upcoming presentation as I was googling around for a solution. I'm sure
it will be awesome! Good luck with it.

Best Regards,

Gregg
=20

> -----Original Message-----
> From: Alex Karasulu [mailto:aok123-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.org]=20
> Sent: Tuesday, August 29, 2006 11:09 PM
> To: Apache Directory Developers List
> Subject: Re: Embedded directory not opening a listening port
>=20
> Hi Gregg,
>=20
> Gregg Freeman wrote:
> me know what=20
>=20
> No no this just fine.
>=20
> function as=20
> (1.0 RC3).
> _http://directory.apache.org/subprojects/apacheds/docs/users/configura
>=20
> Ok this will embed the server without networking so the LDAP=20
> store will be there but not the server. To do that you need=20
> a different JNDI context factory: try using=20
> ServerContextFactory instead of CoreContextFactory.
>=20
> <shamelessPlug>
> BTW I will be holding an embedding ApacheDS tutorial session=20
> (3hrs) on doing this and more at ApacheCon in October.
> </shamelessPlug>
>=20
> HTH,
> Alex
>=20
>=20
>=20


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com