Global error page for portal project

Hi
This is regarding weblogic 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

Sameer,
Please post this question to the weblogic.developer.interest.portal
newsgroup.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Sameer Dalal" <[email protected]> wrote in message
news:3f4bd37f$[email protected]..
>
Hi
This is regarding weblogic 8.1.
We have a portal project which contains several portlets. For handlingexceptions
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

Similar Messages

  • 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

  • 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

  • Error handbook for Portal

    Hello experts,
    as I´m new to SAP NetWaever technology (in my case SAP Portal) and administration/monitoring issues I´m looking for an Error Handbook describing the most critical or the most common errors within a portal (based on Java AS).
    I hope, there is something like a "book of recipes" for solving common and critical errors...
    Additionally I would like to know if there is a tool which can analyze statistically errors... that means which can display a graph showing the distribution of errors depending of their category.
    This would be a great option to get an overview over the error area...
    I know about Visual Admin, NWA. However, what other possibilities do I have to prepare myself for the job of an administrator.
    How can I learn to monitor the system landscape and to take the right decision in case of error.
    Thanks in advane.
    Thomas

    Sameer,
    Please post this question to the weblogic.developer.interest.portal
    newsgroup.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Sameer Dalal" <[email protected]> wrote in message
    news:3f4bd37f$[email protected]..
    >
    Hi
    This is regarding weblogic 8.1.
    We have a portal project which contains several portlets. For handlingexceptions
    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

  • Global error page - compatible with partial page rendering

    My global error page doesn't show in some isolated cases. Could this be because of partial page rendering? What changes might be needed to have it work in all cases?
    I have created a global error page and set it in the web.xml with:
    <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>pages/htmlErrorPage.html</location>
    </error-page>
    This displays the htmlErrorPage when errors occur in nearly all my tested cases. However, when the test error is created inside one page redraw I find that the application dies without ever displaying my error page. On the console I get an error message that starts with:
    Jun 13, 2008 12:54:11 PM oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer encodeAll
    SEVERE: Error during partial-page rendering
    javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'com.softrek.adf.view.managed.JFreeChartPlotter'.. class com.softrek.adf.view.managed.JFreeChartPlotter : java.lang.NullPointerException
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
    But my error page doesn' t show up. I've used the identical test error in most other parts of my application and it shows - so other than the partial page rendering going on, I can't see why this case would be different.
    Is there any known bug (or feature) about the use of an error page during partial page rendering?
    Any ideas will be welcome.

    I'm unclear on how I would get the error to redirect.
    I've changed my web.xml to go to a servlet of my creation, set up the mapping and all.
    It works fine for exceptions generated in a backing bean normally.
    When the exception occurs as part of partial page rendering the error servlet is not called and the user's session dies.
    This is being done in JDeveloper 10.1.3.3
    The new web.xml contains:
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/servlet/errorAction</location>
    </error-page>
    Which is working for errors generated under most circumstances but not when they are inside my partial page change.
    How do I get errors to go to my error page when the error occurred during PPR?
    PS. Using the PartialPageUtils.isPartialRequest() method generated a recursive error in my error servlet. This looks like the known limitation for Faces error handling.

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

  • Global Error Page

    <error-page>
    <exception>java.sql.Exception</exception>
    <location>/19/sqlException.jsp</location>
    </error-page>
    can i do this in java studio creator
    or i have ttry catch and return "something" and reference that "something" in my navigation??
    will it redirect to the global error page if i catch the exception in the block and never throw?
    Thanks

    Yes, you can do this. Go to the "Files" view of the project and edit the web.xml. There you would see some exceptions are already caught and handled. You can add your specific exception there.
    - Winston
    http://blogs.sun.com/winston

  • Customize error-pages in portal

    Hello!
    How to customize error-pages (e.g. error 500, 404, 403...) in an application
    running within the portal (e.g. BEx Web Analyzer) ?
    Via the visual administrator it is possible to customize error-pages for
    a single applications (=> Server => Services => Web Container => choose an
    application => Btn. View => Tab. Pages => Tab. Error Pages)
    - but how to costomize all error-pages for all applications running within the portal ?
    Greetings
    Frank Ruggaber

    Hi madhvika,
    One way you can modify the standard error msgs is using Custom Error msgs which you can define in the web.xml deployment descriptor of your application.
    (/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-infweb.xml):
    Check [custom error pages|http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    you can use the first method - Error msgs mapped to error codes.You can create your own static html and write your own customised error msg in that instead of the usual 404 error : Resource not found.
    I think the standard error msgs are not stored in portal...not sure though.I think they are defined in the J2EE engine as parameters.Have to chek on that once.
    Or probably if u have KM installed then these error msgs can be directed to a file stored in KM and the respective msg can be displayed.....again storing as static html.
    Reward points if useful.
    Cheers,
    Abhishek
    P.S: How are you?

  • How to create a global error page?

    I created a small application, for which I need a global error page. I know how to navigate through the jsp page through iserrorpage and errorpage. And I'm getting the error page. When I have any error in my servlet I'm not getting the error page displayed. So I need a global error page. Can anyone help on this?
    Thanks.

    Please do not crosspost the same question over all places. It is rude in terms of netiquette.

  • "returning error page for JRun too busy or out of memory"

    Hello,
    I've got some trouble to update a ColdFusion linux based.
    We have already tried to update from ASPB11-04 and ASPB11-14 but we always have the folloing erreor message :
    "returning error page for JRun too busy or out of memory"
    We really need a solution ASAP. Thanks!
    Jeff

    Can you share the exception and application logs having the error entries.
    Regards,
    Anit Kumar

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

  • Issue in Global home page in  portal.

    Hi All
         I had one global home page in itranet portal  I had few country tabs  like India,US,UK etc.. like that for to select specific country ,here my requirement is if the end user didnt select any country but by default  it has to be Visible with India country
    for Indians
        Suppose if the US people access that intranet portal  by default it has to open with US country with out selecting the tab,if they want to choose other country then they will choose the countries.how can I maintain the cookies or any other way is there for to fix this requirement.
          If any body have the solution please let me know .
    Thanks
    Renu

    Hi Renu,
      Are you talking only about content (roles, worksets, iviews, etc.) or are you also saying that you need to provide a unique desktop layout (theme, branding, etc.) for users of different nationalities?
      If all you want to do is provide unique content, the problem sounds rather easy and could be addressed by simply grouping your users in the UME such that all Americans share a common group, Indians share another, Germans share yet another, etc. Obviously this calls for an extra step when creating this user whereby the Admin must know the country of origin of this user before creating their ID... but that doesn't seem like too much to ask. Once these groups are established, you assign the content you want for each nationality to each respecitve group and you've achieved your goal.
      Alternatively, if you're also looking to deliver a unique appearance (theme, branding images, etc.) for different nationalities, then you can still use the same approach mentioned above of grouping users in the UME but you'd now want to create additional desktops in the PCD and modify the Portal's Display Rules to assign a unique desktop to each nationality based on group membership.
      Here's some sample documentation that discusses Display Rules:
    http://help.sap.com/saphelp_nw04s/helpdata/en/4b/29cf122f414721964269e1b675d62c/content.htm
    -Kevin

  • CQ5 Multiple custom 404 error pages for multiple sites

    HI,
    I have multiple sites, and I would like to set up a different 404 page for each of my sites
    Someone already faced this problem? How I can accomplish this?
    Or there is a way to do via the dispatcher and create a static 404 error HTML page each time I publish a site?
    Thank You
    Adolfo

    Currently the most effective way to do what you're asking is to set up your 404.jsp to include the content of a site specific 404.
    There was a conversation about this here;
    http://dev.day.com/discussion-groups/content/lists/cq-google/2010-02/2010-02-11__day_commu nique_Sling_error_pages_zambak.html
    -jason

  • How do I create custom HTTP Error Pages for a Weblogic Server

    I need to be able to display custom HTTP error pages such as a 404 from my Weblogic
    Server when my web application is not deployed.
    Is this possible?
    I have seen some suggestions about putting something like:
    <error-page>
    <error-code>404</error-code>
    <location>Error404.jsp</location>
    </error-page>
    in the web.xml for my web application but I can't see how that would work since
    the web application would not be deployed. I need to set these messages at the
    server level.
    Any help would be appreciated!
    thanks

    Your CategoryAxis id="ha_ccm" uses categoryField="period", and this is the label for the your series (i.e. "Quarter 4/2010"). You cannot have multiple categoryFields for the CategoryAxis; it can only use one data field for the labels. You can use data tips and/or label functions to show the individual series' values on the columns.
    Also:
    Your labelField in the ColumnSeries are set to a ColumnSet name instead of a field name in your dataprovider.
    Font must be embedded if you set ColumnChart.showLabelVertically="true".

Maybe you are looking for