directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <>
Subject Re: Detecting LDAP Port busy at start-up
Date Mon, 29 May 2006 16:20:23 GMT
Norbet Reilly wrote:
> I'm not sure whether to direct this question to the ApachedDS dev
> list, or the MINA one...
> I use an ApacheDS deployment with a custom partition that replaces an
> existing directory installation. I want to detect the situation where
> the other directory is already listening on the configured port, at
> the time A-DS is started, and abort or at least log a very prominent
> message.
> With my current limited understanding I am leaning toward adding a
> configuration setting to
> (say "abortIfLdapPortInUse=true") and using it in
> to
> drive an optional check for "already in use" using
> ServerSocket.bind().
> Similar semantics may make sense for the other protocols that A-DS
> supports, in which case it may be a case of a single
> "abortIfAnyPortInUse" config item, or perhaps one per protocol.
> Anyone have any thoughts or alternative implementation suggestions ?

I'm thinking about this Norbet but please excuse me for being late ... 
I'm on vacation and will get back to you.


View raw message