Hi again! 
I wrote a program at the weekend which makes new folders in the
"data_dir\featureTypes" directory and for every entry an info.xml.
Everything works perfectly but I have to restart the GeoServer so that he
knows that there are new featureTypes, which isn't great, because after
adding the new featureTypes I want to open a browser-instance which shows me
a map. It isn't practical for me to stop and restart the geoserver because
it has to be available 24/7!
Is there any way to add featureTypes "on the fly" in the background?
Thanks in advance,
Christian.
--
View this message in context: http://www.nabble.com/See-new-featureTypes-without-restarting-GeoServer-tp16659929p16659929.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Christian,
Its not pretty... but here it is:
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
It involves logging into the web ui programatically and pressing the load button.
-Justin
Sicky wrote:
Hi again! 
I wrote a program at the weekend which makes new folders in the
"data_dir\featureTypes" directory and for every entry an info.xml.
Everything works perfectly but I have to restart the GeoServer so that he
knows that there are new featureTypes, which isn't great, because after
adding the new featureTypes I want to open a browser-instance which shows me
a map. It isn't practical for me to stop and restart the geoserver because
it has to be available 24/7!
Is there any way to add featureTypes "on the fly" in the background?
Thanks in advance,
Christian.
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
Unfortunately, I think there were some comments on IRC suggesting that this no longer works in 1.6.x.
I haven't verified this, either way there's probably not much that needs to change, but some familiarity with Perl / LWP may be required.
-Arne
ps. I put a short note in the wiki about it, feel free to remove it if I'm mistaken
Justin Deoliveira wrote:
Hi Christian,
Its not pretty... but here it is:
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
It involves logging into the web ui programatically and pressing the load button.
-Justin
Sicky wrote:
Hi again! 
I wrote a program at the weekend which makes new folders in the
"data_dir\featureTypes" directory and for every entry an info.xml.
Everything works perfectly but I have to restart the GeoServer so that he
knows that there are new featureTypes, which isn't great, because after
adding the new featureTypes I want to open a browser-instance which shows me
a map. It isn't practical for me to stop and restart the geoserver because
it has to be available 24/7!
Is there any way to add featureTypes "on the fly" in the background?
Thanks in advance,
Christian.
Arne Kepp ha scritto:
Unfortunately, I think there were some comments on IRC suggesting that this no longer works in 1.6.x.
I haven't verified this, either way there's probably not much that needs to change, but some familiarity with Perl / LWP may be required.
-Arne
ps. I put a short note in the wiki about it, feel free to remove it if I'm mistaken
You're correct... I did not try that either since I have zero familiarity with PHP/Perl me too, but what needs to be changed is the following:
* skip the login step altogether
* add HTTP basic authentication headers with username and password to
all other calls
Cheers
Andrea
Hi Justin!
Thanks for the link! Pity that I didn't find it myself....
Anyway, I'm coding in java and will have a look at it.
Thanks for the advice from the rest of you 
If I have questions on how to change the things that need to be changed I'll
come back here...
Cheers,
Christian.
Justin Deoliveira-4 wrote:
Hi Christian,
Its not pretty... but here it is:
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
It involves logging into the web ui programatically and pressing the
load button.
-Justin
Sicky wrote:
Hi again! 
I wrote a program at the weekend which makes new folders in the
"data_dir\featureTypes" directory and for every entry an info.xml.
Everything works perfectly but I have to restart the GeoServer so that he
knows that there are new featureTypes, which isn't great, because after
adding the new featureTypes I want to open a browser-instance which shows
me
a map. It isn't practical for me to stop and restart the geoserver
because
it has to be available 24/7!
Is there any way to add featureTypes "on the fly" in the background?
Thanks in advance,
Christian.
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/See-new-featureTypes-without-restarting-GeoServer-tp16659929p16674673.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hmm, thanks for making me aware of this... We are still using 1.5
series release and I wasn't aware of the problem under 1.6.x. I am
resuming our geoserver-centric project, which means that I will
upgrade our production version and update the wiki.
Alex
On Mon, Apr 14, 2008 at 12:30 AM, Andrea Aime <aaime@anonymised.com> wrote:
Arne Kepp ha scritto:
> Unfortunately, I think there were some comments on IRC suggesting that
> this no longer works in 1.6.x.
>
> I haven't verified this, either way there's probably not much that needs
> to change, but some familiarity with Perl / LWP may be required.
>
> -Arne
>
> ps. I put a short note in the wiki about it, feel free to remove it if
> I'm mistaken
You're correct... I did not try that either since I have zero
familiarity with PHP/Perl me too, but what needs to be changed is the
following:
* skip the login step altogether
* add HTTP basic authentication headers with username and password to
all other calls
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hi Alex!
Does that mean that you'll adjust the code here:
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
?
- Christian.
Alexander Petkov wrote:
Hmm, thanks for making me aware of this... We are still using 1.5
series release and I wasn't aware of the problem under 1.6.x. I am
resuming our geoserver-centric project, which means that I will
upgrade our production version and update the wiki.
Alex
On Mon, Apr 14, 2008 at 12:30 AM, Andrea Aime <aaime@anonymised.com> wrote:
Arne Kepp ha scritto:
> Unfortunately, I think there were some comments on IRC suggesting that
> this no longer works in 1.6.x.
>
> I haven't verified this, either way there's probably not much that
needs
> to change, but some familiarity with Perl / LWP may be required.
>
> -Arne
>
> ps. I put a short note in the wiki about it, feel free to remove it if
> I'm mistaken
You're correct... I did not try that either since I have zero
familiarity with PHP/Perl me too, but what needs to be changed is the
following:
* skip the login step altogether
* add HTTP basic authentication headers with username and password to
all other calls
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/See-new-featureTypes-without-restarting-GeoServer-tp16659929p16696850.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
On Tue, Apr 15, 2008 at 1:42 AM, Sicky <Christian.Rueh@anonymised.com> wrote:
Hi Alex!
Does that mean that you'll adjust the code here:
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
?
- Christian.
Hi Christian,
Yes, I intent to update that wiki page if it's not working correctly
with the most current Geoserver version.
Alex
OK I updated the perl script on that wiki page for the 1.6.3 release.
Seems to work, please let me know of any problems.
Alex