Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Display maintenance message for all portals
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Display maintenance message for all portals
 Login/Join
 
Member
posted
Is there a way to display a maintenance message for all portals when we have to do maintenance on our database instead of our portals showing errors because the database cannot connect? Is this something that would be done on the webserver side? If so, where or is there documentation somewhere?

This message has been edited. Last edited by: EJ,


WebFocus 8.2.03
 
Posts: 6 | Location: Houston, TX | Registered: January 07, 2020Reply With QuoteReport This Post
Virtuoso
posted Hide Post
If you have access to the WebFOCUS admin console, you can click BI Portal and set these:

Sign-in Message (IBI_SIGNIN_MESSAGE)

Specifies a custom message that displays in the Messages dialog box when a user signs in. You can enter plain text or HTML tags for text, links, and images, into this field. If you leave this field blank, which is the default value, the Messages dialog box does not display.

Customized Sign-in Page (IBI_CUSTOMIZED_SIGNIN_PAGE)

Enables the display of a custom sign-in page for users. The default value is False.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Member
posted Hide Post
Thanks for the reply. We have single sign-on implemented though, so the user never "signs on".. worried about when they go to a portal url and the data supporting the portal is unavailable and they get the error messages all over the screen. How do we prevent them from seeing error messages once they go to the portal URL?


WebFocus 8.2.03
 
Posts: 6 | Location: Houston, TX | Registered: January 07, 2020Reply With QuoteReport This Post
Expert
posted Hide Post
The solution we have is done at the Web Server.

The web server is Apache httpd, the rewrite conditions are:

# BEGIN Under Mainenance Activation Code
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/under_maintenance.html -f
RewriteCond %{DOCUMENT_ROOT}/under_maintenance.enable -f
RewriteRule ^.*$ /under_maintenance.html [R=503,L]
# END

Basically if under_maintenance.enable exists in the document root, then the under maintenance page is shown for all requests.
All we need to do is rename a file from under_maintenance.disable to under_maintenance.enable


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6284 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Good One


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1985 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Member
posted Hide Post
THanks! I will try this


WebFocus 8.2.03
 
Posts: 6 | Location: Houston, TX | Registered: January 07, 2020Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Display maintenance message for all portals

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.