+1 

I don't know if this is known - the socket channel has a feature
to specify  a "range" - if the port is taken it'll try the next one.
This allows a single config file to be used for a pool of tomcats
( i.e. simpler config for load-balancing ). 

Costin

Mladen Turk wrote:

> 
> 
>> -----Original Message-----
>> From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
>> 
>> You should use the BootstrapService class instead of
>> Bootstrap.
> 
> Silly me ... ;-(.
> 
> What about ChannelSocket can it be disabled too ?
> Something like:
> 
>     public void init() throws IOException {
>         // Find a port.
>         if (startPort == 0) {
>             port = 0;
>             log.info("JK2: ajp13 disabling channelSocket");
>             running = true;
>             return;
>         }
> 
> 
> If the connector port is set to 0 then no listening socket will be
> created (cause one doesn't want to listen on this server).
> 
> 
> MT.




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to