Standard Error Page

Is there a way to create an XSQL error page?
I'd like to throw all errors to a single page (with nice, scary colours).

Hi,
I came across this post on xsql error message handling for fatal errors.
Has this been resolved in any particular release??
From what I can tell, there appears to be no way to detect any db connection problems like say an "invalid connection" or a "timed out" connection etc.
For example a page such as follows
<?xml version="1.0" encoding="UTF-8"?>
<page connection="some_invalid_connection" xmlns:xsql="urn:oracle-xsql">
<xsql:query>
SELECT
sysdate
FROM
dual
</xsql:query>
</page>
results in a error page such as
Oracle XSQL Servlet Page Processor 9.0.1.1.0A (Production)
XSQL-004: Could not acquire a database connection named:some_invalid_connection
XSQL-007: Cannot acquire a database connection to process page.
I would like a way to trap this error elegantly and do something useful with it, as opposed to it being spit out as html.
Database connectivity problems are very critical to handle properly. I am not sure how to it, other than writing java/jdbc code and trapping the exception. I would like to avoid this if I can.
Any help is appreciated.
- Manish
Currently fatal errors like this cannot have their error page overridden. Request noted for a future release.
Would your "cute" page in general be a static html file? Another xsql page?
null

Similar Messages

  • How to Config Special Error Page for TIME OUT ONLY

    We can config our own error page for webdynpro applications by using
    transaction code SICF. thus the customizing error page will show when
    program meet some errors. these errors type include ABAP runtime
    dump/page time out etc.
    Here is my question, is there any configuration or enhancement can
    effect on ONLY ONE error type.which means the customizing error page
    shows only time out error occurred.for other errors show the standard
    error page.
    Thanks a lot for your help.

    I need to setup a situation, that is display a custom error page which say "under maintenance" if no back-end WebLogic Server instance reached.In the Apache HTTP Server v2.2 you can use the ErrorDocument directive: http://httpd.apache.org/docs/2.0/mod/core.html#errordocument
    For example in httpd.conf,
    ErrorDocument 503 /Test.html
    Test.html is placed in the DocumentRoot (http://httpd.apache.org/docs/2.0/mod/core.html#documentroot)
    Regards
    Fabian

  • Error page template

    Hi
    We've recently upgraded to APEX 4.2.1 from APEX 4.1.1 and are updating our themes to take advantage of some of the new features.
    Previously we've used an error page template to display a nice error page when something has gone wrong. An easy way for us to test this, as most things are handled nicely within the application, is to manipulate the URL to go to a page that doesn't exist. In 4.1.1 this took us to a nice looking page, which used our template, saying that the page could not be found and to contact the application administrator. However in 4.2.1 it doesn't use the template and takes us to the standard error page which has no styling.
    I've tried searching for changes in this version that might cause this, but haven't found anything to explain it. The theme is still setup to use the Error Page template we've created which has the Error Page Template field entered.
    Does anyone know why it would stop using our error page template? And what we could do to correct it?
    Many thanks for your time,
    Sara

    SaraB wrote:
    Hi
    We've recently upgraded to APEX 4.2.1 from APEX 4.1.1 and are updating our themes to take advantage of some of the new features.
    Previously we've used an error page template to display a nice error page when something has gone wrong. An easy way for us to test this, as most things are handled nicely within the application, is to manipulate the URL to go to a page that doesn't exist. In 4.1.1 this took us to a nice looking page, which used our template, saying that the page could not be found and to contact the application administrator. However in 4.2.1 it doesn't use the template and takes us to the standard error page which has no styling.
    I've tried searching for changes in this version that might cause this, but haven't found anything to explain it. The theme is still setup to use the Error Page template we've created which has the Error Page Template field entered.
    Does anyone know why it would stop using our error page template? And what we could do to correct it?
    Many thanks for your time,
    SaraWhat I have found is that even though you define an error page template it will only be used by the errors that are set to display on error page. Eg. Validation error set to 'On Error Page'
    As the help text says:
    <ul>Specifies a page template to use for errors that display on a separate page as opposed to those that display inline. Leave this attribute blank if you do not wish to use a template designed to display errors.</ul>
    But if you use an error handling function you can probably decide this dynamically based on your page or error description etc in PL/SQL.
    But I never thought this will be used in case you try to access an invalid page because it is an 404 error

  • How do I customize the error pages in Firefox 24?

    I'd like to customize the HTLM/CSS/JavaScript of all the Firefox 24 error pages, i.e. the network connectivity lost, DNS and other standard error pages.

    Hello ekan,
    This can be done, but you're going to need to get pretty dirty to get it done. Ready?
    First, learn about userContent.css:
    http://kb.mozillazine.org/UserContent.css
    http://kb.mozillazine.org/Profile_folder
    Now, the easiest way to learn about the elements on the error page is to go to the source. So, go to the chrome folder in the Firefox program folder, usually C:\Program Files\Mozilla Firefox\chrome in Windows Explorer. Find the file called classic.jar and copy that somewhere else. Rename classic.jar to a .zip file and extract it, preferably to a folder called classic at whatever location you are at. Then, open the classic folder and navigate to ...\classic\skin\classic\global and find the file called netError.css.
    Open the netError.css file in Wordpad (Notepad doesn't seem to work for me because then the lines all run together). See all the code that starts with the # symbol? Those are the things you can easily change. Copy all the #ELEMENT code into your userContent.css file.
    Now you can start making changes to see what you like. I would make small changes at a time to see if it works the way you want. After each change, you need to close and restart Fx. Here's one to get you going:
    CODE: SELECT ALL
    #errorPageContainer {
    -moz-border-radius: 0px !important;
    background-color: red !important;
    That should make the box that surrounds the error message be red with square corners instead of white with a rounded corner border. Remember that before every semi-colon, you need to put !important or the change won't do anything.

  • Compliance Standard errors in OEM 12c

    Hi all,
    I recently upgraded from OEM 11g to OEM 12.1.0.3 on a 11.2.0.4 database repository.  Any database instance compliance standard that I apply shows errors for every rule.  The documentation states to "Click the message in the Message column to decide what your course of action should be to resolve the error."  There is no Message column on the Compliance Standard Errors page.  Any ideas as to where to look to find the underlying error?
    Dave

    Hi Courtney,
    This still an issue.
    I am testing converting from dynamic groups based on Lifecycle Status to administrative groups also based on Lifecycle Status.  For this purpose I created one administrative group with Lifecycle Status of Staging.  I have 2 databases and their associated hosts, listeners, agents and oracle_homes as members of the group.  I created a template collection for the group that contains a hosts monitoring template, a database monitoring template, a hosts compliance standard, and a database compliance standard.  The hosts compliance standard is from a template created in 11g.  It works and produces results.  For the database compliance standard, I tried a template created in 11g, the Template for Out-of-Box DB Polices provided in 12c, and a compliance standard created by copying and modifying Template for Out-of-Box DB Polices.  In all cases no results were produced and the compliance standard errors page shows an error for every rule in the standard for both databases.  The actual error is not indicated on the errors page and I do not know where to look to find it.
    I am not able to open an SR as our Oracle license is through SAP and I do not have access to Oracle My support.
    Dave

  • Changing default 'insufficient privileges'  error page

    Is it possible to modify the portal page that is presented to a user when they attempt to access a page without logging in.
    For example a user
    a) may save the URL of a portal form as a favourite
    b) logout
    c) at a later date use the favourite to access the portal form.
    Currently if a user does this the default Oracle error page is displayed, which is very user friendly.
    Alternatively is it possible:
    a) to redirect the user to the login page whenever
    they access a portal form that they don't have
    access to.
    b) to hide the URL of any forms from the user so
    that they cannot save them as favourites
    Thanks in advance.
    Mark

    Is it possible to modify the portal page that is presented to a user when they attempt to access a page without logging in.
    For example a user
    a) may save the URL of a portal form as a favourite
    b) logout
    c) at a later date use the favourite to access the portal form.
    Currently if a user does this the default Oracle error page is displayed, which is very user friendly.I suppose you meant to say not user friendly ? :)
    Alternatively is it possible:
    a) to redirect the user to the login page whenever
    they access a portal form that they don't have
    access to.No - this automatically happens. If a user bookmarks a page that has authorization checks on it, then trying to access the area automatically
    redirects them to signon at the SSO server. After they signon, control is returned to the bookmarked page. They will then see it if they have
    access, or will see the error page if they don't. Taking them back to the SSO server does no good here since they are already
    properly logged on. They just don't have access to the page they tried to get to.
    b) to hide the URL of any forms from the user so
    that they cannot save them as favouritesWhat do you mean by hide the URLs? A user can type in a URL to his bookmarks, whether or not the URL is ever presented to him on some
    page. Also, he may have access one day, and be revoked access the next. The authorization checks are there to ensure that
    unauthorized access is not granted, regardless of how the URL to the area is obtained.
    I've logged a bug to investigate the feasibility of customizing the standard error page. In the meantime, that page is what will get
    shown in these circumstances.
    Thanks in advance.
    Mark

  • Error while calling standards OAF page from Custom page

    Hi,
    Using personalization, from a custom page, I am trying to open a standard Iexpense page using the following inthe Destincation URI in messagestyledtext as
    OA.jsp?OAFunc=OIEMAINPAGE&startFrom=ActiveSubmitted&ReportHeaderId=380705855&OIERefreshAM=Y
    The original page has OA.jsp?OAFunc=OIEMAINPAGE&startFrom=ActiveSubmitted&ReportHeaderId={!ReportHeaderId}&OIERefreshAM=Y in the message styled text
    But when click on this from the custom page, the page opens with tabbed regions above and then gives error as below. Please let me know how to resovle this issue.
    Profiles 1) FND_VALIDATION_LEVEL and 2) FND_FUNCTION_VALIDATION_LEVEL are already set to None.
    Error is:
    Page Security cannot be asserted. The page has either expired or has been tampered. Please contact your System Administrator for help.
    Thanks,
    Srikanth

    Hi,
    R u still facing the issue?
    If So can you please tell me:
    Have u added your called function to the current user? That means by navigating to the responsibility you can access the same page directly, with out doing any transaction? If so then create your custom function with your required URL and attach to a menu ; then check if you are able to view that page from the menu navigation?If these thing is not working then I think you need to create a custom page that will extend the std region , that time hopefully it will work.
    Please post your result/thought!!
    Regards
    Apurba K Saha

  • Error while calling standard OAF page from custom Oracle Form

    Hi,
    I am calling standard OAF page from custom oracle form using the following code.
    FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'FUN_TRX_ENTRY_OUT_VIEW_BATCH',
    OPEN_FLAG =>'Y',
    SESSION_FLAG =>'N' ,
    OTHER_PARAMS =>'&ViewBatchID = "' || NAME_IN('FUN_AGIS_LINE_D.BATCH_ID') ||
                        '&CallingFunction = "' || 'MANEXPINQ' ||'"');
    But I am getting this error.
    oracle.apps.fnd.framework.OAException: This request was not processed as the request URL %2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffun%2Ftransaction%2Fentry%2Fwebui%2FViewOutBatchPG%26OAPB%3DFUN_PRODUCT_BRAND%26OAHP%3DFUN_SSWA_MENU%26OASF%3DFUN_TRX_ENTRY_OUT_SEARCH%26_ti%3D1217029204%26language_code%3DUS%26%26ViewBatchID%20%3D%20%22203148%26CallingFunction%20%3D%20%22MANEXPINQ%22%26CallFromForm%3D%27Y%27%26oas%3DqZqg3tmdEdUNyw_HtskVow.. contained potentially illegal or un-encoded characters. Please try again by submitting a valid URL or contact your systems administrator for assistance.
    Please let me know any thing I missed out here.
    Any suggestion will highly appreciated.
    Thanks & Regards,
    Sunita

    I am using FND_FUNCTION.EXECUTE to call a OAF page from PLSQL in R12. I am getting following error"Error(9,23): PLS-00302: component 'EXECUTE' must be declared"

  • CTRL-E Loads ICE Toolbars and Standard Error 404 Page

    I have a site registered with InContext.  I have one editable region in index.php.  When I click ctrl-e, ICE loads all toolbars, however instead of loading my index.php file, it displays the default standard Error 404 page within the ICE framework.
    What information do I need to supply so that someone can help.
    Thanks
    Loyce

    Okay.  I use 1and1 as my hosting provider and it seems they use sedo domain parking as a revenue stream.  So when a HTTP HEAD request is recieved it returns 200 OK even for pages that do not exist and then redirects to an ERROR 404 which contains advertisements.  I don't really like this, but you can turn it off and see a standard, generic error page or use custom error pages, however this does not change how the server handles pages that do not exist.
    Your solution to go to the InContext Editing Administration Panel and simply "Save" the site settings for this site. Will not work for me because when
    ICE automatically checks if it can use HEAD requests on my server  it finds that it can and never falls back to the alternate method  of FTP.
    If I had the option to force the use of FTP, all of my problems would vanish.
    I have a request in with 1and1 to address this issue, however I see no reason for them to comply.
    I can manually copy my index.php file to index_draft.php and everything will work again until the draft is published or deleted.  For now,  I plan to edit the ice.js file to check if the file exists and if not, copy the original.php to original_draft.php so that i can bypass this issue for now.
    Is there a way to force the HTTP HEAD request to fail on my server?
    Anyway, that is where I am so far on this..
    Mr Popa, do you have any other thoughts on this so far?
    Thanks for your time.

  • Suppress exception messages in Standard ESS Appls - Custom error page

    Hi,
    I am just wondering if we could supress the error messages (null pointer exceptions, array out of bound index etc..) which are thrown by standard WDJ based ESS Applciations and instead instead take the user to a much more meaningful custom error page. Do we need to achieve this playing with the FPM ?
    Could you pelase share your experiences and views.
    Thanks
    Murali.

    Looks like it is not possible

  • 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

  • Error-page tag not valid in global-web-application.xml ?

    Hi!
    From what I understand about the global-web-application.xml file in Oracle's documentation, the content of the web-app tag should be inherited to all web application as a web.xml content.
    One of the web.xml tags is error-page, which contains the page url for the standard return codes (404, 500, and so on).
    If I put the error-page on the web.xml inside a web application, it works as expected.
    But if I don't put this tag inside the web applicaction, but in the global-web-applicacion.xml (web-app) tag, it doesn't work.
    We are testing the 404 error page, but I don't know if it is because the application server can't find the error page or because the global-web-application.xml isn't being inherited correctly.
    Where is this file supposed to be looked for? Or the only way to do this is by writing the configuration on all web applications?
    We are using 9.0.3
    Franco Catrin L.
    TUXPAN

    Just refreshing... Does anyone have any idea?
    Daniel.

  • I'm unable to access my yahoo email account using updated firefox browser, i keep getting error page when I use the mail link on yahoo pages

    Since updating Firefox browser, i am unable to gain access to my yahoo email account. I can access the email with Interent Explorer with no trouble. Whenever I click on a mail link on the yahoo sites to check my mail, I get rerouted to an error page ..... "Sorry, we can't find "ca.mg4.mail.yahoo.com/dc/launch?.gx=1". Please check the spelling of the web address." is what is said at top of page whenever I click on any mail links.

    This is how I fixed it on my new iPhone 5S. Using the standard yahoo setting on my phone.
    You will have to access  "managing your app passwords" on your account profile for yahoo. Generate password for your app. For example: "My iPhone 5S'
    Go to your Iphone and set up your yahoo mail account on your phone the normal way and you have to use the generated password.  instead of the yahoo account password.
    source:
    http://virtualizeme.net/iphone-5-yahoo-mail-server-unavailable-fix/
    I hope this helps,
    cheers

  • XSLT_TOOL Standard Error

    Hi experts
    i'd like to know if is there someone who founded some standard error during the saving of a Survey in SRM 7.0
    The transformation with XSLT dosen't fill the last symbol ">" at the end of the page and i'm going to do handly every time.
    No OSS notes  about it.
    Help please
    regards
    andrea

    solved by me

  • How to modify a standard OAF page in version R12

    Dear all,
    I have a requirement to modify a standard OAF page(can't implement by personalization),and my EBS version is R12,but i have not the source java code of the page,I try to decomplie the class file by a sofeware named 'YingSoft' , as the r12's jdk is 1.6,will have some errors.
    So,anybody know how to accomplish or have other decompile software?
    thanks,
    Ming Tao.

    Hi Ming,
    I use Java Decompiler (JD) in it works fine for me. Also, I guess you know it already, but just in case, there is a detailed explanation on how to extend standard OAF pages in the OA Framework Developer's guide and how to deploy the changes.
    Regards.

Maybe you are looking for

  • Excel 2013 and Random Excessive Processor Utilization

    Every now and then (about once per day), my Excel 2013 will randomly seize one of my 8 threads and max it out.  My PC is quad-core and hyper-threaded, so it shows up in task manager as 8 cores.  When Excel seizes, its UI still seems to function prope

  • AOSNOTIFYD request

    I changed my login password on two different computers G4 powerbook and a macbook intel. Now I get AOSNOTIFYD wants to use keychain and requires the old system password. I know there has to be an easy fix but I just can't find the file location to ma

  • RFC Adapter issue

    Hi, I have a strange behavior from the RFC adapter. When I submit from a report data via RFC to XI, everything works. If I try it a second time, the RFC call fails. Also a RFC connection test to XI fails. After restarting the RFC Adapter in the Visua

  • SelectOneChoice and af:Table

    Greetings, i have a Object View af:Table in JDeveloper 11.1.2.4.0 JSF form that includes 3 new columns that have nothing to do with the database xor the Entity Object. I bind this 3 columns to a LOV each. The 2 LOVs are normal View Objects, but the 3

  • I uploaded videos to website server and when playing videos they keep buffering and stop & start

    Hello, I edited videos in PP CS6 and encoded 1920x1080 clips in .mp4 format. Encoded vbr 2pass 5.00 mbps , audio is AAC 320 kbps, 48khz. The videos play perfect in player on destop, and when downloaded from site, but don't play well in website player