Presumably that's due to this code in ServerConfiguration.java:

        try
        {
            Signal sig = new sun.misc.Signal("HUP");
            sun.misc.Signal.handle(sig, this);
        }
        catch (Exception e)
        {
            _logger.error("Signal HUP not supported for OS: " +
System.getProperty("os.name"));
            // We're on something that doesn't handle SIGHUP, how sad,
Windows.
        }

This code really shouldn't rely on the presence of the sun.misc classes, let
alone on the presence of the HUP signal... i.e. the whole thing should be
done with Class.forName , and the "error" should at worst be a warning,
probably info.  The existence of this dependency on sun.misc.Signal etc. is
also the cause of a warning in the build


-- Rob


On 26 April 2011 13:38, Danushka Menikkumbura <
[email protected]> wrote:

> Hi Manie,
>
> It actually is an error.
>
> [2011-04-21 21:33:25,038] ERROR
> {org.apache.qpid.server.configuration.ServerConfiguration} - Signal HUP not
> supported for OS: Windows Vista
>
> It logs an error from inside the ServerConfiguration constructor.
>
> Thanks,
> Danushka
>
> On Tue, Apr 26, 2011 at 4:48 PM, Marnie McCormack <
> [email protected]> wrote:
>
> > Should just be a warning on startup, rather than any error - can you post
> > the error you're getting ?
> >
> > Thanks,
> > Marnie
> >
> > On Tue, Apr 26, 2011 at 12:18 PM, Marnie McCormack <
> > [email protected]> wrote:
> >
> > > I believe its used to reload the security data for firewalls (to
> support
> > > dynamic changes while the broker is running) - it is only supported on
> > unix
> > > platforms and should simply have no effect on windows.
> > >
> > > Regards,
> > > Marnie
> > >
> > >   On Tue, Apr 26, 2011 at 6:52 AM, Danushka Menikkumbura <
> > > [email protected]> wrote:
> > >
> > >> Hi devs,
> > >>
> > >> Any idea?
> > >>
> > >> Thanks,
> > >> Danushka
> > >>
> > >> On Mon, Apr 25, 2011 at 1:18 PM, Danushka Menikkumbura <
> > >> [email protected]> wrote:
> > >>
> > >> > Hi,
> > >> >
> > >> > I am not too sure what the Java broker tries to do when it receives
> a
> > >> HUP
> > >> > signal. Why does it reconfigure the security stuff?. Also HUP is not
> > >> > supported on Windows so that there it throws an error at startup.
> > >> >
> > >> > Thanks,
> > >> > Danushka
> > >> >
> > >>
> > >
> > >
> >
>

Reply via email to