in the meantime  you could maybe try something creative with the REST api and 
reset the store if a problem is detected by some kind of polling.. maybe the 
act of polling will convince the connection to stay up.

-i


-----Message d'origine-----
De : Andrea Aime [mailto:andrea.a...@geo-solutions.it] 
Envoyé : Monday, 22 August 2011 2:32 PM
À : denu
Cc : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] GeoServer 2.1.1 loses connection to Oracle 
database?

On Mon, Aug 22, 2011 at 12:39 PM, denu <m...@shh.pl> wrote:
> I've got similar problem with Geoserver 2.2.11.
> After server restart (Geoserver and Oracle as well) Geoserver looses 
> connection with database store (it's not Enabled anymore). In order to 
> fix that I have to enter the store settings and check Enabled checkbox.
>
> How can I set up Geoserver to reconnect with store automatically?

At the moment there is no way, we'll need to make extensive changes to the code 
to have GeoServer re-attempt connections and handle failing datastore without 
crashing during GetCapabilities requests.

I think this has been in the list of things to do for a while, it's just not 
trivial so people are waiting for funding to sponsor the changes.

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and the 
tools developers use with it. Learn more about uberSVN and get a free download 
at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to