How to notify client when srever is off-line?

Questions, answers, tips and ideas on Servoy Client

How to notify client when srever is off-line?

Postby Detox » Fri Mar 21, 2008 9:56 pm

An icon is created on the desktop for fast connection to our Servoy server.....
When I take it off line to do maintenance ,, how can I notify via java web-start that we are off line rather than the user receiving a "unable to connect MESSAGE"?
Detox
 
Posts: 73
Joined: Wed Dec 13, 2006 11:02 pm

Postby ROCLASI » Sat Mar 22, 2008 12:39 pm

Hi Detox,

How would the client app differentiate between network/server problems and you bringing Servoy server down ?
Since it can't connect to the server it can't know why, other than it's 'unable to connect'.
Maybe you are thinking like how it works for websites that are down for maintenance and have a placeholder page in the mean time.
But that means the (web) server is still running and can tell the visitor that.
When you bring down the web server you will be in the same situation as with bringing down Servoy.

So depending on your maintenance you probably would keep Servoy Server running but denying client access with a message that it's under maintenance.
I guess that would be feature request.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby agiletortoise » Sat Mar 22, 2008 4:36 pm

You could have people bookmark a link to an alternate HTTP server that's configured to redirect to Servoy -- then for maintenance times, turn off that redirect and have it server a "down for maintenance" page.

greg.
Greg Pierce
Agile Tortoise
SAN Developer
http://www.agiletortoise.com
User avatar
agiletortoise
 
Posts: 278
Joined: Wed Oct 12, 2005 3:26 pm
Location: Texas, USA


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 20 guests

cron