Handling faults -- error pages

We have a web service that, when run under local OC4J, returns the following
<soapenv:Fault>
<faultcode>Client</faultcode>
<faultstring>Invalid parameter</faultstring>
<detail>
<string>
<errorcode>E_InvalidParameter</errorcode>
<description>&lt;GetFacilityByStateIdASDFASDF&amp;gt; is not a valid query name.</description>
</string>
</detail>
</soapenv:Fault>
But when we run the same thing on 9iAS 9.0.2, we get the following, with our own baseline HTML error page included:
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">
ns1:HTTP</faultcode>
<faultstring>(502)Bad Gateway</faultstring>
<detail>
<string>return code: 502
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"><META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>DNR Information Alert</TITLE></HEAD>
<BODY TEXT="black" BGCOLOR="white"><P><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="620" height="348">
<TR ALIGN="LEFT" VALIGN="TOP"><TD WIDTH="570" HEIGHT="135" ALIGN="LEFT" VALIGN="TOP" colspan="2"><map name="PortalHome"><area shape="rect" coords="20,13,93,87" href="http://www.wisconsin.gov/state/home"></map><IMG src="headerandlogo.gif" usemap="#PortalHome" border="0"> </TD><TR ALIGN="LEFT" VALIGN="TOP"><TD WIDTH="121" HEIGHT="213" ALIGN="LEFT" VALIGN="TOP"><P></TD><TD WIDTH="500" HEIGHT="213" ALIGN="LEFT" VALIGN="TOP"> <P> </P><P ALIGN="CENTER"><FONT SIZE="5">Dept. of Natural Resources Information Alert<BR></FONT></P> <TABLE BORDER="0" WIDTH="108%"><TR><TD WIDTH="25%"> <b>Status:</b></TD><TD WIDTH="75%">502 Bad Gateway</TD>
</TR><TR><D WIDTH="25%"><b>Description:</b></TD>
<TD WIDTH="75%">The origin web server encountered an unexpected condition which prevented it from fulfilling the request. Please try your request again.</TD></TR>
</TABLE></TABLE></BODY></HTML>
</string>
</detail>
</soapenv:Fault>
My question is where in the OC4J or Apache configuration this translation is requested, and how we get rid of it for anything with the right url for our web services.
-- jim

We have a web service that, when run under local OC4J, returns the following
<soapenv:Fault>
<faultcode>Client</faultcode>
<faultstring>Invalid parameter</faultstring>
<detail>
<string>
<errorcode>E_InvalidParameter</errorcode>
<description>&lt;GetFacilityByStateIdASDFASDF&amp;gt; is not a valid query name.</description>
</string>
</detail>
</soapenv:Fault>
But when we run the same thing on 9iAS 9.0.2, we get the following, with our own baseline HTML error page included:
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">
ns1:HTTP</faultcode>
<faultstring>(502)Bad Gateway</faultstring>
<detail>
<string>return code: 502
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"><META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE>DNR Information Alert</TITLE></HEAD>
<BODY TEXT="black" BGCOLOR="white"><P><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="620" height="348">
<TR ALIGN="LEFT" VALIGN="TOP"><TD WIDTH="570" HEIGHT="135" ALIGN="LEFT" VALIGN="TOP" colspan="2"><map name="PortalHome"><area shape="rect" coords="20,13,93,87" href="http://www.wisconsin.gov/state/home"></map><IMG src="headerandlogo.gif" usemap="#PortalHome" border="0"> </TD><TR ALIGN="LEFT" VALIGN="TOP"><TD WIDTH="121" HEIGHT="213" ALIGN="LEFT" VALIGN="TOP"><P></TD><TD WIDTH="500" HEIGHT="213" ALIGN="LEFT" VALIGN="TOP"> <P> </P><P ALIGN="CENTER"><FONT SIZE="5">Dept. of Natural Resources Information Alert<BR></FONT></P> <TABLE BORDER="0" WIDTH="108%"><TR><TD WIDTH="25%"> <b>Status:</b></TD><TD WIDTH="75%">502 Bad Gateway</TD>
</TR><TR><D WIDTH="25%"><b>Description:</b></TD>
<TD WIDTH="75%">The origin web server encountered an unexpected condition which prevented it from fulfilling the request. Please try your request again.</TD></TR>
</TABLE></TABLE></BODY></HTML>
</string>
</detail>
</soapenv:Fault>
My question is where in the OC4J or Apache configuration this translation is requested, and how we get rid of it for anything with the right url for our web services.
-- jim

