Redirect to a custom error page when Forms Server shuts down

Hi,
I want the forms application to redirect to a custom error page whenever Forms Server goes down. (like network issues, unscheduled shutdown...) Whenever this happens, the user gets a pop up with FRM messages and user has to acknowledge the pop up. Since the application is used in the shop floor, there will not be any user always in front of the screen and will be a very big issue as there are at least 70-80 PC's on the floor which will be attended fewer times(only when there is issue with the machine) other wise the application displays important events of the machine,etc.,
I am trying to develop a simple HTML error page(may be with applet) which will keep querying the forms server and once the forms server is up and running, the error page will revert back to the application which the user was working earlier to shutdown. Other option is the redirect to main menu of the application (this may be a PSP or a JSP or a Oracle Forms Menu ).
Is there any event in forms to capture the loss of connection to forms server ??
BTW, I am using Oracle Application Server 10g Forms and Reports on Windows 2000 Server...
Any ideas...
Thanks in advance
Purush

I don't think it will be easily possible in Forms for a couple of reasons.
1. In Forms you do not have query rights, and as soon as you want to edit data, you have to log in. In Forms you log in once, and this sets your rights for the whole session. You will have to do some programming in Forms to achieve what you want. E.g. as soon as you hit the Save button you are asked for a username and password.
2. A refresh cannot be done in Forms. Remember that Forms is a Java applet. The URL in the browser is just pointing to the startup page only. If you refresh your screen, you are taken back to the login screen of Forms again.
Well, there will probably be ways around these problems. I'm thinking in the line of calling every form in a separate URL instead of starting a Forms application where one form is called from another form. The default 'query only' form can be called from a startup html page. This page can be refreshed. As soon as the user wants to update data, he clicks on a link or button and is taken to a login form.
If the refresh is unsuccessful you are taken to a custom error page, like in your ASP application.
A problem with an automatich refresh may be hanging sessions. Forms server does not always kill sessions.
And also, how would you avoid a refresh if a user is currently using the form?

