Common Error page in Taskflow

Hi All,
Jdeveloper : 11.1.1.6
Usecase:
I have a taskflow contains *20 page fragments*. I have a common error page fragment.
If any exception will happened in the any fragments then the control navigate to the common error fragment.
I can easily do this by connecting all 20 fragments to the common error fragment with ControlFlowCase .If I do like this my taskflow diagram will not look nice.
How can i achieve this without connecting all fragments to common error fragment.
Can I use wildcard here, any other ways is there?
Please suggest how to achieve this and provide some documents to follow.
Note: The common error should be a fragment or page. Not a popup.
Thanks
- Moahanraj

Hi,
Open the taskflow in diagram view, select the common error page and Mark Activity as Exception Handler.
Now if there is any exception occurs user will be directed to this page.
Use this code for the exception handler, you will see the exception and you can give the required message to the user        <af:form id="f1">
                <af:panelStretchLayout id="psl1">
                    <f:facet name="center">
                        <!-- id="af_one_column_stretched"   -->
                        <af:panelBox text="Ooops...It seems to be small trouble here, please Help us to resolve it for you, contact support with following information." id="pb1"
                                     showDisclosure="false">
                            <f:facet name="toolbar"/>
                            <af:panelFormLayout id="pfl1" labelAlignment="top">
                                <f:facet name="footer"/>
                                <af:inputText label="Error :" id="it1"
                                              value="#{controllerContext.currentViewPort.exceptionData.cause}"
                                              rows="5" columns="130"/>
                                <af:inputText label="Stack Trace" id="it2"
                                              value="#{controllerContext.currentViewPort.exceptionData.stackTrace}"
                                              columns="130" rows="20"/>
                            </af:panelFormLayout>
                        </af:panelBox>
                    </f:facet>
                </af:panelStretchLayout>
            </af:form>Regards,
Lalit
Edited by: Lalit S on 27 May, 2013 3:46 PM