Similar Messages

  • LabVIEW 4.0 Invalid Page Fault Errors

    I've got myself stumped on this problem - we had a LabVIEW based PC/DAQ system that started giving invalid page fault errors and crashing in Win95. This may have been concident with a revision to a vi file. To rectify the problem I've tried the following:
    1. Reinstall LabVIEW 4.0 with NI-DAQ 6.6
    2. Wipe HD, reinstall Win95, LV 40, NIDAQ 6.6
    3. Full HD scan and MEMTEST86 memory test
    4. Install on another PC
    The PCs are P5-60 Gateways with 128 MB of RAM. DAQ config is 1 AT-AO-10 and 1 AT-MIO-16DE-10
    Nothing seems to help. With a reinstall of LV40, I can get it to run, but once I copy the .vi files back into User.lib LV crashes.
    Does LV40 look in User.lib upon startup and crash if it finds something it doesn't like? A corrupted vi?
    Thanks!

    Blair Hogg wrote:
    ...guess the next step is to go in and load each .vi manually to see if there is one that is causing problems. Hopefully some of you out there are finding this somewhat interesting, and I'm not just cluttering up the forum...
    Hi Blair Hogg,
    I like your sence of humor ;-) Don't worry, even if nobody reads your
    thread (well... I just did) you need to write MUCH more for it to be
    considered clutter. Now, if you had created 25 duplicates of the same
    thread, then  we would be talking about cluttering...
    I'm curious about this issue even thought NI only supports LabVIEW two
    versions back - officially. My guess is that a VI is corrupted and
    kills LabVIEW when the VI loads. Therefore I do aggree that the
    procedure from now on is to load every single VI one by one and then
    notice what VI will make LabVIEW crash. I might be able to repair that
    VI if you submit it to the thread.
    Another thing to try is to mass compile the user.lib. The log after the
    mass compile will show if any VIs were bad or had problems getting
    compiled.
    Well, I hope you find the source for this issue - even if I'm the only one that cares ;-)
    Have Fun!
    - Philip Courtois, Thinkbot Solutions

  • How to handle error pages in JSF

    Hii,
    I am facing problem in JSF handling server side errors like faces exception.
    For Ex; if i have a JSF screen,if i enter invalid data it will show error in the same page if i use messages tag,but i need to display errors in another page like error pages.
    i tried to do as we do in JSP,but facesServlet is not supporting.
    i am very thankful if anyone can help.

    How about asking in the JSF forum where the experts are?

  • Error page and error text handling

    Hi,
    In Apex error text is always coming in an error page and displays error on error page only. Can we display error message on the same page where error occurred ?
    Thanks in advance.
    Ranjan

    Hi, Ranjan,
    that's not quite as easy, I fear. There SHOULDN'T be any unhandled exceptions. Try to make your procedures and functions as robust as possible. This might need some heavy redesign on your part (maybe surrounding procedure calls with processes?). As far as I know, Apex doesn't offer any exception handling mechanism. But I'll look into it.
    Cheers,
    Niko

  • Page fault error in installation

    I'm trying to upgrade my D2K software but when I run the setup process I get a page fault error in module KERNEL32.DLL at 0137:bff9a485 when it reaches OIIMPL32.DLL. This appens only with Win95 (users), I installed succesfully ver 6.0 on NT (my pc of course). Any comments???
    Thanx in advance.

    >>Posting Guide<<

  • How to handle error pages in ICWC??

    Hi Experts,
    1. I have created an authorization object for sensitive service tickets.
    2. Only users who have the authorizations to view the tickets should be able to view these tickets.
    3. I have modified a badi which matches this requirement and works fine in CRM side.
    4.In ICWC i open the Interaction History with the username who is not authorised to view the service tickets and on the interaction history search page I search for the service ticket number .
    5. I get the result in the interaction history result.
    6. On row selection i am taken to an error page which says <b>Authorisation not given.</b>
    7. Experts please suggest a solution wherein <b>i donot navigate to the error page</b> but stay on the same page and the error message is displayed in the bread crumb.
    Useful answers will be generously rewarded, 
    Regards,
    Shrita Sharma.
    Message was edited by:
            shrita sharma

    Shrita,
    You could simply do this way.
    Use class CL_BSP_WD_MESSAGE_SERVICE to add a message that could be displyed in message bar next to bread crumb.
    DATA: lv_msgsrv   TYPE REF TO cl_bsp_wd_message_service.
              lv_msgsrv = cl_bsp_wd_message_service=>get_instance( ).
              lv_msgsrv->add_message( iv_msg_type = if_genil_message_container=>mt_error
                                iv_msg_id   = 'ZCRM_ICWC'
                                iv_msg_number = '087'
                                iv_important_info = abap_true ).
    Cheers
    Ankur

  • Fault/Error Handling in Human Task

    Hi,
    We are using Oracle BPM 11.1.1.3.
    1. I create "synchronous" BPM process containing Human Task. Is synchronous process containing Human Task correct? When I invoke this process through EM console, it hangs, i.e. I can not interact with EM console any more. I think the reason is, Human Task activity when executed expects human interaction. I am correct?
    2. I create "asynchronous" BPM process containing Human Task. I invoke it and it runs properly. I login to workspace and work on task.
    My main question is: "Asynchronous" process executes Human Task and waits for Human Interaction. My process is invoked by Java. How will calling Java code know if execution was successful? If any fault/error occurs how can I notify? How will I notify calling Java code if human task encountered any error?
    Please let me know if my question is not clear.
    Many Thanks.

    Hi Anirudh,
    Thanks for quick reply.
    I have a requirement where based on certain condition i need to update the task and reassign it.
    There is a batch that runs and performs the task. While doing so i dont have any info as to whom
    the task is assigned.
    So i am using bpeladmin to perform the task.
    If task is assigned to user and i try to update the task using bpeladmin then am able to do so.
    But if the task is assigned to Group i am getting the error. If task is assigned to user, i am able to
    acquire the task but not able to update the task.
    While updation it shows the task has been acquired by some other user.
    Is there any other way by which i can implement the same ?
    Regards,
    Bhavik

  • Handle exception on server side and display a customized jsp error page

    Hi,
    I am developing a java/j2EE web application using servlet, jsp, ejb3 with JBOSS and ECLIPSE.
    Two cases can occur on the server side :
    1) either I have not an expected result in a method and in this case I want to display an error page (a JSP page I suppose) with a personnalized error message
    2) or I have an exception thrown and I want to display the exception message in the former JSP page
    I don't know how to cope with this problem of personnalized error message (or the message of a thrown exception) with a JSP page.
    Does anybody can help me ? Thank you
    Edited by: xflamant on Jun 20, 2009 10:51 AM

    For the case of an unknown Error, simply use a default error page.
    The redirection to this page can be accomplished by inserting folowing code into your web.xml:
         <error-page>
            <exception-type>java.lang.Throwable</exception-type>
            <location>/WEB-INF/jsp/error.jsp</location>       
        </error-page>Known exception can be caught via a try-catch block.
    Then simply dispatch to the page you want displayed an add an attribute containing the error message to the response object.
    This attribute can then be used in the target page to diplay the error.

  • Error handling with EPG pages, displaying proc variables and values

    With OAS, a failure in a PLSQL-generated page usually brought up a plain page of preformatted text showing a) the basic Oracle message for the failure, b) all the passed-in parameters by name with their values at the time of failure, and c) the CGI environment variables with their values.
    When I use the EPG, and failure occurs, I get something like ".../dad/pkg.proc not found", which is worthless as an outcome for a user to see. Now I got around this a bit with an EXCEPTION section, and using OWA_UTIL procs got some info that is helpful in debugging. But I very much would like to get the list of passed-in parameters with their values, and the documentation is not revealing great wisdom to me for achieving this.
    Does anyone have some knowledge or code to share that will achieve this within the bounds of XE? Perhaps another thread has addressed this and I could have the URL?

    In order not to expose sensitive information, the embedded PL/SQL gateway (EPG) returns only a very basic error page in the default setup when an exception occurs when attempting to execute the procedure. To get a more elaborate error page like what OAS returns, you may set the DAD attribute as follows:
    sqlplus system/...SQL> exec dbms_epg.set_dad_attribute('APEX', 'error-style', 'DebugStyle')
    to reset it, please delete the attribute
    SQL> exec dbms_epg.delete_dad_attribute('APEX', 'error-style')
    This assumes that you are using the defalt DAD "APEX" that comes preinstalled in XE.
    See the doc on the different error styles at http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14190/confmods.htm#CIHCIIJG
    Thanks.

  • Handling RFC errors

    When an RFC calls fails I get the standard Rails page with the dump; how to detect and handle rfc errors (like subrc check);
    thanks

    Hello Samuel,
    Just to close this thread and finish up my own search, where I met your discussion, here I'm quoting two experts of this forum:
    "you cannot catch the exception's value in the XI "
    (see posting from Michal Krawczyk, Jun 12, 2006, in thread catch the exception)
    "The content of a fault message are not accessible inside a BPM."
    (see posting from Bhavesh Kantilal, Oct 3, 2007, in thread Notify user about Exception in BPM)
    Regards,
    Dennis

  • How to cancel the event in Item Adding and display javascript message and prevent the page from redirecting to the SharePoint Error Page?

    How to cancel the event in Item Adding without going to the SharePoint Error Page?
    Prevent duplicate item in a SharePoint List
    The following Event Handler code will prevent users from creating duplicate value in "Title" field.
    ItemAdding Event Handler
    public override void ItemAdding(SPItemEventProperties properties)
    base.ItemAdding(properties);
    if (properties.ListTitle.Equals("My List"))
    try
    using(SPSite thisSite = new SPSite(properties.WebUrl))
    SPWeb thisWeb = thisSite.OpenWeb();
    SPList list = thisWeb.Lists[properties.ListId];
    SPQuery query = new SPQuery();
    query.Query = @"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>" + properties.AfterProperties["Title"] + "</Value></Eq></Where>";
    SPListItemCollection listItem = list.GetItems(query);
    if (listItem.Count > 0)
    properties.Cancel = true;
    properties.ErrorMessage = "Item with this Name already exists. Please create a unique Name.";
    catch (Exception ex)
    PortalLog.LogString("Error occured in event ItemAdding(SPItemEventProperties properties)() @ AAA.BBB.PreventDuplicateItem class. Exception Message:" + ex.Message.ToString());
    throw new SPException("An error occured while processing the My List Feature. Please contact your Portal Administrator");
    Feature.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Feature Id="1c2100ca-bad5-41f5-9707-7bf4edc08383"
    Title="Prevents Duplicate Item"
    Description="Prevents duplicate Name in the "My List" List"
    Version="12.0.0.0"
    Hidden="FALSE"
    Scope="Web"
    DefaultResourceFile="core"
    xmlns="http://schemas.microsoft.com/sharepoint/">
    <ElementManifests>
    <ElementManifest Location="elements.xml"/>
    </ElementManifests>
    </Feature>
    Element.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Receivers ListTemplateId="100">
    <Receiver>
    <Name>AddingEventHandler</Name>
    <Type>ItemAdding</Type>
    <SequenceNumber>10000</SequenceNumber>
    <Assembly>AAA.BBB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8003cf0cbff32406</Assembly>
    <Class>AAA.BBB.PreventDuplicateItem</Class>
    <Data></Data>
    <Filter></Filter>
    </Receiver>
    </Receivers>
    </Elements>
    Below link explains adding the list events.
    http://www.dotnetspark.com/kb/1369-step-by-step-guide-to-list-events-handling.aspx
    Reference link:
    http://msdn.microsoft.com/en-us/library/ms437502(v=office.12).aspx
    http://msdn.microsoft.com/en-us/library/ff713710(v=office.12).aspx
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

    Recommended way for binding the list event handler to the list instance is through feature receivers.
    You need to create a feature file like the below sample
    <?xmlversion="1.0"encoding="utf-8"?>
    <Feature xmlns="http://schemas.microsoft.com/sharepoint/"
    Id="{20FF80BB-83D9-41bc-8FFA-E589067AF783}"
    Title="Installs MyFeatureReceiver"
    Description="Installs MyFeatureReceiver" Hidden="False" Version="1.0.0.0" Scope="Site"
    ReceiverClass="ClassLibrary1.MyFeatureReceiver"
    ReceiverAssembly="ClassLibrary1, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=6c5894e55cb0f391">
    </Feature>For registering/binding the list event handler to the list instance, use the below sample codeusing System;
    using Microsoft.SharePoint;
    namespace ClassLibrary1
        public class MyFeatureReceiver: SPFeatureReceiver
            public override void FeatureActivated(SPFeatureReceiverProperties properties)
                SPSite siteCollection = properties.Feature.Parent as SPSite;
                SPWeb site = siteCollection.AllWebs["Docs"];
                SPList list = site.Lists["MyList"];
                SPEventReceiverDefinition rd = list.EventReceivers.Add();
                rd.Name = "My Event Receiver";
                rd.Class = "ClassLibrary1.MyListEventReceiver1";
                rd.Assembly = "ClassLibrary1, Version=1.0.0.0, Culture=neutral,
                    PublicKeyToken=6c5894e55cb0f391";
                rd.Data = "My Event Receiver data";
                rd.Type = SPEventReceiverType.FieldAdding;
                rd.Update();
            public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
                SPSite sitecollection = properties.Feature.Parent as SPSite;
                SPWeb site = sitecollection.AllWebs["Docs"];
                SPList list = site.Lists["MyList"];
                foreach (SPEventReceiverDefinition rd in list.EventReceivers)
                    if (rd.Name == "My Event Receiver")
                        rd.Delete();
            public override void FeatureInstalled(SPFeatureReceiverProperties properties)
            public override void FeatureUninstalling(SPFeatureReceiverProperties properties)
    }Reference link: http://msdn.microsoft.com/en-us/library/ff713710(v=office.12).aspxOther ways of registering the list event handlers to the List instance are through code, stsadm commands and content types.
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

  • 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

  • Problems with the tag error-page in web.xml

    hi all, here is my code in my web.xml:
    <error-page>
    <exception-type>java.sql.SQLException</exception-type>
    <location>/ex.html</location>
    </error-page>
    it seems not to work, because my JavaBean where its the code to connect to my database and execute a query has an error i made it at purpose to see if the error page works, my JavaBean reports an error: column name not valid but the error-page didn�t work, i use a servlet which instantiates my JavaBean and then my servlet redirects to a JSP, obviouslly if an error occurs my servlet didnt redirect to any place, here is the code into my JavaBean, if anyone could help me i really appreciate it...
    public BeanLista seleccionaCliente()
    int nBandera = 0;
    BeanList lp = new BeanList();
    String cadena = "SELECT CODCLI, APEPATI FROM TESO.CLIENTE WHERE CODCLI like '2001120%' ";
    try
    context = new InitialContext();
    pool = (DataSource)context.lookup("jdbc/PRUEBADS");
    catch (NamingException ne)
    ne.printStackTrace();
    System.out.println("No se ha podido efectuar el Pool de Conexiones");
    try
    cc = pool.getConnection();
    ResultSet rs = cc.createStatement().executeQuery(cadena);
    cc.close();
    while(rs.next())
    BeanPrueba bp = new BeanPrueba();
    bp.setCodcli(rs.getString(1));
    bp.setApepat(rs.getString(2));
    lp.add(bp);
    return lp;
    }catch(SQLException sql){
    System.out.println("A ocurrido un error de SQL");
    System.out.println("Error de SQl capturado como : "+sql.getMessage());
    //sql.printStackTrace();
    return lp;
    }

    Can it be because you are catching your exception? Why don't you try throwing the same exception in the catch block and let the server handle it for you.
    Just a guess... Hope it works.
    VM

  • error-page in web.xml not working

    In my web.xml I have
    <error-page>
    <exception-type>java.lang.NullPointerException</exception-type>
    <location>/error.jsp</location>
    </error-page>
    I checked the page works by doing a /context/error.jsp and
    the page displays fine (it is a simple jsp page).
    I hit a struts action that gives me this in the std output.
    06/29 10:48:24 error
    [1]java.lang.NullPointerException
    at
    com.pearson.gs.cms.business.LoginService.verifyPassword(LoginService.java:232)
    at
    com.pearson.gs.cms.action.LoginAction.performCMSAction(LoginAction.java:92)
    at
    com.pearson.gs.cms.action.BaseCMSAction.execute(BaseCMSAction.java:48)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [0]javax.servlet.ServletException
    at
    org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    I get a 500 error page instead of my /error.jsp page.
    I tried adding
    <error-page>
    <error-code>500</error-code>
    <location>/error.jsp</location>
    </error-page>
    but that doesn't work either.
    JRun 4.0
    Updater 6
    JDK 1.4.2
    Struts 1.2.8
    Any ideas what to try?

    a. Override your skeletons error.jsp to forward/redirect to your page.
    or
    b. If you primarily use pageflow portlets Define a shared flow which has an exception handling method and direct it to your page. Reference the shared flow in each of your controllers (i think global.app is deprecated in 10 otherwise you could do this there). this lets you log some additional information, plus gives you the added flexibility of dealing with different exception types
    or
    c. Override the path to error.jsp in your portlets properties (havent tested)
    Note if you are using servlets etc you still need your web.xml java.lang.Exception entry. The reason it doesnt get picked up is because the portal framework is handling the exception
    Edited by: deepshet on Dec 22, 2008 8:12 PM

  • Handling Fault Messages

    Hi,
    I have this synchronous scenario :  RFC > (XI without Integration Process) > SOAP.
    Imagine that there is a problem with SOAP System and i get (don't worry about the error itself):
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException:
    invalid content type for SOAP:
    TEXT/PLAIN; HTTP 400 Bad Request</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I tried to add ExchangeFaultData into SOAP Interface, and mapping it but it didn't work.
    Can i get this exception mapped into RFC exception?

    The usage of your fault message is not correct, since it is designed to handle application error, in your case, it is technical error, it should be handled by alert framework.
    Liang
    ===========SAP Definition================
    Fault message types are designed for application-specific errors that occur on the inbound side and that are reported back to the sender or persisted in monitoring.
    u2022        In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error.
    u2022        The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring. In the case asynchronous of Java server proxies, the fault message is part of a negative application acknowledgement (see Acknowledgments).
    Application-specific means that the application on the inbound side triggers the error itself because, for example, the request message did not contain sufficient information.
    ========= End of SAP Definition================

Maybe you are looking for

  • Why is my Hardware Accelerate Composition, Layer, and Footage Panels check box disabled

    Hello anyone! I have all the requirements to meet Adobe's standards for GPU requirements, but this check box (Hardware Accelerate Composition, Layer, and Footage Panels)[Edit>Preferences>Display] is disabled for me, why? Do I need to worry about this

  • Switching b/w JSP compilers

    In iAS6.0 we had the option of switching b/w the JSP compilers( Jasper & native compilers), by setting -DIAS_JSPSTRICT=false/true in JavaArgs. iAS7.0 uses Jasper jsp compiler by default, this is having a strict check on case of tag's and extra spaces

  • Integrated weblogic server in jdeveloper

    Starting WLS with line: C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webl

  • Original iPhone not able to sync

    My wife is using an original iPhone and is trying to get it to sync in iTunes on a PC away from home. All sync, etc features in iTunes are greyed out. The PC hs been "authorized"... How can we get this to work?? Thanks for your help!

  • Controlling Bass and Treble

    Here is my issue. I just got a subscription to XM online. When listening to music there is no way to control the bass and treble. Is there any software I can download to do this, or is there a way to use the Itunes eq when listening to music online f