[Geoserver-users] auto-Apply for geoserver, kill -HUP?

I would love if GeoServer could be told, auto/programatically to re-Apply (i.e. pretend you hit the Apply button in the console), which re-reads all SLD and FeatureTypes off disk. I would suggest that the server respond to a kill -HUP signal similar to how Apache does (from http://httpd.apache.org/docs/2.0/stopping.html#hup):

Sending the HUP or restart signal to the parent causes it to kill off its children like in TERM, but the parent doesn’t exit. It re-reads its configuration files, and re-opens any log files. Then it spawns a new set of children and continues serving hits.

This seems a little extreme, but the point being that when you are programatically adding styles (as per my previous email) and featureTypes, you can have GeoServer recognize them without having to manually log in and hit Apply.

yes, I’m an insane command-line hacker, but i’m also putting GeoServer to damn good use.

-mike

Michael:

You might find the following wiki page useful:
http://docs.codehaus.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog

Alex

On 6/20/07, Michael Frumin <mfrumin@anonymised.com> wrote:

I would love if GeoServer could be told, auto/programatically to re-Apply
(i.e. pretend you hit the Apply button in the console), which re-reads all
SLD and FeatureTypes off disk. I would suggest that the server respond to a
kill -HUP signal similar to how Apache does (from
http://httpd.apache.org/docs/2.0/stopping.html#hup):

Sending the HUP or restart signal to the parent causes it to kill off its
children like in TERM, but the parent doesn't exit. It re-reads its
configuration files, and re-opens any log files. Then it spawns a new set of
children and continues serving hits.
This seems a little extreme, but the point being that when you are
programatically adding styles (as per my previous email) and featureTypes,
you can have GeoServer recognize them without having to manually log in and
hit Apply.

yes, I'm an insane command-line hacker, but i'm also putting GeoServer to
damn good use.

-mike

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users