Similar Messages

  • Customise error page when content server is down

    Hi all,
    The following message is received when the content server is down:
    Web Server Error Error attempting to perform request. (Unable to connect to address.) To administrate this server use this link.
    I have seen a few variations fo this mesage on different conditions.
    The question is: how can we customise this page?
    Many thanks

    hi all,
    try this
    You can set up the maintenance page when at the Web server level when the application is down in the App layer. Here is the reference for Oracle HTTP server, same you can do it for any other web server too..!!
    You can achieve this by configuring an error page at the WebServer (part of web-tier).
    For example, in the case of a Oracle HTTP Server (OHS), you could do the following:
    1. Place your maintenance page at <ORACLE_INSTANCE>/config/OHS/<component_name>/htdocs.
    For Example, <ORACLE_INSTANCE>/config/OHS/<component_name>/htdocs/errorPage500.html
    2. Open the OHS httpd.conf located at <ORACLE_INSTANCE>/config/OHS/<component_name> in an editor and search for the string ‘ErrorDocument 403′ which can be seen as commented text. Next to the commented text line, add the below lines for configuring the Error
    Pages (500 —>  backend server unavailable, 403 —> forbidden request, 404 –> Resource Not available). For the below example, we had 3 html pages errorPage500.html, errorPage403.html and errorPage404.html are deployed in OHS htdocs.
    ErrorDocument 500 /errorPage500.html
    ErrorDocument 403 /errorPage403.html
    ErrorDocument 404 /errorPage404.html
    3. Save the changes to the httpd.conf file.
    4. Restart OHS server

  • Custom error Page when Run time Occurs in SharePoint

    Hi Guys In my SharePoint application in case if any Run time error occurs in my code, It should not come Server error \ ..instead it needs to redirect to Custom error Page But its not working Can you plz help out? I made changes in web.Config file but its
    not working..Can you guys plz help me out how to redirect to custom error Page if any run time error occurs in Sharepoint??
       <customErrors mode="RemoteOnly" defaultRedirect="~/GeneralError.htm" redirectMode="ResponseRedirect"></customErrors>
     [[ Web.config file in Virtual Directory C:/inetpub/wwwroot/vd/port/web.config
    Is there any changes in addition to this web.config file??
    Reddy

    Hi Reddy,
    Here you go. pls follow the tutorials
    http://www.fixthisbug.com/post/creating-a-custom-error-page-for-sharepoint-2010-web-application
    http://blog.incworx.com/blog/sharepoint-tips-and-tricks/implementing-sharepoint-2010-custom-error-pages-v3
    http://www.spdeveloper.co.in/articles/pages/custom-error-pages-for-sharepoint2010-sites.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Customized error page when no javascript is enabled

    It thought it was possible to customize the page or message you get when you are using a browser with disabled javascript.
    I was looking for the documentation on this but I can't find it.
    Can someone guide me to the documentation or some blog post on how to show a customized page for people who have javascript disabled.
    Thanks.

    hi Yannick
    Not sure if this is what you are looking for, but maybe it can help, see documentation "Oracle Fusion Middleware Tag Reference for Oracle ADF Faces Skin Selectors 11g Release 1 (11.1.1.5.0) E15862-04 "
    at http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e15862/toc.htm
    For the af:document component it refers to resource string
    "af_document.MSG_SCREEN_READER_HINT "
    with description
    "A message that lets screen reader users know that the page is rendered using screen reader optimized contents. This message is rendered such that it is read by screen readers, but not visible to non-screen reader users "
    success
    Jan Vervecken

  • How to show  an error Page in Weblogic when the server is down

    Hi ,
    I heard that every container has the facility to show an error page when the server is down and (when the request has arrived at that time ).
    Please tell me how to configure this in BEA weblogic ??
    Thanks .

    Hi,
    From my understanding weblogic dose not provide the thing which you are asking for, reason is given below.
    - An application is deployed only on managed server one (MS-1)
    - Now if the request comes to the server (MS-1) when it was running and then for some reason MS-1 goes down then weblogic server would be able to send any response back to the client as its down.
    - Hence nothing can be done as the request object is been lost when the server goes down or even cant redirect to an error page as for doing that too the server has to be up and running.
    However there are other way round which can help you overcome this issue as shown below
    - Use Clusters with few managed servers in it which gives you high availability and load-balancing.
    - Use any web servers like Apache in front of weblogic servers.
    Using the above things you can also use customized HTTP Error Responses with error-page element in web.xml and create your own error pages which can be re-directed for the web server side also. For more information go through the below links
    Topic: Customizing HTTP Error Responses
    http://download.oracle.com/docs/cd/E13222_01/wls/docs92/webapp/configurejsp.html#wp157884
    Topic: error-page
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webapp/web_xml.html#1017571
    Topic: ErrorPage
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/plugin_params.html#wp1155425
    Hope above information helps you.
    Regards,
    Ravish

  • OWA_UTL.REDIRECT_UTL to show Custom Error Page

    Hi,
    I am attempting to use the following code to redirect to my Custom error page (Page 500) on various error conditions being raised, within PL/SQL blocks: -
    wwv_flow.g_unrecoverable_error := TRUE;
    HTMLDB_UTIL.SET_SESSION_STATE ('P500_ERRMSG', SQLERRM);
    OWA_UTIL.REDIRECT_URL
    ('f?p='
    || gc_app_id
    || ':ERRPAGE'
    || gc_session_id
    || '::::P500_GO_TO_SCREEN,P500_SOURCE_SCREEN:1,'
    || gc_page_id
    || '');
    I have this working in another environment, but now when this condition is met all I get is a blank page and the following text: -
    Location: f?p=123:ERRPAGE:4328468326428634::::P500_GO_TO_SCREEN,P500_SOURCE_SCREEN:1,119
    Has anyone seen this before?
    Thanks,
    Mike

    Mike - Any event that causes the http header to be closed, such as "htp.p(...)", or the explicit closing of the header as in cookie-setting code where the header is closed afterwards, necessitates the use of htp.init in order to open and stuff the header again (as is the case with a call to owa_util.redirect_url).
    Scott

  • Making a custom error page

    Hi could some please tell me the staps to setting up a
    customized error page on the server. My host has told me to go
    ahead and do it but im not really sure of the staps. I have made te
    page i want to use. Just not sure what to do next. Any help would
    be ,ost appreciated.
    Thanks Mark

    I would suggest to check Ray's great entry.
    http://www.coldfusionjedi.com/index.cfm/2007/12/5/The-Complete-Guide-to-Adding-Error-Handl ing-to-Your-ColdFusion-Application
    :)

  • HTTP Error 403 - Customized Error Page Display Issue

    Hi,
    I have included 403 in <error-code> in my web.xml and defined proper security constraints. But when I try to access my JSPs directly on Mozilla I see my error page but I try in Internet, I can't see the same page.
    Can someone help me?

    BalusC wrote:
    Then don't send the HTTP error status code in the headers. It would trigger IE to display friendly error pages.
    Best solution would be to let the error page invoke a redirect to self (or another error page) when the HTTP status code is 403, so that it becomes 200 (or anything in range of 200-399) so that IE won't be triggered to display friendly error pages. Best solution would be to let the error page invoke a redirect to self (or another error page) when the HTTP status code is 403You want to say that I should define a error page in my JSP where, when its called, I need to handle the 403 error. Please correct me if I'm wrong. I have defined *403 error code in my web.xml*.
    Again if possible can you please put down a sample how to do it?

  • Error in configuring Custom Error Pages for Faces Portlets

    According to
    http://e-docs.bea.com/wls/docs92/schemaref/controls-netuix/http.www.bea.com.servers.netuix.xsd.controls.netuix.1.0.0/element/facescontent.html
    you can specify an errorUri attribute on the facesContent object for the error page.
    <netuix:facesContent contentUri="/testList.jsp" errorUri="/error.jsp"/>
    WebLogic Workshop even allows setting this in the tool.
    However, the errorUri never gets picked up and the following error shows up.
    <BEA-423266> <No setter for property :: errorUri.>
    Anyone faced this problem. Is there any other alternative to specify a custom error page for JSF portlets.
    Please note that the errorUri works fine for the jspContent tag used for JSP Portlets.

    Hi Sanjeev,
    You need to check if you have access to AXF_CONFIGS table. Check if you have ran GRANT_ACCESS.sql script which has below grant commands.
    grant execute any type to apps;
    grant create type to AXF;
    grant select on AXF.AXF_CONFIGS to apps;
    v_formId AXF_CONFIGS.FORMID%TYPE; means tableName.columnName%type;
    so looks like when you are running AXF_EBS_SOLUTION_DATA.sql you are not able to access AXF_CONFIGS table.
    Hope this helps.
    Regards,
    Amol Gavali.

  • Custom Error Pages (404 & 500) not invoked (JSF 1.2 & Websphere 6.0.1)

    Hopefully this is very obvious to some of the experts here. I'm trying to have my custom error pages (404 & 500) displayed, but in stead I get the normal system output text (ugly). The web.xml has been configured to apply the FacesServlet to all pages ending with "jspx". What I now get is the following: Whenever a page ending with .jspx cannot be found, the custom 404 page is IGNORED, however, when I don't use .jspx, but .jsp for example, IT WORKS. Below is my web.xml. I have already tried to make the error pages plain html, and also moved them to the root directory, no luck.
    Oh yes, running on RAD 6.0.1, Faces 1.2.
    Please if someone could guide me here...
    ########## SNIP ##########
    <servlet id="Servlet_1212573625706">
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>
    javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>-1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>JS Resource Servlet</servlet-name>
    <url-pattern>/.ibmjsfres/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    <error-page>
    <error-code>500</error-code>
    <location>/includes/errorPages/error500.jspx</location>
    </error-page>
    <error-page>
    <error-code>404</error-code>
    <location>/includes/errorPages/error404.jspx</location>
    </error-page>
    ########## SNIP ##########

    I recognize this as an appserver bug (yeah, it's Websphere).
    Websphere (and the older versions of Apache Tomcat where it is actually based on) doesn't expect the error-page to be a dynamic servlet-served page, but as a static page. It roughly handles as follows: get the error-page location from web.xml, test its existence on the disk file system, if positive then go ahead, but if negative then display default error screen.
    The file with .jspx extension does not physically exist on the disk file system. A workaround for which I remember it worked in WAS 5.x is to create physically that file (empty content is allowed) on the disk file system. So create a blank file with jspx extension at the same location.

  • Custom Error Pages Using .htaccess

    Hi All
    Im new to Ironport Nation and would like some help setting up custom error pages
    I have an Apache server setup with custom errors but am having trouble with my.htaccess and mod_rewrite i believe it needs to be something like
    URL
    http://proxy.rlc.qld.edu.au/errors/blocked.html?Time=30/Apr/2008:14:29:56%20+1000&ID=0004221698&Client_IP=10.0.0.13&User=-&Site=www.blodddddgstorm.co.uk&URI=htaccess-mod_rewrite-ultimate-guide/&Status_Code=503&Decision_Tag=OTHER&URL_Cat=nc&WBRS=dns&DVS_Verdict=0&DVS_ThreatName=-
    .htaccess
    rewriteEngine on
    rewriteCond %{query_string} ^URL_Cat=nc&WBRS=dns$
    rewriteRule ^errors$ http://proxy.rlc.qld.edu.au/errors/pagenotfound.html [R=301,L]
    redirects to
    http://proxy.rlc.qld.edu.au/errors/pagenotfound.html
    I would also like to incorporate
    URL_Cat=nc&WBRS=dns pagenotfound.html
    URL_Cat=Adul&WBRS=- adult.html
    URL_Cat=Game&WBRS=- games.html
    URL_Cat=C_Bloc&WBRS=- custom.html
    i know the .htaccess (mod_rewite) is wrong thats where i need help
    Thanks in advance
    Steve

    Is there a reason you're trying to use mod_rewrite to do this?
    The EUN redirection was designed to be directed to a CGI script, which can then dynamically generate the error page based on the criteria passed in, which allows you to customize the error returned (eg, you can list the full category name which is blocked, for example)
    If you really want to have it directing to a static page you can still do this in a CGI script rather than using mod_rewrite.
    If you get the config right then mod_rewrite should work, but it's almost certainly going to be overkill...

  • Custom error page.........please help me

    Hi guys,
    i'm working on a jsf application and i've decided to use a custom error page.
    What i want is displaying the stacktrace of the application level' exceptions like nullpointer,mysql exceptions etc....in a custom error page.
    I've followed an example at the end of core java server faces book but it's doesn' work!!
    Please help me,these are my steps...
    i've defined in my web.xml
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
      <error-page>
      <error-code>500</error-code>
      <location>/errorDisplay.jsp</location>
    </error-page>i've errorDisplay.jsp
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <html>
    <f:subview id="dummy">
    <head>
      <title><h:outputText value="Problema nell'applicazione"/></title>
    </head>
    <body>
    <h:form>
    <p><h:outputText value="Un errore � stato riscontrato"/></p>
    <p><h:outputText value="Ecco lo stacktrace"/></p>
    <h:inputTextarea value="#{errorBean.stackTrace}"
    rows="40" cols="80" readonly="true"/>
    </h:form>
    </body>
    </f:subview>
    </html>and this is my managed bean ErrorBean.java
    package giu;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.sql.SQLException;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.servlet.ServletException;
    public class ErrorBean {
         public String getStackTrace() {
              FacesContext context = FacesContext.getCurrentInstance();
              Map request = context.getExternalContext().getRequestMap();
              Throwable ex = (Throwable) request.get("javax.servlet.error.exception");
              StringWriter sw = new StringWriter();
              PrintWriter pw = new PrintWriter(sw);
              fillStackTrace(ex, pw);
              return sw.toString();
         private static void fillStackTrace(Throwable t, PrintWriter w) {
              if (t == null)
                   return;
              t.printStackTrace(w);
              if (t instanceof ServletException) {
                   Throwable cause = ((ServletException) t).getRootCause();
                   if (cause != null) {
                        w.println("Root cause:");
                        fillStackTrace(cause, w);
              } else if (t instanceof SQLException) {
                   Throwable cause = ((SQLException) t).getNextException();
                   if (cause != null) {
                        w.println("Next exception:");
                        fillStackTrace(cause, w);
              } else {
                   Throwable cause = t.getCause();
                   if (cause != null) {
                        w.println("Cause:");
                        fillStackTrace(cause, w);
    }I cause mysql exceptions in my application,but i see the standard stack trace,not my jsp page with stack trace..
    i think my error is in web.xml in which 500 is only a type of error....i've to adding mysql exceptions????
    How can i do it?
    Please help me

    I have the above solution working in my environment. the only difference is that i have an additional declaration in the deployment descriptor...
    <error-page>
         <exception-type>java.lang.Exception</exception-type>
         <location>/faces/errorDisplay.jsp</location>
    </error-page>

  • 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

  • I want to give custome error page in web dynpro application

    Hi ,
    I want to give custom error page for time out condition in my web dynpro application  .
    Kindly give me a soulation ASAP.
    Thank's and regard's.
    Vikash.

    Refer this :
    default error page
    May be it helps you.

  • How to configure custom error page in WebServer 6.1 if instance is down

    Hi ,
    I have deployed an application on port 82.
    If the instance is down, want to configure custom error page in Sun One Webserver 6.1 so that the it displays a customised message rather than browser displaying its custom DNS error page.
    In web.xml, configured the 404/500 error messages, but if the instance is down, my web application does not receive the request. So it should be defined at the root level.Where to configure the same?
    Thanks for the help in advance.

    You can use Error function "send-error" http://docs.sun.com/source/817-1834-10/crobjsaf.html#wp20007
    It has an example
    Error fn=send-error code=401 path=/sun/server61/docs/errors/401.html

Maybe you are looking for

  • Function of Error Table

    Hi all, There is a property named error table for source and target operators in mapping editor. Can anyone tell me about its function? I mean where i can use this feature in mapping. and what is the structure of this error table? where i have to cre

  • There are no areas to post to in company code 0637

    Hi Friends, I have done Asset Config, created the asset and posted dep for period 01/2010 When am running AFAB for period 02/2010 the system through an error message as below *There are no areas to post to in company code 0637* Can anyone do suggest.

  • Drag & Drop Game - I'm stuck!

    Hello. I'll try and explain this as simply as I can! I have a drag and drop game where you have to drag one of 4 items into a bag. If you chose the right item and drag that into the bag, you'll jump to a specific marker which says CORRECT. If you dra

  • Problem wth weblogic.servlet.jsp.jspstub

    hai,           i have three pages in my application iam calling a login page which verifies the user and gets the data from the database           and iam showing the results in the secod page and logging from there.           This process iam doing

  • Ipad goes black unexpectedly

    Hello!  I have a new iPad 3rd Gen and every once in a while the screen goes black/blank and the only way to get it to come back is to press the Off button on the top (it will click) and then press the Home button.  It is unpredictable.  I does, howev