Similar Messages

  • Common error page

    How can I configure my ADF application to catch all errors and redirect to a common error page?

    jdev 11.1.2.1 adf (jpa) we have configured ldap for login. After logging in they see a welcome page. From the welcome page they are edirected to a facilities page that has a jsff fragment, that has a table bound to a listing of facilities.
    In the method that pulls all the states that the facilities are in, the login is verified to see if they had permissions to see all the states or 1 state or no states. If they were not authenticated to see a state, the error is thrown.
    I did not try the JBOException
    But I tried this:
    package gov.samhsa.dasis.common.exceptionHandler;
    import javax.faces.context.FacesContext;
    import javax.faces.event.PhaseId;
    import oracle.adf.view.rich.context.ExceptionHandler;
    public class myCustomExceptionHandler extends ExceptionHandler {
    public myCustomExceptionHandler() {
    super();
    @Override
    public void handleException(FacesContext facesContext, Throwable throwable, PhaseId phaseId) throws Throwable {
    String error_message = throwable.getMessage();
    throw throwable;
    Although since I don't understand the full implication of this I don't know why it is not working. It seems that I should only do this if I wanted to custom handle the exception
    I also tried the bounded task flow you told me to add. It didn't do anything. I also tried a error template and a bouinded task flow based on the template.
    Edited by: veena pandit on Jul 25, 2012 10:28 AM
    Edited by: veena pandit on Jul 25, 2012 10:55 AM

  • How to call common error pages for all the exceptions

    Hi All
    I have created the common ErrorPage in my application. In case of any error whether SQL,IO or JBO I want that error page be displayed. In the page definition I have given the errorpage name and also defined the error page as IS_ERROR_PAGE = true.But it is throwing Jbo exception at the top of the page itself.No redirection to the error page is done.
    Though I have gone through various threads in this forum but still its not clear how to get the things working.
    Can anyone please help me out in this regard?

    Hi,
    I assume you mean that you set the error page in the web.xml file. Note that exceptions are handled first by the JSF framework. Please have a look at the developer guide
    http://download-uk.oracle.com/docs/html/B25947_01/toc.htm
    http://download-uk.oracle.com/docs/html/B25947_01/web_val008.htm#CIHHBEEJ
    Frank

  • How can i set a global error page for all error cod

    how can i set a global error page for all error code?
    i don't want to leave a long list in the web.xml file.could any one help me?
    thanks

    If u have a common Error JSP named as ErrorPage.jsp
    You need to have the following piece of code in the JSP as :
    <%@ page isErrorPage ="true"%>
    This makes it as the Common Error Page for the Application. Now all you need to do is from other JSP's throw the Exception to teh container. The container will redirect to this Page and process accordingly.
    Thanks and regards,
    Pazhanikanthan. P

  • Common Login page across applications

    Hi,
    I have a requirement to define a common Login page for authentication to multiple applications developed using ADF and deployed to my weblogic applications sever.
    Can we do this using ADF Security ?
    I have created a secured application with FORM based authentication. The form and its managed bean is defined in my current application. How can I use same for multiple applications I'm going to develop.
    Can it as a shared library ?
    Thanks,
    Satya

    I created a custom Login page and taskflow with welcome page.
    I want to redirect to taskflow when login is success
    I tried providing the success_url in the code with taskflow details but it fails
    oracle.adfinternal.controller.application.InvokeTaskFlowException: ADFC-02007: A task flow document is not found in the URL.
         at oracle.adfinternal.controller.util.UrlParams.getTaskFlowInfo(UrlParams.java:154)I also set the property of taskflow - visibility; URL Invoke to url-invoke-allowed.
    following is my code results same error.
    String loginUrl = "/adfAuthentication?success_url=/faces/adf.task-flow?adf.tfId=application&adf.tfDoc=/WEB-INF/application.xml";
    request.getRequestDispatcher(loginUrl);
    or
    Map<String, Object> params = new HashMap<String, Object>();
    TaskFlowId tfid = TaskFlowId.parse("/WEB-INF/application.xml#application");
    String url = ControllerContext.getInstance().getTaskFlowURL(true, tfid, params);
    String loginUrl = "/adfAuthentication?success_url="+url;
    request.getRequestDispatcher(loginUrl);Thanks,
    Satya

  • While running hello world program for 12.1.1 getting "Error Page"

    Hi all,
    I am beginner for JDeveloper, I have followed up the instructions given in tutorial documents to install these applications "Tutorials, LabSolutions and Hello World!" but all are giving me this error.
    Error Page
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    I had tried most of the given solutions in this forum , but still I can not find solution for my problem.
    Any help please!
    Regards
    Hesham

    Hi,
    right now I am playing with parameters , reading
    and now i got this error please check if it make sense for you .
    500 Internal Server Error
    oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.     at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)     at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)     at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)     at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)     at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)     at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)     at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)     at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)     at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)     at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)     at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1108)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225)     at OAErrorPage.jspService(_OAErrorPage.java:62)     [OAErrorPage.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)     at test_fwktutorial._jspService(_test__fwktutorial.java:104)     [test_fwktutorial.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.     at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286)     at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027)     at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583)     at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:300)     at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719)     at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2266)     at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2203)     at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2061)     at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1871)     at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1715)     at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1728)     at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)     at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)     at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)     ... 49 moreCaused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Got minus one from a read call     at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1423)     at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1218)     at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1113)     at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1102)     at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:787)     at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228)     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)     at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273)     ... 62 moreCaused by: java.sql.SQLException: Io exception: Got minus one from a read call     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)     at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)     at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)     at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)     at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)     at java.sql.DriverManager.getConnection(DriverManager.java:525)     at java.sql.DriverManager.getConnection(DriverManager.java:140)     at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1410)     ... 72 more
    --------------

  • JSF tags are not rendered in error page

    I have configured error page for HTTP 404 error in web.xml like this
    <error-page>
    <error-code>404</error-code>
    <location>/Common/error.jspx</location>
    </error-page>
    Faces Servlet is configured as follows
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    My error page (error.jspx) looks like this
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <html>
    <head>
    <title>Error Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    </head>
    <body id="b1">
    <h4 style="color:red">An Error Occured. Please click Back button or Signout.</h4>
    <input type="button" value="Back" onclick="history.back()"/>
    <tr:commandButton id="cb1" text="SIGN OUT" action="exit" actionListener="#{Login.LogOut}"/>
    </body>
    </html>
    </jsp:root>
    When I deploy application and run into 404 error, page displays error message with only Back button. I don't see SingOut button. I have checked url and it follows /faces/* pattern. Still to double check, I made a change and configured servlet mapping in web.xml as
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    Still commandButton is not rendered. I understand that my error page don't have access to FacesContext or not going through Faces Servlet. I know this is a small issue, but couldn't figure out what can be done. I have also tried using .xhtml and .jsf as per googled suggestion. But no luck
    I have tried different solutions to my problem and googled for solutions. But I couldn't get it resolved.
    So can you please provide any suggestions...
    Edited by: user1818355 on May 22, 2013 2:29 PM

    I think my faces servlet is configured to handle URLs having /faces/* pattern. I don't have any folder named with faces but I can access all my web pages which have /faces/ in their url. All jspx pages in application are configured in task flows. So I think they have access in FacesContext. But error page is configured in only web.xml and some how it is missing access to FacesContext and not rendering JSF tags. Any help?

  • Global Error page in portal

    Hi
    This is regarding weblogic portal 8.1.
    We have a portal project which contains several portlets. For handling exceptions
    in a page flow we have a global error page at the project root level and each
    portlet redirects to this error page /error.jsp in case of any errors.
    When the user is redirected to this error page the page is displayed in the portlet
    context. How can we make this error page to take up the whole screen and display
    it outside of the portlet context so that all other links within the portal (books
    and pages) are not displayed to the user.
    In all cases, the redirection to the error page occurs from a page flow.
    Thanks in advance,
    Sameer

    Also, you could do this:
    * @jpf:catch type="Exception" method="handleAllExceptions"
    * @jpf:exception-handler
    * @jpf:forward name="errorPage" path="/error.jsp" redirect="true"
    protected Forward handleAllExceptions( Exception e, String actionName,
    String message, FormData form )
    return new Forward( "errorPage" );
    In this case, handleAllExceptions() will redirect to the error page, which
    will bring you out of the portal.
    Rich
    "Subbu Allamaraju" <subbuATbeaDOTcom> wrote in message
    news:3f4cdefa$[email protected]..
    Sameer,
    The portal rendering framework renders the error page inside portlet
    windows to address the most common scenario, where failure in a given
    portlet won't stop users from interacting with other portlets.
    Here are the options you've to address your use case:
    - Handle the exception in the pageflow itself, and do a sendRedirect()
    to the error page. This would bypass rendering of other portlets, and
    user will be redirected to the error page.
    - If the source of the exception is the JSP, you'll have to add some
    javascript in the error page to do a redirect or, better yet, replace
    the markup.
    Subbu
    Sameer Dalal wrote:
    Hi
    This is regarding weblogic portal 8.1.
    We have a portal project which contains several portlets. For handling
    exceptions
    in a page flow we have a global error page at the project root level andeach
    portlet redirects to this error page /error.jsp in case of any errors.
    When the user is redirected to this error page the page is displayed inthe portlet
    context. How can we make this error page to take up the whole screen anddisplay
    it outside of the portlet context so that all other links within theportal (books
    and pages) are not displayed to the user.
    In all cases, the redirection to the error page occurs from a page flow.
    Thanks in advance,
    Sameer

  • Direct  control to error page

    Hi everyone,
    I have a web application, in case if the link to a particular jsp is wrong then the server displays a page showing the message that page cud not be found and it also displays a link showing the server ip with the message that "please contact your system administratot".Say if I dont want that page to be displayed but an error page of my own.For a common eoor we usually have an entry in our web.xml but what should i do for such an error.I am using Tomcat.

    Hi,
    I understand you are trying to customize a standard page flow instead of A->B->C, you want to make it
    A->C,
    You have to extend the A's Controller and get the handle of the "Add Button" and transfer the page to 3rd page.
    Decompile the 2nd page controller and check what the standard code is doing for the event 'Find Button' click.
    You have to replicate the same.
    But this could give some error, since the third page might expect some parameters which was passed from 2nd page.
    You have to try and check.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • SAP Knowledge Warehouse - Error Page

    Hello all. I'm want to use Knowledge Warehouse in web browser. Go to http://172.18.77.08:50000/SAPIKS2/jsp/adminShow.jsp and view :
    An error occurred during processing of your request
    Most common causes: Requested URL is wrong or incomplete; Requested content does not exist in the underlying backend system; Connection to the underlying backend system is incorrectly configured; User is working in the wrong context.
    Contact the support service or try again later
    Server Time: 6 Jun 2007 13:25
    Request URL: http://portal:50000/SAPIKS2/jsp/adminShow.jsp
    KW Context: TMP_IWB_TASK=DISPLAY RELEASE=700 LANGUAGE=EN
    HTTP Error Code: 404
    Servlet Name: jsp
    Servlet Message: The requested resource /SAPIKS2/jsp/adminShow.jsp is not available
    Can any body help me?

    Hello  Stefan Hewener! thanks for reply. I'm trying this URL http://172.18.77.08:50000/SAPIKS2/testApplConfigParams.sap and Configure the KW settings, but when i'm try Home page for KW http://172.18.77.08:50000/SAPIKS2/topNavigation.sap
    i'm view
    SAP Knowledge Warehouse - Error Page
    An error occurred during processing of your request
    Most common causes: Requested URL is wrong or incomplete; Requested content does not exist in the underlying backend system; Connection to the underlying backend system is incorrectly configured; User is working in the wrong context.
    Contact the support service or try again later
    Server Time:     14 Jun 2007 11:35
    Request URL:     http://172.18.77.08:50000/SAPIKS2/topNavigation.sap
    KW Context:     TMP_IWB_TASK=DISPLAY  RELEASE=700  LANGUAGE=EN 
    HTTP Error Code:     500
    Servlet Name:     FrontController
    Servlet Message:     Object does not exist.
    Java stack trace:     Object does not exist.
    java.lang.IllegalArgumentException
    at com.sap.kw.access.KwGetData.hasAuthority(KwGetData.java:3178)
    at com.sap.kw.access.KwShell.hasAuthority(KwShell.java:3467)
    at com.sap.kw.access.KwShell.addUser(KwShell.java:273)
    at com.sap.kw.actions.AuthenticationFilter.doFilter(AuthenticationFilter.java:206)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:Unknown)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Please if you know that me to do, help me.
    Thanks And Regards!  Sergo Beradze.

  • Define global error page on global-web.xml

    Dear fellows:
    We want to create a common 404 web error page for all our J2EE applications. We have added these error pages to the global-web.xml through the Visual Administrator:
      on several  system local folders such as:
    usrsap<SID><j2ee-instance>j2eecluster
    usrsap<SID><j2ee-instance>j2eecluster<server-inst>
    usrsap<SID><j2ee-instance>j2eecluster<server-inst>apps
    usrsap<SID><j2ee-instance>j2eecluster<server-inst>sap.com
    However, everytime we provoke the server error in order to retreive this Global Error Web Page, the system does not seem to find our custom error page, giving the following message:
    The request can’t be processed.
    Details: Requested resource ( /testerrorpage.html ) not found.
    We have discovered that the application was not trying to look up for our web Error page, but for another one located inside the application. However, we don't want to add a specific application web page but a global one common for all of them.
    Since there is not any common folder, such as global/root folder, we don’t know where the custom error page should be placed. Do we need to do something else?
    We are currently using WAS: 6.40 SP 11 PatchLevel 89291.313.
    Does anyone know how to configure this global error page? It is possible to do it?
    Thank you
    Gonzalo
    Message was edited by: Gonzalo Pérez-Prim

    Hello,
    Yes, Uvaylo is right, the only way to edit the content of the global-web.xml is through the visual administrator --> Configuration Adapter.
    I have the same problem as Gonzalo, I have modified the global-web.xml and added custom errors pages for each HTTP error and exceptions. The big deal is when I try to specify in the <b>location</b> field of <b>error-page</b> item: I dont know where I should place my custom error page. I have tried the same paths as Gonzalo did with the same result, when the error event is raised the error page is not found. In the log appears the following entry:
    Processing an http request by the error page [/testerrorpage.html] finished with errors.
    Probably the exception [com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException:
    Requested resource ( /custom_error.html ) not found.]
    thrown by the requested servlet [/testerrorpage.html] cannot be processed.
    The error is: com.sap.engine.services.servlets_jsp.server.exc
    Please help! Where can I place my custom error pages, to make them available for all the applications of the server?
    Thanks in advance for your help!

  • Displaying JSP error page in tomcat 5.5.7

    I'm using tomcat 5.5.7 with JDK1.4.1. I've created these 2 JSPs:
    index.jsp:
    <html>
    <title>Jsp</title>
    <body>
    <%@page errorPage="/error.jsp"%>
    Trying to write some error
    <% String butt = request.getParameter("butt");
    if (butt!=null )
       int p = 4/0;
    }%>
    <form method="post">
    <input type="submit" name="butt" value="head">
    </form></body></html> error.jsp:
    <html>
    <title>Jsp</title>
    <body>
    <%@ page isErrorPage="true" %>
    Error Body
    </body></html> When I run this JSP, and try to get the error page, I get internal
    server error page, insteaof of error.jsp.
    The error_jsp.java file has the following lines:
    Throwable exception =
    org.apache.jasper.runtime.JspRuntimeLibrary.getThrowable
    (request);
    if (exception != null) {
    response.setStatus
    (HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
    } I tried to run these same files in Tomcat 4.1, and they work fine.
    What my be the problem? How can I have my error page be displayed?

    Hi,
    I do use Tomcat with the compatibility package (jmx.jar under $CATALINA_HOME/bin and xercesImpl.jar under $CATALINA_HOME/common/endorsed).
    I've put a System.out.println in the error.jsp, and it was printed to the stdout.log.
    Nothing else was printed to the log.
    I also tried removing the isErrorPage="true" from the error page, and I got it displayed (when the error occured). But of course that way I would not have any exception object....

  • Display well formatted html error page; how to

    I'm using Django for my backend and mostly getting XML responses to my HttpService requests.  However when I get an error on the backend, The message in the fault event is relatively useless.  To debug I have to copy the request string from the alert window and post it in a separate browser window to see the error traceback.
    I'm using Django on the backend which gives a very nicely formatted error page but I cannot see that from Flex.  I would like to detect the error and open a new browser window/tab and display the "pretty" info.  Below is a snippet of what i'm doing now:
                public  function AssessmentActionServiceFaultHandler(event:FaultEvent):void {
                    Alert.show("FAULT "+event.message);
    and I see something like this:
    getUser failed (mx.messaging.messages::ErrorMessage)#0
      body = ""
      clientId = "DirectHTTPChannel0"
      correlationId = "4451F459-39AD-F687-87A6-FCBD2AD9BC11"
      destination = ""
      extendedData = (null)
      faultCode = "Server.Error.Request"
      faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:37813/django/mds30/app/getuser/?hostport=localhost:7777&https=N&id=4451F4 59-39AD-F687-87A6-FCBD2AD9BC11"]. URL: http://localhost:7777/django/mds30/app/getuser/"
      faultString = "HTTP request error"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "F6075BBF-2CAE-0FCC-BDB7-FCBD32C34E2B"
      rootCause = (flash.events::IOErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = ""
          dataFormat = "text"
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2032: Stream Error. URL: http://localhost:37813/django/mds30/app/getuser/?hostport=localhost:7777&https=N&id=4451F4 59-39AD-F687-87A6-FCBD2AD9BC11"
        type = "ioError"
      timestamp = 0
      timeToLive = 0
    ------------------while a normal web page displays something like this----------------------------------------------
    instance at /django/mds30/app/getuser/
    Deprecated String Exception: 'error demo'
    Request Method:
    GET
    Request URL:
    http://localhost:7777/django/mds30/app/getuser/
    Django Version:
    1.2.1
    Exception Type:
    instance
    Exception Value:
    Deprecated String Exception: 'error demo'
    Exception Location:
    C:\all\projects\AccMDS30Server\mds30\app\views.py in getuser,  line 87
    Python Executable:
    c:\alltools\python\python.exe
    Python Version:
    2.4.0
    Python Path:
    ['C:\\all\\projects\\AccMDS30Server\\mds30',  'c:\\alltools\\python\\lib\\site-packages\\mysql_python-1.2.2-py2.4-win32.egg',  'c:\\alltools\\python\\lib\\site-packages\\fdfgen-0.9.1-py2.4.egg',  'C:\\all\\projects\\AccMDS30Server',  'C:\\all\\projects\\AccMDS30Server\\mds30', 'c:\\alltools\\python',  'c:\\alltools\\python\\DLLs', 'c:\\alltools\\python\\lib',  'c:\\alltools\\python\\lib\\lib-tk',  'c:\\alltools\\python\\lib\\plat-win',  'c:\\alltools\\python\\lib\\site-packages',  'C:\\Windows\\system32\\python24.zip', 'C:\\alltools\\eclipse with  PyDev']
    Server time:
    Fri, 10 Sep 2010 13:44:06 -0400
    Traceback Switch to copy-and-paste view
    c:\alltools\python\Lib\site-packages\django\core\handlers\base.py in get_response
    # Apply view middleware
    for  middleware_method in self._view_middleware:
    response = middleware_method(request, callback, callback_args,  callback_kwargs)
    if response:
    return response
    try:
    response = callback(request, *callback_args, **callback_kwargs) ...
    except  Exception, e:
    # If the view raised an exception, run it through  exception
    # middleware, and if the exception middleware returns a
    #  response, use that. Otherwise, reraise the exception.
    for  middleware_method in self._exception_middleware:
    response = middleware_method(request, e)
    ▶ Local vars
    Variable Value
    callback
    <function getuser at  0x033C69F0>
    callback_args
    callback_kwargs
    exc_info
    ('error demo', None,  <traceback object at 0x033C0918>)
    exceptions
    <module  'django.core.exceptions' from  'c:\alltools\python\lib\site-packages\django\core\exceptions.pyc'>
    middleware_method
    <bound method  MessageMiddleware.process_request of  <django.contrib.messages.middleware.MessageMiddleware object at  0x031ED210>>
    receivers
    [(<function  _rollback_on_exception at 0x028EFB70>, None)]
    request
    <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '352717811d57a59ad433e3d1e5f4f1d6'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData',  'APPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Roaming',  'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',  'COMPUTERNAME': 'NB-FRSELLS',  'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',  'CONTENT_LENGTH': '',  'CONTENT_TYPE': 'text/plain',  'CVSROOT': ':pserver:[email protected]:/cvs',  'DJANGO_SETTINGS_MODULE': 'mds30.settings',  'FP_NO_HOST_CHECK': 'NO',  'GATEWAY_INTERFACE': 'CGI/1.1',  'HOMEDRIVE': 'C:',  'HOMEPATH': '\\Users\\frsells.ADVENTISTCARE',  'HTTP_ACCEPT':  'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',  'HTTP_ACCEPT_ENCODING': 'gzip,deflate',  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',  'HTTP_CACHE_CONTROL': 'max-age=0',  'HTTP_CONNECTION': 'keep-alive',  'HTTP_COOKIE': 'sessionid=352717811d57a59ad433e3d1e5f4f1d6',  'HTTP_HOST': 'localhost:7777',  'HTTP_KEEP_ALIVE': '115',  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;  rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6',  'JAVA_HOME': 'c:\\alltools\\jdk5',  'LOCALAPPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Local',  'LOGONSERVER': '\\\\ACCVDC03',  'NUMBER_OF_PROCESSORS': '4',  'OS': 'Windows_NT',  'PATH':  'c:/alltools/jdk5/bin/../jre/bin/client;c:/alltools/jdk5/bin/../jre/bin;C:\\Program  Files  (x86)\\NetworkSimplicity\\ssh;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wb em;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program  Files\\Intel\\DMIX;C:\\Program Files (x86)\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\Wave Systems  Corp\\Gemalto\\Access Client\\v5\\;C:\\Program Files (x86)\\Common  Files\\Roxio Shared\\DLLShared\\;C:\\Program Files (x86)\\Common  Files\\Roxio  Shared\\10.0\\DLLShared\\;c:\\alltools\\jdk5\\bin;c:\\alltools\\python;c:\\alltools\\pyth on\\scripts;c:\\alltools\\ant;c:\\alltools\\bin;C:\\Program  Files\\MySQL\\MySQL Server  5.0\\bin;C:\\all\\scripts;C:\\alltools\\ant\\bin',  'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',  'PATH_INFO': u'/django/mds30/app/getuser/',  'PROCESSOR_ARCHITECTURE': 'x86',  'PROCESSOR_ARCHITEW6432': 'AMD64',  'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 23 Stepping 10,  GenuineIntel',  'PROCESSOR_LEVEL': '6',  'PROCESSOR_REVISION': '170a',  'PROGRAMDATA': 'C:\\ProgramData',  'PROGRAMFILES': 'C:\\Program Files (x86)',  'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',  'PROGRAMW6432': 'C:\\Program Files',  'PROMPT': '$P$G',  'PSMODULEPATH':  'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',  'PUBLIC': 'C:\\Users\\Public',  'PYDEV_COMPLETER_PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc',  'PYDEV_CONSOLE_ENCODING': 'Cp1252',  'PYTHONIOENCODING': 'Cp1252',  'PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc\\pydev_sitecustomize;C:\\all\\pr ojects\\AccMDS30Server;C:\\all\\projects\\AccMDS30Server\\mds30;c:\\alltools\\python;c:\\a lltools\\python\\DLLs;c:\\alltools\\python\\lib;c:\\alltools\\python\\lib\\lib-tk;c:\\allt ools\\python\\lib\\plat-win;c:\\alltools\\python\\lib\\site-packages',   'QUERY_STRING': '',  'REMOTE_ADDR': '127.0.0.1',  'REMOTE_HOST': '',  'REQUEST_METHOD': 'GET',  'ROXIOCENTRAL': 'C:\\Program Files (x86)\\Common Files\\Roxio  Shared\\10.0\\Roxio Central36\\',  'RUN_MAIN': 'true',  'SCRIPT_NAME': u'',  'SERVER_NAME': 'NB-FRSELLS.adventistcare.net',  'SERVER_PORT': '7777',  'SERVER_PROTOCOL': 'HTTP/1.1',  'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4',  'SESSIONNAME': 'Console',  'SYSTEMDRIVE': 'C:',  'SYSTEMROOT': 'C:\\Windows',  'TEMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'TMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'USERDNSDOMAIN': 'ADVENTISTCARE.NET',  'USERDOMAIN': 'ADVENTISTCARE',  'USERNAME': 'frsells',  'USERPROFILE': 'C:\\Users\\frsells.ADVENTISTCARE',  'VS100COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio  10.0\\Common7\\Tools\\',  'WINDIR': 'C:\\Windows',  'wsgi.errors': <open file '<stderr>', mode 'w' at  0x0037E0B0>,  'wsgi.file_wrapper': <class  'django.core.servers.basehttp.FileWrapper'>,  'wsgi.input': <socket._fileobject object at 0x02A8ECE0>,  'wsgi.multiprocess': False,  'wsgi.multithread': True,  'wsgi.run_once': False,  'wsgi.url_scheme': 'http',  'wsgi.version': (1, 0)}>
    resolver
    <RegexURLResolver  mds30.urls (None:None) ^/>
    response
    None
    self
    <django.core.handlers.wsgi.WSGIHandler  object at 0x028C7590>
    settings
    <django.conf.LazySettings  object at 0x024F6710>
    urlconf
    'mds30.urls'
    urlresolvers
    <module  'django.core.urlresolvers' from  'c:\alltools\python\lib\site-packages\django\core\urlresolvers.pyc'>
    C:\all\projects\AccMDS30Server\mds30\app\views.py in getuser
    temp += '<p>GET.META["REMOTE_ADDR"]=' +  str(request.META['REMOTE_ADDR'])
    #temp += '<p>GET.META["USERNAME"]=' +  str(request.META['USERNAME'])
    #temp += '<p>GET.META["SESSIONNAME"]=' +  str(request.META['SESSIONNAME'])
    temp += '<p>GET.META=' + str(request.META)
    return  HttpResponse("Hello, You are using the MDS 3.0 web service from %s" %  temp)
    def getuser(request,  *args, **kwargs):
    raise 'error demo' ...
    sessionid =  getACCSessionId(request)
    user = security.getUser(sessionid)
    if user==None:
    values =  {'Error':sessionid, 'user':str(user)}
    else:
    values =  user.__dict__.copy()
    ▶ Local vars
    Variable Value
    args
    kwargs
    request
    <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '352717811d57a59ad433e3d1e5f4f1d6'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData',  'APPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Roaming',  'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',  'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',  'COMPUTERNAME': 'NB-FRSELLS',  'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',  'CONTENT_LENGTH': '',  'CONTENT_TYPE': 'text/plain',  'CVSROOT': ':pserver:[email protected]:/cvs',  'DJANGO_SETTINGS_MODULE': 'mds30.settings',  'FP_NO_HOST_CHECK': 'NO',  'GATEWAY_INTERFACE': 'CGI/1.1',  'HOMEDRIVE': 'C:',  'HOMEPATH': '\\Users\\frsells.ADVENTISTCARE',  'HTTP_ACCEPT':  'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',  'HTTP_ACCEPT_ENCODING': 'gzip,deflate',  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',  'HTTP_CACHE_CONTROL': 'max-age=0',  'HTTP_CONNECTION': 'keep-alive',  'HTTP_COOKIE': 'sessionid=352717811d57a59ad433e3d1e5f4f1d6',  'HTTP_HOST': 'localhost:7777',  'HTTP_KEEP_ALIVE': '115',  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;  rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6',  'JAVA_HOME': 'c:\\alltools\\jdk5',  'LOCALAPPDATA': 'C:\\Users\\frsells.ADVENTISTCARE\\AppData\\Local',  'LOGONSERVER': '\\\\ACCVDC03',  'NUMBER_OF_PROCESSORS': '4',  'OS': 'Windows_NT',  'PATH':  'c:/alltools/jdk5/bin/../jre/bin/client;c:/alltools/jdk5/bin/../jre/bin;C:\\Program  Files  (x86)\\NetworkSimplicity\\ssh;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wb em;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program  Files\\Intel\\DMIX;C:\\Program Files (x86)\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\NTRU Cryptosystems\\NTRU  TCG Software Stack\\bin\\;C:\\Program Files\\Wave Systems  Corp\\Gemalto\\Access Client\\v5\\;C:\\Program Files (x86)\\Common  Files\\Roxio Shared\\DLLShared\\;C:\\Program Files (x86)\\Common  Files\\Roxio  Shared\\10.0\\DLLShared\\;c:\\alltools\\jdk5\\bin;c:\\alltools\\python;c:\\alltools\\pyth on\\scripts;c:\\alltools\\ant;c:\\alltools\\bin;C:\\Program  Files\\MySQL\\MySQL Server  5.0\\bin;C:\\all\\scripts;C:\\alltools\\ant\\bin',  'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',  'PATH_INFO': u'/django/mds30/app/getuser/',  'PROCESSOR_ARCHITECTURE': 'x86',  'PROCESSOR_ARCHITEW6432': 'AMD64',  'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 23 Stepping 10,  GenuineIntel',  'PROCESSOR_LEVEL': '6',  'PROCESSOR_REVISION': '170a',  'PROGRAMDATA': 'C:\\ProgramData',  'PROGRAMFILES': 'C:\\Program Files (x86)',  'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',  'PROGRAMW6432': 'C:\\Program Files',  'PROMPT': '$P$G',  'PSMODULEPATH':  'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',  'PUBLIC': 'C:\\Users\\Public',  'PYDEV_COMPLETER_PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc',  'PYDEV_CONSOLE_ENCODING': 'Cp1252',  'PYTHONIOENCODING': 'Cp1252',  'PYTHONPATH': 'C:\\alltools\\eclipse with  PyDev\\plugins\\org.python.pydev_1.6.1.2010080312\\PySrc\\pydev_sitecustomize;C:\\all\\pr ojects\\AccMDS30Server;C:\\all\\projects\\AccMDS30Server\\mds30;c:\\alltools\\python;c:\\a lltools\\python\\DLLs;c:\\alltools\\python\\lib;c:\\alltools\\python\\lib\\lib-tk;c:\\allt ools\\python\\lib\\plat-win;c:\\alltools\\python\\lib\\site-packages',   'QUERY_STRING': '',  'REMOTE_ADDR': '127.0.0.1',  'REMOTE_HOST': '',  'REQUEST_METHOD': 'GET',  'ROXIOCENTRAL': 'C:\\Program Files (x86)\\Common Files\\Roxio  Shared\\10.0\\Roxio Central36\\',  'RUN_MAIN': 'true',  'SCRIPT_NAME': u'',  'SERVER_NAME': 'NB-FRSELLS.adventistcare.net',  'SERVER_PORT': '7777',  'SERVER_PROTOCOL': 'HTTP/1.1',  'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4',  'SESSIONNAME': 'Console',  'SYSTEMDRIVE': 'C:',  'SYSTEMROOT': 'C:\\Windows',  'TEMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'TMP': 'C:\\Users\\FRSELL~1.ADV\\AppData\\Local\\Temp',  'USERDNSDOMAIN': 'ADVENTISTCARE.NET',  'USERDOMAIN': 'ADVENTISTCARE',  'USERNAME': 'frsells',  'USERPROFILE': 'C:\\Users\\frsells.ADVENTISTCARE',  'VS100COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio  10.0\\Common7\\Tools\\',  'WINDIR': 'C:\\Windows',  'wsgi.errors': <open file '<stderr>', mode 'w' at  0x0037E0B0>,  'wsgi.file_wrapper': <class  'django.core.servers.basehttp.FileWrapper'>,  'wsgi.input': <socket._fileobject object at 0x02A8ECE0>,  'wsgi.multiprocess': False,  'wsgi.multithread': True,  'wsgi.run_once': False,  'wsgi.url_scheme': 'http',  'wsgi.version': (1, 0)}>
    Environment:  Request  Method: GET Request URL: http://localhost:7777/django/mds30/app/getuser/ Django Version: 1.2.1 Python Version: 2.4.0 Installed Applications: ['django.contrib.contenttypes',  'django.contrib.sessions',  'django.contrib.sites',  'django.contrib.messages',  'mds30.app'] Installed Middleware: ('django.middleware.common.CommonMiddleware',  'django.contrib.sessions.middleware.SessionMiddleware',  'django.contrib.messages.middleware.MessageMiddleware')   Traceback: File "c:\alltools\python\Lib\site-packages\django\core\handlers\base.py"  in get_response   100.                     response = callback(request, *callback_args,  **callback_kwargs) File "C:\all\projects\AccMDS30Server\mds30\app\views.py" in getuser   87.     raise 'error demo'  Exception Type: instance at /django/mds30/app/getuser/ Exception Value: Deprecated String Exception: 'error demo'  
    Request information
    GET
    No GET data
    POST
    No POST data
    FILES
    No FILES data
    COOKIES
    Variable Value
    sessionid
    '352717811d57a59ad433e3d1e5f4f1d6'
    META

    I came up with an ugly solution.  I save the last url and then resend it if a fault is detected.  probably not a good thing in production, but I'm still developing.  here's the code
        public  function AssessmentActionServiceFaultHandler(event:FaultEvent):void {
                    Globals.log("command FAILED "+event.message);   
                    Globals.hideBusyDialog();
                    //Alert.show("FAULT "+event.message);
                    navigateToURL(new URLRequest( LastURL), "_blank" );

  • Why do I get an error page when I select Toolkit for CreateJS? I am using CS6 Flash Pro.

    Why do I get an error page when I select Toolkit for CreateJS? I am using CS6 Flash Pro.

    hello Mac.INXS, please [[Clear the cache - Delete temporary Internet files to fix common website issues|clear the cache]] & [[Delete cookies to remove the information websites have stored on your computer|cookies from mozilla.org]] and then try logging into AMO again.

  • Error page and displayed exception

    Ok. I have been informed by my security department that they would be happier if we could get rid of the error page that shows the exception to the users. If you mess with the common opener and give it a parameter that it dosen't like. Something like http://Portalname.portal.com/portal/server.pt?open=512&objID=317&mode=6&in_hi_userid=202&cached=true will show an error with the exception below it. The exception looks like it should be commented out, but it actually shows for me. I want first off to make the error not display, but we also want to get the exception off of the source, but I can go one step at a time.
    Does anybody know if this is a setting I can turn off or if I will have to cutomize some activity space. If so which one?
    Thanks all,
    Berney

    The exception actually shows in the browser? I have never seen that before. Typically the exception is put on the page as an html comment so you can see it by doing view source. I have worked on many portals and have never seen the exception show on IE or Firefox. What browser are you using?
    The answer to your question is yes you can get the exception off the source. In the portalconfig.xml, change the following setting:
    <setting name="PerformanceComments">
    <value xsi:type="xsd:integer">0</value>
    </setting>
    By default, the setting is 1, but if you change it to 0 the stacktrace will not be included in the source. As for not showing an error page at all, that would take some customization. What else would you want it to do? When you pass invalid parameters, some sort of error or message has to be shown that the url is incorrect.
    Hope this helps.

Maybe you are looking for

  • Issue in opening oracle database

    I am able to open database via SQL> startup upgrade ORACLE instance started. Total System Global Area 1252663296 bytes Fixed Size 2212936 bytes Variable Size 1107299256 bytes Database Buffers 134217728 bytes Redo Buffers 8933376 bytes Database mounte

  • DVD Player crashes after drive change

    Hi everyone, For the last 6 months or so, I've had my ThinkPad T23's Combo drive installed in my Pismo. It's a Matshita UJDA720 DVD/CD-RW that came with the ThinkPad originally, but has recently failed. I took the drive out and reinstalled the Pismo'

  • Flash Player Security Settings per your D:/ drive...

    Hi, For anyone who read my post earlier in the day, I apologize for the redundancy; this is a new issue for me. I've been working on an e-learning product using Flash Builder; it was developed to be web-based, but the client has changed the requireme

  • AFS ARUN Size Substitution Not Working As Expected

    Hi All, I need help with this. If any one of you have worked with AFS ARUN size substitution, kindly provide me with some details on how can I set it up. I am specially interested in setting up size substitution with two-dimensional grids. I have set

  • Uploading a File with AppleScript via JavaScript

    Hi everybody, being new to AppleScripting and JavaScripting I'm faced with the following problem: Is it possible to make AppleScript to input the path for a file to be uploaded via JavaScript? If yes, what should be the correct Path Format and how to