Regarding handling of remoteFault

Hi,
I see that whenever the database is down the Bpel instance completes in error as it cannot invoke the db adapter and throws a remoteFault. How do I handle such cases? Appreciate if anyone can briefly explain me how do I design this in my process. I want to know by email whenever this happens so we can make sure that the database is up. Also once it is up, how do I resubmit this failed instance to get processed.
Appreciate your help as always.
Thanks

Wich versión do you use?
10.1.3.3 or above
You must have a specific catch, (remote fault handle), it means a var that can contain the fault descriptor, and when you define that fault, you are able to define what you want to do, it can be some retry just to know that is down (this is configured in fault-policies and fault-bindings) and after that you write in your bpel under that fault any you want
Hope it helps

Similar Messages

  • Query regarding handling and monitoring of OSB Errors in a specific manner

    Hi,
    I'm using
    - OSB 10gR3 (10.3.1)
    Context
    To give some context, the setup I currently have a proprietory frontend client that is making XML/HTTP requests to OSB
    which in turn is getting info from downstream systems.
    I have no control over the behaviour/logic of the frontend client .. apart from knowing that it has a specific
    request/response format.
    So now to the issue..
    The issue I'm facing is regarding handling of errors. Based on my knowledge of OSB, the error handling of the transaction has been
    built along these lines
    (Within the stage) If an error scenario's occurred, error is being thrown
    (Within the error handler stage) Logging the error (using the 'Log' function .. with severity 'Error')
    (Within the error handler stage) The response payload is being built .. so that the error can be reported to the frontend client
    (Within the error handler stage) I'm doing a 'Reply with Success'
    Now this does give me the expected behavior from the frontend client's perspective (... i.e. it receives the payload and displays whatever error that's occurred)
    However from OSB's perspective, because I have done a 'Reply with success', the OSB Service Health Page ... (screenshot below) does not
    increment the 'Errors' count for the respective proxy service ....
    [OSB Service Health Page|http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/operations/monitoring.html#wp1107685] (Looking at Figure 3-8)
    The only way I could achieve this was to set the error handler stage to 'Reply with Failure' (which would return HTTP 500) ...
    The issue however is that, the proprietory frontend simply sees the incoming HTTP 500 code and doesn't read the return XML payload (containing the error details ..)
    which beats the whole idea of being able to maintain some sort of traceability for the failed transactions.
    So what I'm basically trying to find is .. that when an error occurs
    - Some 'call' to make the during the error handler stage so that it registers as an error in the OSB Service Health Page.. and I can clearly
    see the error count, etc for each of the proxy services
    - After that being able to still use 'Reply with Success' ... so that the payload is being returned with HTTP 500 code...
    so the frontend can read the payload ...
    ............. in essence, the idea being to register errors so that they can be monitored via the Service Health Dashboard ..but at the same time
    being able to return the 'error details' payload successfully
    With my limited (but growing) knowledge of OSB .. I've tried quite a few ways to achieve this with no success...
    Would very much appreciate any help here ...
    Lastly, if there is some way of achieving what I'm trying to get to above through different means, I'm open
    to trying out alternate stuff.
    Regards,
    Himanshu

    Hi Atheek,
    Many thanks for the reply. Does appear to be a pretty neat way of doing it ..
    One more clarification I'd like on this however ....
    Given that I have a set up like this below
    [External frontend client] <------> (1 Parent Service) <------> (2 Child Service)
    (1 Parent Service) .... has error handler .. and all it does is 'Reply with success'
    (2 Child Service) .... has error handler for particular stage
    so...
    2 Child Service - is doing the actual work (has error handler where custom error msg is being populated in $body)
    1 Parent Service - is the one that is getting called by the external client (has error handler .. and all it does is 'Reply with success')
    What I currently have is ..once the error occurs, I'm populating $body ... with the custom error message within the error handler
    Previously I had 'Reply with Success' in the 2 Child Service's error handler and the custom error message would get returned to the external client.
    Now, with the error handler only creating the custom error msg.... and 1 Parent service doing the 'Reply with Success' .. it doesn't appear
    to return the $body .. with the custom msg that I'd populated .. in 2 Child Service's error handler.
    Are the $body contents populated in 2 Child Service's error handler lost ...once the error propagates up to 1 Parent service's error handler ?
    If yes... is there way of getting around it ? I could see for instance that the $fault message context has a 'user populated' Details variable
    but the documentation covering this is sparse.
    Regards,

  • ECATT questions regarding handling multiple line items in test data conatin

    Hi all,
    We are using  ECATT for automation.
    We do have a query .
    The Question is
    When we have
    Ist   level   Header information     [One entry per header]    
    IInd  level  Item Level information [Per Header Multiple item entries is possible]
    For eg.
    Header
    Sales ordno Customer
    S001           C001
    Item
    Salesordno itemNo Material
    S001          001         M001
    S001          002         M002
    We need  to call an API for creating the salesorder using ECATT .We want to achieve the same with test data container.
    How we can approach this?
    Reg,
    Ganesh
    Message was edited by:
            GaneshKumar P

    hi,
    you can do that by using ABAP...ENDABAP statement.
    By using this command you can write any ABAP login in between.
    and u can also call RFC's, BAPI in between.
    all you need to do is wirte your ABAP code in se38 and make sure that its working fine. then copy ur code to ecatt tool and pleace that in between ABAP...ENDABAP statements.
    hope this helps.
    >>reward if this helps.
    regards,
    kvr

  • Query regarding Handling Unicode characters in XML

    All,
    My application reads a flat file in series of bytes, I
    create a XMl document out of the data. The data contains Unicode characters.
    I use a XSLT to create XML file. While creating it I don't face any issues
    but later if I try to parse the constructed XMl file, i get a sax parsing exception
    (Caused by: org.xml.sax.SAXParseException: Character reference _"<not visible clearly in Browser>"_ is an invalid XML character.)
    Can some one advice on how to tackle this.
    regards,
    D
    Edited by: user9165249 on 07-Jan-2011 08:10

    How to tackle it? Don't allow your transformation to produce characters which are invalid in XML. The XML Recommendation specifies what characters are allowed and what characters aren't, in section 2.2: http://www.w3.org/TR/REC-xml/#charsets. The invalid characters can't come from the XML which you are transforming so they must be coming from code in your transformation.
    And if you can't tell what the invalid characters are by using your browser, then send the result of the transformation to a file and use a hex editor to examine it.
    By the way, this isn't a question about Unicode characters in XML, since all characters in Java are Unicode and XML is defined in terms of Unicode. So saying that your data contains Unicode characters is a tautology. It couldn't do anything else. If your personal definition of Unicode is "weird stuff that I don't understand" then do yourself a favour, take a couple of days out and learn what Unicode is.

  • Error regarding Handler parameter

    hi,
    i am doing full recon using database connector.after the mappings whenever i save the connector(scheduled task) i am getting the following error:
    *ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' org.apache.struts.actions.DispatchAction - Request[CreateConnector] does not contain handler parameter named method*
    i am not able to understand the error and its occurance. can someone plz help me out in this.
    thanks

    Unless customer is a number, {?CustomerName} needs to be wrapped in single quotes. Like this...
    select * from OSCL where customer='{?CustomerName}'
    HTH,
    Jason

  • Issue regarding handling Overdue Acknowledgments

    Hi All,
    I am sending an EDI 850 to the Trading Partner through EDI X12 Over Internet Protocol.
    I am testing the scenario where if I dont get a FA back in 120 mins it should do retry.
    I have followed the below link and did the set ups accordingly.
    http://www.b2bgurus.com/2008/12/overdue-acknowledgements-identify-and.html
    Steps done:-
    1) In the Trading Partner level , I have given the values as below.
    Time to Acknowledgewment - 120
    Retry Count - 3
    2)And also added the property oracle.tip.adapter.b2b.FAWaitTimeOut= 120 in tip.properties and restarted the server.
    But still this does not work, let me know if there are any other setups required.
    Thanks and Regards,
    Kaavya

    Hi All,
    My Requirement is that when a Outbound PO is send it should wait for 5 mins and then a errored message should be enqueued in the IP_IN_QUEUE with the user as 'B2BERRORUSER'.
    SetUp
    I have setup two remote trading partners 'A' and 'B'.
    While configuring the trading Partner 'A'. I have set in the delivery channel the Time to acknowledge as 5.and I do not want to retry.In this Trading Partners I have defined the EDI documents in the EDI X12 Over Internet Protocol.
    while Configuring the trading partner 'B'. I have not set in the delivery channel the Time to acknowledge and in this trdaing partner i have defined the OAGIS document in the Custom Document Over Internet Protocol.
    Below are my findings
    1) But I did not see any error message in the queue northe message in the reports which is expecting FA is errored out.
    2) After that I have set the property in the tip.properties as oracle.tip.adapter.b2b.FAWaitTimeOut= 5 then it started working
    3)So, when I sent a PO its status is 'WaitFA' after waiting for 5 mins the status is updated as Error in the business messaage for the Trading Partner 'A'
    4)But when I send a PO which is a custom Document(OAGIS) its status is 'Complete' and then after 5 mins its status is 'Error' and shows the FATimeout Exception.
    My Questions are
    1) Does this timeout value does not take from the configuration ? or the value defined in property works.
    2) If it takes from property can't we have different time out values for each trading partner.
    3) If we are sending a EDI doc to the trading partner 'B' then I understand as the property is for FA it is applying the property to all trading partners. But here I am sending a Custom document,so for this document I should not get a FA time out error right ?
    Let me know how to proceed on this.
    Thanks and Regards,
    Kaavya.

  • How to handle single quote between two single quotes in ABAP?

    Dear SAP Gurus
    I have a question regarding handling a string data.
    Say I have a string  ABCD'\&%$!!ABC'AAA123.   Please notice that there are single quotes in my string.
    I am writing a parser code in ABAP and getting into problem with if statement to check if the character read is a single quote.
    When I type the following with a singleQuote between 2 singleQuoes as below, it gives error.
    If CHAR = '''.
    ENDIF.
    How do I handle that? I searched for escape sequence and couldn't get any useful info.
    Any feedback will be highly appreciated.
    Thanks
    Ram

    Or just use string literals
    if char = `'`.   "note that ` is the "backquotation" mark not a regular quotation mark '
    Regards
    Marcin

  • Handling large image files...

    Hello All,
    Few days back I posted a query regarding handling of Satellite Imagery but didn't got any responses...
    Well, what I'll try to do now that I'll post the same question in adifferent way.
    In my current project, we require textures of around 1024*1024 pixels and around 15 to 20 in numbers to be simulataneously displayed in the scenegraph. We are using a good Hardware Accelerator Card with sufficient memory ..... but the overall performance degrades a lot.
    Any suggestions regarding handling these images (or some sort of dynamic loading)
    Regards

    Hello,
    you should use Mipmaps.
    http://java.sun.com/products/java-media/3D/collateral/
    Chapter 7.6
    Regards,
    Oliver

  • How to make a cell in a JTable to be uneditable and handle events

    I tried many things but failed,How do you make a cell in a JTable to be uneditable and also be able to handle events>Anyone who knows this please help.Thanx

    Hello Klaas2001
    You can add KeyListener ,MouseListener
    Suppose you have set the value of cell using setValueAt()
    table.addKeyListener(this);
    public void keyTyped(KeyEvent src)
    String val="";
    int r= table.getEditingRow();
    int c= table.getEditingColumn();
    val=table.getValueAt(r,c).toString();
    if (r!=-1 && c!=-1)
    TableCellEditor tableCellEditor = table.getCellEditor(r, c);
    tableCellEditor.stopCellEditing();
    table.clearSelection();
    table.setValueAt(val,r,c);
    public void keyReleased(KeyEvent src)
    public void keyPressed(KeyEvent src)
    table.addMouseListener(this);
    public void mouseClicked(MouseEvent e)
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e)
    public void mousePressed(MouseEvent e)
    public void mouseReleased(MouseEvent e)
    if(e.getClickCount()>=2)//Double Click
    table.clearSelection();
    int r= table.getEditingRow();
    int c= table.getEditingColumn();
    if (r!=-1 && c!=-1)
    TableCellEditor tableCellEditor = table.getCellEditor (
    r,c);
    tableCellEditor.stopCellEditing();
    table.clearSelection();
    table.setValueAt("",r,c);
    }//Mouse Released
    You can remove keyListener and Mouse Listener whenever You want to edit
    then add it later.
    Regarding handling events implement javax.swing.event.TableModelListener
    table.getModel().addTableModelListener(this);
    public void tableChanged(javax.swing.event.TableModelEvent source)
    TableModel tabMod = (TableModel)source.getSource();
         switch (source.getType())
    case TableModelEvent.UPDATE:
         break;
         }//Table Changed Method
    //This method gets fired after table cell value is changed.

  • BPEL Security

    Hi,
    In our environment, certain BPEL processes have been security enabled, by using the 'role' property in the bpel.xml and the relevant entries have been made into jazn-data.xml, message-handlers.xml and also when the right credentials are passed, the processes are instantiated correctly.
    Problem we are facing is that, we are calling certain stub-processes and also some sub-BPEL processes from the main Process, asychoronously, and we have not enabled security for those processes, as they are called not from outside the BPEL, but from within BPEL processes.
    These sub-BPELs also get instantiated correctly, however, when calling back the main Process, it is giving the security error as given below. Is there any configuration which can be set, so that security is not applied when calling sub-BPELs callbacks or what can be the solution for such situations.
    Thanks for your help.
    Thanks and Regards,
    Vijay.
    <remoteFault>
    <part name="summary" >
    <summary>when invoking locally the endpoint 'http://kmackie-pc2.peoplesoft.com:9700/orabpel/default/ROTelcoNewOrder/1.0/DynamicBillingSystem/BillingSystem_Requester', ; nested exception is: ORABPEL-02175 Error while invoking inbound message handler. An error has occurred while attempting to invoke the inbound message handler class "class com.collaxa.cube.security.Authenticator" for the message "". The exception reported was: Could not apply security [username = null] </summary>
    </part>
    <part name="detail" >
    <detail>ORABPEL-02175 Error while invoking inbound message handler. An error has occurred while attempting to invoke the inbound message handler class "class com.collaxa.cube.security.Authenticator" for the message "". The exception reported was: Could not apply security [username = null] </detail>
    </part>
    </remoteFault>
    -----------------------------------------------------------------------------------------------------------

    Hi Clemens,
    Is there a way to turn off the security authentication for the callback messages. We have secured the BPEL processes and we want the authentication to be done at the instantiation level ; but not at the receipt of call back messages. Is there any configuration setting that we could leverage of?
    Regards,
    Ravi

  • CS6 suite crashing in Mountain Lion, the fix

    I had a persistant problem where the CS6 trial of Photoshop crashed on 'Save As' under a new install of Mountain Lion.
    After 3 days, and many re-installs, I tracked the problem down to 4 installed fonts, two of them Adobe font suitcases.
    They are...
    #PCmyoungjo.dfont
    #Pilgiche.dfont
    Adobe Sans MM
    Adobe Serif MM
    Removal of the above, which checked out fine using Font Book, also stopped my Office 11 suite from crashing on startup.
    I had also removed every faulty font from my list of 2100+ fonts, and only when a clean install with the minimum of fonts worked, did I try dragging extra fonts in a few at a time, then, Bingo! Crashes.
    CS6 worked fine under Lion with the full font list, so obviously something dramatic has changed in Mountain Lion regarding handling fonts.

    I've written a quick Applescript that will remove the offending Fonts, and opens the two Library Folders for visual checking.
    Take note that if the offending fonts have been renamed, they will not be removed by this script.
    To run this, open Script Editor in your Applications Folder, paste the text below into the window, and click 'Run'.
    Regards
    Santa
    set ptl to path to library folder
    set ptul to path to library folder from user domain
    set ptlf to ptl & "Fonts" as text
    set ptulf to ptul & "Fonts" as text
    set FontsList to {"#PCmyoungjo.dfont", "#Pilgiche.dfont", "Adobe Sans MM", "Adobe Serif MM"}
    repeat with ThisFont in FontsList
              set FontToFind to ptlf & ":" & ThisFont
              tell application "Finder"
                        if exists FontToFind then move FontToFind to trash
              end tell
              set FontToFind to ptulf & ":" & ThisFont
              tell application "Finder"
                        if exists FontToFind then move FontToFind to trash
              end tell
    end repeat
    tell application "Finder"
      open ptl
      open ptul
    end tell

  • Executing telnet command

    I am trying to execute telnet command from java pgm. If i run the pgm i am not getting the desired output or any exception.Could any one help as the earliest.Following is my code
    #Pgm
    public class success1 extends JFrame
    public static void main(String args[])
    Runtime r = Runtime.getRuntime();
    try
    r.exec("telnet 192.168.1.2");
    catch(Exception e)
    System.out.println(e);
    }

    MSSL wrote:
    It's not working, anyone familar with java with dos,please help if u are capableSince this is a Java forum, most people who respond to this forums are familiar with Java! Most people who visit here are familiar with DOS. Reading minds is a different matter since you don't say what the symptoms of "It's not working" are it is very difficult to diagnose the problem.
    What I can say is that until you have read the reference given in reply #1 and have implemented the recommendations regarding handling stdout and stderr then any further post on your part is a waste of time.

  • CS6 suite crashing under Mountain Lion, a fix

    I had a persistant problem where the CS6 trial of Photoshop crashed on 'Save As' under a new install of Mountain Lion.
    After 3 days, and many re-installs, I tracked the problem down to 4 installed fonts, two of them Adobe font suitcases.
    They are...
    #PCmyoungjo.dfont
    #Pilgiche.dfont
    Adobe Sans MM
    Adobe Serif MM
    Removal of the above, which checked out fine using Font Book, also stopped my Office 11 suite from crashing on startup.
    I had also removed every faulty font from my list of 2100+ fonts, and only when a clean install with the minimum of fonts worked, did I try dragging extra fonts in a few at a time, then, Bingo! Crashes.
    CS6 worked fine under Lion with the full font list, so obviously something dramatic has changed in Mountain Lion regarding handling fonts.

    I've written a quick Applescript that will remove the offending Fonts, and opens the two Library Folders for visual checking.
    Take note that if the offending fonts have been renamed, they will not be removed by this script.
    To run this, open Script Editor in your Applications Folder, paste the text below into the window, and click 'Run'.
    Regards
    Santa
    set ptl to path to library folder
    set ptul to path to library folder from user domain
    set ptlf to ptl & "Fonts" as text
    set ptulf to ptul & "Fonts" as text
    set FontsList to {"#PCmyoungjo.dfont", "#Pilgiche.dfont", "Adobe Sans MM", "Adobe Serif MM"}
    repeat with ThisFont in FontsList
              set FontToFind to ptlf & ":" & ThisFont
              tell application "Finder"
                        if exists FontToFind then move FontToFind to trash
              end tell
              set FontToFind to ptulf & ":" & ThisFont
              tell application "Finder"
                        if exists FontToFind then move FontToFind to trash
              end tell
    end repeat
    tell application "Finder"
      open ptl
      open ptul
    end tell

  • Report Internal Error....

    Hi,
    I am tryint to develop a matrix group report.
    With One group at the top
    1)(Customer Info)
    Inside the cross product group
    1)And the Row Group (Resource Info)
    2)And the Column Group (Period )
    outside the cross product group.
    1)Cell Info (Visit Info)
    I created a manual layout for the report.
    When I try to execute the report.... Come up with the following error....
    REP - 1761 : Internal error <rggrtr-3> while processing the group 'G_RESOURCE_NAME'.
    Any help regarding handling this error.
    Thanks,
    KK

    Hi,
    This has been outlined as unpublished Bug 9571790 - Error Running Catalog Report
    Creating A Catalog Manager Report In OBIEE 10g Fails With "An internal error occurred during: "Catalog Report" [ID 1301872.1]
    fyi:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1301872.1
    Cause
    Catalog manager online mode operations are restricted to the logged-in user only (even the Administrator user). The Administrator user can not have permissions to manage the other users private folders like /users/xxx (username); therefore, when trying to create a catalog report for all users by selecting the "/users" folder or root "/" it will throw a Null pointer exception in the Catalog Manager tool due to the lack of access permissions. As a result, the error " An internal error occurred during: "Catalog Report" " occurs.
    This has been outlined as unpublished Bug 9571790 - Error Running Catalog Report
    Solution
    A patch has been created to avoid the error when launching the Catalog Manager in online mode. Instead, an error is logged when the logged in user does not have access to the catalog items.
    1. Please log a new SR to get the download password for Patch 9571790
    Abstract ERROR RUNNING CATALOG REPORT
    Release OBI EE 10.1.3.4.1
    Product Oracle BI Suite EE (obiee)
    Platform Generic Platform
    Files p9571790_101341_Generic.zip
    Size 4.8M
    2. Please follow the patch read me to apply it on top of version 10.1.3.4.1 then retest the issue.
    Thanks
    Deva

  • What does the argument do here?

    In a code snippet shown below regarding handling the button action in the example: FileChooserDemo.java from Sun, what does the argument between parentheses do?
    int returnValue = fc.showOpenDialog(FileChooserDemo.this);Thanks.

    The API will help you here. It's likely the parent component. It's quite common to pass parent components to dialog constructors to allow the dialog to be related to the parent component (for e.g. have a modal relationship).

Maybe you are looking for

  • Asset Posting date different in Book depreciation and IFRS depreciation.

    Hi SAP gurus, i have a problem in Asset Accounting. The posting date of the asset is taken as 05.05.2008 in Book depreciation and it is taken as 28.02.2008 in IFRS books.. How do I change the posting date to 05.05.2008 from 28.02.2008 in IFRS books.

  • Slideshow captions in Lightroom

    Is there a way to add captions to images in LR other than the add caption in the slideshow module which adds a very blocky generic caption in quotes that is not usually as appealing as the image.  It is on of the few drawbacks to the program I have f

  • T440s: Disk Password cannot be set in Bios

    I got a new T440s with an 256gb SSD by Samsung. I would like to set a hard disk password in the bios. But the menu item "Hard Disk x Password" is not showing up on the bios page Security->Password. All other menu items from "Hardware Password Manager

  • Scraping Confidential Data in Software Simulation

    I wondered whether other folks have encountered this issue in development. I have captured confidential information from live environments, however, when the number of slides captured approaches 100 or more the concept of scarping that confidential d

  • Apps & Discvocerer with Multiple EUL

    We have implemented multiple EUL in our instance. When we log into the Discoverer plus directly using the URL (http://abc.com:1111/discoverer/app/connection? event=displayConnections&clientType=plus) the end user is given a choice to select the EUL f