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

Similar Messages

  • 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

  • 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.

  • 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

  • How to show custom error message in WebADI Excel template?

    Hi,
    I've  created a custom Web ADI integrator and associated it with a 'Procedure' based custom interface.
    WebADI Interface API Returns is set to  "Error Message".
    I'm using  raise_application_error(-20001, "Actual Error Message") for invalid rows,but custom error message from PL/SQL  is not populated on the excel template.
    Instead it is showing "SQL exception occurred during PL/SQL upload".
    Am I missing anything? How to show custom error message from Pl/SQL procedure to WebADI Excel template?
    TIA
    Narasimha

    The custom API errors are visible in the BNE log but not on the Excel.
    BNE Log=>
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Exception while uploading to PL/SQL API.  Error Code: 20001, Message: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Stack trace: java.sql.SQLException: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
      at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
      at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
      at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4710)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
      at oracle.apps.bne.integrator.upload.BnePLSQLUpload.doUpload(BnePLSQLUpload.java:284)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.processDeepestLevel(BneSAXUploader.java:2346)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.startElement(BneSAXUploader.java:1182)
      at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:234)
      at oracle.apps.bne.integrator.upload.BneUploader.processUpload(BneUploader.java:301)
      at oracle.apps.bne.integrator.upload.BneAbstractUploader.processUpload(BneAbstractUploader.java:114)
      at oracle.apps.bne.integrator.upload.async.BneAsyncUploadThread.run(BneAsyncUploadThread.java:140)
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 WARNING        BneOracleWebAppsContext.getTimeZone CLIENT_TIMEZONE_ID has not been set
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 ERROR          BneOracleWebAppsContext.getExtraJDBCConnection recieved the same connection as the base connection.  There may be transaction problems.
    How to show the same error in the excel template?
    Here is the package:
    CREATE OR REPLACE PACKAGE BODY APPS.XXPO_COSTFACTS_WEBADI_PKG
    AS
       PROCEDURE upload_data (
                              P_CONTAINER_ID IN VARCHAR2
                            , P_SAIL_DATE IN DATE
                            , P_PO_NO IN VARCHAR2                     
                             ) IS
        --declare
        lv_err_msg      VARCHAR2(240);
        lf_err_flag     NUMBER := 0;
        ln_temp         NUMBER;
        BEGIN
        --------------------- checking for mandatory parameters---------------------------
          IF (P_CONTAINER_ID IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg||'-'||'Please enter CONTAINER_ID - ';
          END IF;
          -------------Validation for Sail Date Format----------------------
          IF (P_SAIL_DATE IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter Sail Date - ';
          ELSE
             BEGIN
                SELECT 1
                  INTO ln_temp
                  FROM DUAL
                 WHERE P_SAIL_DATE =  TO_DATE (TO_CHAR (P_SAIL_DATE, 'DD-MON-YYYY'), 'DD-MM-YYYY');
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format';
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format'|| SQLERRM;
             END;
          END IF;
          -------------Validation for PO_Number----------------------
          IF (P_PO_NO IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter PO_NO - ';
          ELSE
             BEGIN
                SELECT count(1)
                  INTO ln_temp
                  FROM PO_HEADERS
                 WHERE Attribute4 =  P_PO_NO;
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' No Oracle PO for Biceps PO#'||P_PO_NO;
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Error getting the Oracle PO for Bicpes PO#'||P_PO_NO||' Error-' || SQLERRM;
             END;
          END IF;
         -----------------------Insert Record----------------------------
         IF lv_err_msg is NULL THEN
         BEGIN
             INSERT
              INTO XXP2P_HW_COST_FACTORS_STG
                     CONTAINER_ID
                    ,SAIL_DATE
                    ,PO_NO
                    , ERROR_FLAG
                    , ERROR_MSG
                   ,CREATED_BY
                    ,CREATION_DATE
                    ,LAST_UPDATED_BY
                    ,LAST_UPDATE_DATE
                    ,LAST_UPDATE_LOGIN              
                VALUES
                     P_CONTAINER_ID
                    ,P_SAIL_DATE
                    ,P_PO_NO              
                    ,lf_err_flag
                    ,lv_err_msg
                  ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.LOGIN_ID              
                  --  commit;
                  DBMS_OUTPUT.put_line
                    '-' || 'After ap_invoices_interface'
            EXCEPTION
            WHEN OTHERS THEN
              ROLLBACK;
              lf_err_flag := 1;
              lv_err_msg  := lv_err_msg || ' ' || 'error loading CONTAINER_ID-' || P_CONTAINER_ID || SQLERRM;
              raise_application_error(-20001, lv_err_msg);
            END;
        ELSE
              raise_application_error(-20001, lv_err_msg);
        END IF;
      END upload_data;                        
    END XXPO_COSTFACTS_WEBADI_PKG;

  • 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

  • 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?

  • 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.

  • 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
    :)

  • 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...

  • IE7 Does Not Display Custom Error Pages

    Hi,
    I set up the "Handling Servlet Exceptions (http://www.oracle.com/technology/sample_code/tech/java/codesnippet/servlets/handlingservletexceptions/handlingservletexceptions.html#log) sample code in JDev 10.1.3 on a WindowsXP desktop.
    After modifying the web.xml to run the sample "Catch500Error" servlet I discovered IE7 will not display the custom error page but Mozilla Firefox will.
    The web.xml looks like this:
    <web-app>
    <description>web.xml file for HandlingServletExceptions Application</description>
    <servlet>
    <servlet-name>CatchError500</servlet-name>
    <servlet-class>oracle.otnsamples.servlets.CatchError500</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>CatchError500</servlet-name>
    <url-pattern>/catcherror500</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <error-page>
    <error-code>500</error-code>
    <location>/web/500error.html</location>
    </error-page>
    </web-app>
    Does anyone know how to get IE7 to display the custom error page?
    TIA,
    Jim

    The post documents a problem with 'dashboard designer' not 'sharepoint designer' as the post above mentions. I tried the solution that Jilu posts and that does not fix the problem for dashboard designer.
    I figured this out. In the master page gallery where my custom master page was deployed, I had to edit the details, change the content type to 'publishing master page'. After that change there was then UI versions for 3 and 4. I change the UI to 4, published
    the  master page document in the library then dashboard designer saw the custom master page. 
    Andy Fitch

  • Custom Error Pages in EP 6.0 SP2

    Hello,
    Can anyone tell me if there is a way to setup custom error pages in Ep 6.0 SP2.
    Thanks,
    Keith

    Hi Praveen,
    What are trying to see if there is a way to have custom error messages in the SAP Portal J2EE Engine.
    For example if you have an IIS or Apache server you can setup custom 500 or 404 error pages, is this possible within the SAP J2EE Engine?
    Thanks,
    Keith

  • 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>

  • 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

Maybe you are looking for

  • How do I point a Raspberry Pi music server at my iMac?

    I'm trying to use a Raspberry Pi as a network music server.  I have one SD card with Volumio and another with Rune.  The webUI for both is almost identical. My music files are on an HDD attached to my iMac and the Pi is on the same network.  In the V

  • Corsair Force GT issue on MacBook Pro Mid-2010 (Sata 2)

    I just bought the Corsair Force GT 120 GB to use as the only hard drive in a MacBook Pro Mid-2010. I knew that my MacBook Pro model only supports SATA I & SATA II & that the SSD is backwards compatible. I expected (and still expect) the SSD to link u

  • Problem with cross dissolve transitions

    I had several short interview clips that I had made into several short Imovies. I wanted to combine the interviews into one longer movie. Each short clip has an intro clip. The problem occurs when I copy each short clip and paste into the long versio

  • Extracting distributions

    Guys, I just want to confirm my understanding of the extraction of distributions. We are running ZFS 3.0.2 on NetWare 6 SP5, this is primarily in relation to file packages. Does the subscriber extract during every scheduled extract period (in our cas

  • HT1926 i am getting a runtime error every time I try to install itunes on Win 7 computer

    Am trying to reinstall itunes on Win 7 Home and keep getting a runtime error despite turning off antivirus, deleting old version and restarting computer as instructed.  Please help