Another option is to use a port range. If a component is listening on
a port then an offset is specified in the configuration. Only the base
port number will be a configuration.

i.e. if base port number is 5000 and if LDAP server is configured to
use offset of 2, LDAP server will actually listen on 5002 (5000 + 2).
This way user only needs to change port number at a single location
when running multiple instances.

Thanks
AmilaJ

On Sun, May 8, 2011 at 12:16 PM, Tharindu Mathew <thari...@wso2.com> wrote:
> Hi,
> Is it possible to detect used ports and ask for an alternative during our
> start up script?
> I was thinking with around 5 ports to change when starting up multiple
> carbon servers, this might be a nice thing to have.
>
> --
> Regards,
>
> Tharindu
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to