When you have activate() in config checking some of the modules, namely all of 
the ones extending StreamServer will attempt to bind to a port.  Obviously, if 
you have nothing running when doing config check, this is really not a big 
deal. However, if you simply want to check configuration before restarting your 
instance, it will cause spurious errors.

Thanks.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Saturday, July 06, 2013 1:35 PM
To: Karl Gaissmaier
Cc: [email protected]
Subject: Re: [RADIATOR] Radiator 4.11: WARNING: Could not find AuthBy clause 
with Identifier ...

Hi,

> yep, found in Configurable.pm
> 
> >#####################################################################
> ># Load a particular class module and construct and return an instance 
> ># return undef if it didnt work sub load {
> >    my ($file, $class, @args) = @_;
> >
> >    my $ret;
> >    return unless eval("require $class") && ($ret = $class->new($file, 
> > @args));
> >    $ret->activate() unless $ret->isCheckingConfiguration();
> >    return $ret;
> >}
> 
> The object does no longer get activated if we are in check config 
> mode, and the WARNING comes from findAndUse() later on.

confirmed. adjusting to older format:

$ret->activate();

the server passes the '-c' check with this config again.  

so...whats the issue with having 'activate' in config checking mode? what does 
this reversion expose us to? :-)

alan
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to