How can I display application offline page when OAS is offline?

I am using IIS with oracle_proxy.dll redirecting to my oracle application server. When I do maintenance on the application and stop the OAS service the end-user gets the HTTP 500 - Internal server error from Internet Explorer. I would prefer for them to see a custom page that displays that the application is offline for maintenance. I tested with IIS custom error pages but that is not where the 500 page is coming from. The page being displayed is the IE friendly HTTP error message. I can't see how a configuration on the Oracle application server would help because the service is offline. Is there anything I can do to explain to the users that this is a scheduled maintenance and display a more informative page? I understand the solution may involve stopping, changing a configuration file in IIS and restarting. If so how can I script that so it can be easily done and what is the easiest way to do it?
Thank you for your response in advance.
Trying to make oracle more friendly, Jon.

I just wanted to confirm, are you using Oracle HTTP Server?
Regards
Mehmood

Similar Messages

  • How can I display the same page when I'll press

    i have a jsp page. It contains user name & password.
    and a link like SIGNOUT COMPLETELY. when i press the back button it should show only this page.
    You have noticed one thing that when u sign out from YHAOO MAIL then a page is displayed
    USERNAME : [email protected]
    PASSWORD :XXXXXXXXXX
    SIGNOUT COMPLETELY
    when this page is dispalyed and u press the back button of the browser
    it displays the same page. How it happens?

    Kindly neglect the previous post.....
    Okay check something like this
    1).maintain either a HttpSessionListener or a session flag try to checkout whether the user is active or else close the PrintWriter.
    2).Prevent caching of the webpage by using customary meta tag or by response,setHeader("Cache-Control","no-cache");
    way...
    Guess tht shud work.....

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • How can i display a message box when error comes in jsp?

    Hi,
    i need to display a message box whenever an error comes in my jsp. Actually my appln is that i am creating a bar chart using one applet by taking data from the database. When a user does not select a number data for y axis, now in the centre of the web page one java error is coming. "not in number format". it is looking very odd.
    so i want to display the error in a message box whenever it comes as above. pls help me how can i do the same...
    Regds,
    Abhi...

    Hi,
    thanx for ur response. so u mean to say that i can
    display the errors in the web page itself instead of
    displaying as a message box?Either way. You can have the JSP send a message to the applet to display a message box. Or you can just have the JSP do it. or you can have the applet detremine if the JSP would produce an error and then display the message it would display.
    >
    actually i am using servlets. jsp pages are used only
    as the front end. all the background works are doing
    in servlet only.It should be the same in any case. Is the applet connecting to the JSP pages or are you having the browser do it?
    >
    pls get back...

  • How do I display my home page when I open a new tab

    When I open a new tab it shows a blank page how can I set the computer to show my home bag each time.

    You can middle-click the Home button. Or you can install this extension.
    New Tab Homepage extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/777

  • How can I see my entire page when editing?

    When i edit my web page, the far right
    column is over shadowed by the middle column.
    so i can not see any of my text in the rows of that column unless i shrink the middle column
    there is no scroll at the bottom.
    so is there a way to view the entire page durring editing?  thanx

    I tried saving this page locally and edited in Contribute CS4 in both  Windows and Mac, the horizontal scroll bar did appeared. Please find  the same in the screenshot below.
    Windows:
    Mac:
    Or  you can try clearing the preferences and connecting again.
    To  Clear the preference, quit Contribute, and then delete the  Contribute  CS5(or CS4 or CS3) folder in C:\Documents and Settings\<user>\Local   Settings\Application Data\Adobe\ and also run the following command "   reg delete "HKCU\Software\Adobe\Contribute 6 (or 5 or 4.1)" /f " if you are using   Contribute CS5 (or CS4 or CS3).    Reconnect to the site and try the same scenario.
    Note that, if you clear the  preferences then no   connection will be listed in Contribute, you need to recreate the   connections. It will be like a fresh installation.

  • How can I go to other page when click button??

    When I click button, the process of this button is be executed, then current page will go to other page.
    1.I setup this button's Optional URL Redirect to other page, but process is not be executed.
    2.I create a process and a branch(point: on-summit:after process...), not setup button's Optional URL. at this time, the process is be run, but not go to other page.
    please help me if you know it! Thanks a lot!

    Do you need the process to do something or do you just want to forward to the next page. In this case you just need the branch. In the configuration you can choose the button that forwards to the next page.
    Configuration in the branche:
    Target type: Page in Application
    Page: The Page you want to redirect to.
    On clicked Button: The Button you created on the page which redirects to the next page
    Hope i could help.
    Philipp

  • How can I hide the master page when saving a pdf?

    I designed a form that uses a master page so that I can use headers and footers without changing 10 different pages.  When I save to PDF so the form can be filled out it saves the Master Page as the first page though it has no content.  I have to save the PDF as a static file because it needs to be filled out on the iPad.
    Anyhelp please?

    Hmm,
    Not really. Acrobat must display at least one page of the form. You can set the presence of all of your Design Pages to hidden, but Acrobat will display at least one instance of the Master Page.
    The Master Page is available in LC Designer for objects that you want to repeat on more than one page. Yes, typically this includes header and footer objects.
    If you want to hide all of your main form pages, then include a blank page and display this when hiding all of the other pages. See an example here: http://assure.ly/frjYW5.
    There is also an example here for displaying/hiding pages on a loop: http://assure.ly/kyMP6l.
    Hope that helps,
    Niall

  • ?My password won't open my website to update it, even tho I changed my password, before looked up keychain, etc, etc..How can I update my web page when it tells me I have an incorrect password which I just changed?

    Can some kind person please help me? I'm trying to update my web site. The password I've always used no longer works. It said password incorrect and listed a number. I checked my web name and that number in keychain, and it was right. I changed my apple password and that didn't help either. I read other answers given by apple. What should I do?

     
    starrfromsaratoga wrote:
    Can some kind person please help me? I'm trying to update my web site. The password I've always used no longer works. It said password incorrect and listed a number. I checked my web name and that number in keychain, and it was right. I changed my apple password and that didn't help either. I read other answers given by apple. What should I do?
    Did you try them out?  If so, what were they? 
    Please detail all you have done to resolve your issue.  Need this information so that the users can avoid the "been there, done that" scenario type responses.  This is to avoid repeating the troubleshooting you may have already tried.  Thank you.
    Check out the following KB Articles:
    http://support.apple.com/kb/TS1544
    http://support.apple.com/kb/HT1626
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/9066.html
    Do an Article search for others.
    P.S.  I requested that a HOST move your posting to the Intel iMac forums.  You posted in the PPC iMac forums (non-Intel).  No non-Intel Mac can run Snow Leopard.

  • How can I display an e-mail when the message is in HTML?

    I occasionally receive e-mails whose messages are in HTML.
    They're unreadable unless I save them outside thunderbird as files with the .html extension and open them in firefox.
    Is there some less cumbersome way of reading them directly in thunderbird itself?
    Linux Mint Debian Edition

    View - Message Body As - Original HTML

  • How can i avoid printing full pages?

    How can I avoid printing full pages when printing a photo from my iphone to my hp envy?

    Hi,
    While pritning with Apple Airprint, the image will print as is..
    You may find some more customization steps by using the HP Print Home & Biz app which allow some more customization of the printout:
    Follow the steps below to find how to get the app:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02775166&cc=us&dlc=en&lc=en&product=3692888&tmp...
    Below you may find some more customization options of the app:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01930282&cc=us&dlc=en&lc=en&product=3692888&tmp...
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • ADF how to display a processing page when executing large queries

    ADF how to display a processing page when executing large queries
    The ADF application that I have written currently has the following structure:
    DataPage (search.jsp) that contains a form that the user enters their search criteria --> forward action (doSearch) --> DataAction (validate) that validates the inputted values --> forward action (success) --> DataAction (performSearch) that has a refresh method dragged on it, and an action that manually sets the itterator for the collection to -1 --> forward action (success) --> DataPage (results.jsp) that displays the results of the then (hopefully) populated collection.
    I am not using a database, I am using a java collection to hold the data and the refresh method executes a query against an Autonomy Server that retrieves results in XML format.
    The problem that I am experiencing is that sometimes a user may submit a query that is very large and this creates problems because the browser times out whilst waiting for results to be displayed, and as a result a JBO-29000 null pointer error is displayed.
    I have previously got round this using Java Servlets where by when a processing servlet is called, it automatically redirects the browser to a processing page with an animation on it so that the user knows something is being processed. The processing page then recalls the servlet every 3seconds to see if the processing has been completed and if it has the forward to the appropriate results page.
    Unfortunately I can not stop users entering large queries as the system requires users to be able to search in excess of 5 million documents on a regular basis.
    I'd appreciate any help/suggestions that you may have regarding this matter as soon as possible so I can make the necessary amendments to the application prior to its pilot in a few weeks time.

    Hi Steve,
    After a few attempts - yes I have a hit a few snags.
    I'll send you a copy of the example application that I am working on but this is what I have done so far.
    I've taken a standard application that populates a simple java collection (not database driven) with the following structure:
    DataPage --> DataAction (refresh Collection) -->DataPage
    I have then added this code to the (refreshCollectionAction) DataAction
    protected void invokeCustomMethod(DataActionContext ctx)
    super.invokeCustomMethod(ctx);
    HttpSession session = ctx.getHttpServletRequest().getSession();
    Thread nominalSearch = (Thread)session.getAttribute("nominalSearch") ;
    if (nominalSearch == null)
    synchronized(this)
    //create new instance of the thread
    nominalSearch = new ns(ctx);
    } //end of sychronized wrapper
    session.setAttribute("nominalSearch", nominalSearch);
    session.setAttribute("action", "nominalSearch");
    nominalSearch.start();
    System.err.println("started thread calling loading page");
    ctx.setActionForward("loading.jsp");
    else
    if (nominalSearch.isAlive())
    System.err.println("trying to call loading page");
    ctx.setActionForward("loading.jsp");
    else
    System.err.println("trying to call results page");
    ctx.setActionForward("success");
    Created another class called ns.java:
    package view;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.model.generic.DCRowSetIteratorImpl;
    public class ns extends Thread
    private DataActionContext ctx;
    public ns(DataActionContext ctx)
    this.ctx = ctx;
    public void run()
    System.err.println("START");
    DCIteratorBinding b = ctx.getBindingContainer().findIteratorBinding("currentNominalCollectionIterator");
    ((DCRowSetIteratorImpl)b.getRowSetIterator()).rebuildIteratorUpto(-1);
    //b.executeQuery();
    System.err.println("END");
    and added a loading.jsp page that calls a new dataAction called processing every second. The processing dataAction has the following code within it:
    package view;
    import javax.servlet.http.HttpSession;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    public class ProcessingAction extends DataForwardAction
    protected void invokeCustomMethod(DataActionContext actionContext)
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    super.invokeCustomMethod(actionContext);
    HttpSession session = actionContext.getHttpServletRequest().getSession();
    String action = (String)session.getAttribute("action");
    if (action.equalsIgnoreCase("nominalSearch"))
    actionContext.setActionForward("refreshCollection.do");
    I'd appreciate any help or guidance that you may have on this as I really need to implement a generic loading page that can be called by a number of actions within my application as soon as possible.
    Thanks in advance for your help
    David.

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • How can i display my iviews in anonymous page

    hi experts,
    I have created some iviews and  I have created a role for all these i views and assigned this role to anonymous user group.
    when i access the anonymous page,i get the info"contents not exsits or not enabled",well how can i display my iviews in anonymous page
    best regards,
    zlf

    This page may help
    http://help.sap.com/saphelp_nw04s/helpdata/en/1e/e19f58136e654d9709befa464314f2/content.htm

  • How can we define custom error page in protal application

    How can we define custom error page in protal application, like we define "jsp Error page " in JSPs

    Hi,
    Check these:
    Customization of Portal Runtime Errors and portal standard error codes
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/1273b2c413b2449e554eb7b910bce7/frameset.htm
    Regards,
    Praveen Gudapati

Maybe you are looking for