Using fault-policies with mediator and db Adapter doesn't work

Please help! I'm stuck on this for 2 days....
Hi Friends.
In my project I am trying to give some treatment to an exception from a db adapter running a pl/sql procedure.
I am forcing a raise_application_error in the procedure in order to treat the exception and I'd like the fault-police to treat it as "human-intervention".
The db-adapter is wired to a mediator:
jms-service ----> Mediator -----> Jca db adapter
When I get the exception the log says:
9d8bff56a1 due to: BINDING.JCA-12563[[
Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'PersistirODS' failed due to: Stored procedure invocation error.
Error while trying to prepare and execute the FORNECEDOR.UPSERTFORNECEDOR API.
An error occurred while preparing and executing the FORNECEDOR.UPSERTFORNECEDOR API. Cause: java.sql.SQLException: ORA-20101: Deu Merda
ORA-06512: at "FORNECEDOR.UPSERTFORNECEDOR", line 405
ORA-06512: at line 1
Check to ensure that the API is defined in the database and that the parameters match the signature of the API.  This exception is considered not retriable, likely due to a modelling mistake.  To classify it as retriable instead add property nonRetriableErrorCodes with value "-20101" to your deployment descriptor (i.e. weblogic-ra.xml).  To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff.  All properties are integers.
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
and then it looks like it's trying to run some fault-police but it says:
[2014-04-10T20:01:39.667-03:00] [AdminServer] [WARNING] [] [oracle.integration.platform.faulthandling] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: weblogic] [ecid: 11d1def534ea1be0:-1fa77a00:145468d59e7:-8000-000000000002801a,0] [APP: soa-infra]  [RejectedMsgHandling]Unable to apply policies on the rejected message with id - 60046[[
oracle.fabric.common.FabricException: Cannot resolve binding to a fault policy [Faulted Activity Details:
Activity Name=null
Activity Id=null
Activity lineNumber=null
Reference Name=null
WsdlLocation=null
ActivityType=null
Here are my fault-policies and fault-bindings files:
<?xml version="1.0" encoding="UTF-8" ?>
<faultPolicyBindings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://schemas.oracle.com/bpel/faultpolicy ../xsd/FaultBindings.xsd"
                     xmlns="http://schemas.oracle.com/bpel/faultpolicy">
<composite faultPolicy="fault-policy"/>
</faultPolicyBindings>
<?xml version="1.0" encoding="UTF-8" ?>
<faultPolicies xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://schemas.oracle.com/bpel/faultpolicy ../xsd/FaultPolicies.xsd"
               xmlns="http://schemas.oracle.com/bpel/faultpolicy">
  <faultPolicy id="fault-policy">
    <Conditions>
      <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
name="medns:mediatorFault"  >
        <condition>
          <action ref="default-human-intervention"/>
        </condition>
      </faultName>
      <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:PersistirODS">
        <condition>
          <action ref="default-human-intervention"/>
        </condition>
      </faultName>
      <faultName>
        <condition>
          <action ref="default-human-intervention"/>
        </condition>
      </faultName>
    </Conditions>
    <Actions>
      <Action id="default-human-intervention">
        <humanIntervention/>
      </Action>
    </Actions>
  </faultPolicy>
</faultPolicies>
Again
Please help! I'm stuck on this for 2 days....

Could you try specifying test element inside condition like the following one
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults" name="medns:mediatorFault">
        <condition>
         <test>contains($fault.mediatorErrorCode, "AppropriateErrorCode")</test>
          <action ref="default-human-intervention"/>
        </condition>
      </faultName>

Similar Messages

  • I downloaded the new software for mac book pro with retina and the office doesn't work

    I downloaded the new software for mac book pro with retina and the office doesn't work

    cynthia alia wrote:
    I downloaded...
    ... but did you INSTALL it?
    Office::2008 was drag & drop, but Office::2011 has an installer you need to run.

  • Fault policies  for Mediator and BPEL

    Hi
    Can i use same fault-policies.xml for both mediator and BPEL or i need to create different fault-policies.xml

    Yes you can use the same file, just you need to mention the BPEL/Mediator name with in component tag. Like below in fault policy file.
    <component faultPolicy="FusionMidFaults">
    <name>MediatorName</name>
    <name>BPELName</name>
    </component>
    You can refer the below URL.
    https://blogs.oracle.com/ateamsoab2b/entry/fault_management_framework_by_example
    *7) Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.*
    thanks,
    Vijay

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • I got the newest iPod touch and it has a message cube thing like on an iPhone and when I try to send messages to my friends it will not let me. I thought it would need wifi so I tried it with that and it still doesn't work. Will someone please help me?

    I got the newest iPod and it has a messaging cube like on the iPhone and it will not let me send messages to my friends even with wifi. Please help me with my problem.

    Is your device recognized by your computer? If yes, copy the pictures and videos as shown in this article:
    Copying personal photos and videos from iPhone, iPad, or iPod touch to your computer
    If it is not recognized, try this first: iOS: Device not recognized in iTunes for Windows
    Disable autosync in iTunes, right click on it in the device list and choose "transfer purchases" to copy apps and other media bought in iTunes to your new library.
    Do the same again and choose "backup", to create a manual backup without syncing.
    Since your device will be erased due to the new iTunes library during the first sync, you can use this backup afterwards to restore your settings and data.
    Set up at least one contact and event on your computer before you start, to be able to merge calendars and contacts.

  • Tiles:put with beanName and JSF object doesn't work

    I got some recent (good) advice for using tiles:put and in the inserted tile getting access to the string in a JSF tag, as long as it is a static string. For example, if I do this in the page including the tile:
    <tiles:insert page="includedPage.jsp">
    <tiles:put name="somevar" value="something" />
    </tiles:insert>
    Then in includedPage.jsp:
    <tiles:importAttribute name="somevar" scope="request"/>
    <h:outputText value="#{requestScope.somevar}"
    That works fine. But now I'm trying to use this:
    <tiles:insert page="includedPage.jsp">
    <tiles:put name="somevar" beanName="varFromDataTable" />
    </tiles:insert>
    I can't get it in the includedPage.jsp - I think because the tiles tag can't find the JSF variable (created using the var= attribute of dataTable).
    Does anyone know how I would do this? I need the whole object, not just a string from the object, since the includedPage.jsp will be using many attributes from the bean.

    Hi Greg,
    What kind of error/issue you are facing.
    Thanks,
    Rohit

  • Since update, ipad has probs with contacts and mail! Doesn t work

    I can t open contacts! Try send email, the program closes suddenly. Same with contacts! Does somebody know the problem? The problem persists since update to ios5?, thx for help

    I cant say mine ever did that after ios 5..
    the only problems i noticed was the rapid battery drain..and when id go into my calender appoitments they would disappear..i had to exit and re-enter the callender app to make them appear again.
    Have u done a hard reset by holding down the home & sleep button for more than 15 secs ??
    Also ios 5.0.1 is out..have u updated to that..it could help correct ur issues ur having at the moment.

  • HT1476 does anyone knows what I need to do for apple talk to me? Or give an e-mail from apple from USA, because I need to talk with them and this website doesn´t work. Please, help me.

    I HATE APPLE! Does anyone knows how I can talk to them?

    Talk to them about what?
    You can click Contact Us at the bottom of this page for contact information

  • Facing issue while handling faults using fault-policies.xml

    Hi All,
    Scenario: One Asynchronous Bpel is trying invoke the webservice. When the status of the webservice is "Down", the BPEL will throw "System fault : remoteFault"
    This fault will be handled by the fault-policies.xml.
    CustomFaultHandler.java : basically it will print data to audit-trail and send data to the JMS Queue.
    I am facing some issues , when i am trying to handle faults using fault-policies.xml.
    Issue1: Display warning message at time of deployment : Warning: Schema validation failed for fault-policies.xmlXML-24506: (Error) Identity constraint validation error: 'Key sequence not found in key reference'
    Issue2: CustomFaultHandler.java is able to print data to audit-trail but unable to send data to the Queue. and why the policy file getting executed at time of "Start of Invocation" and then it's showing "Invocation faulted" ?
    Audit-Trail Message:
    *===========*
    Started invocation of operation "process" on partner "RemoteService".Started invocation of operation "process" on partner "RemoteService".
    [Fault Recovery] Invoked handleBPELFault on custom java action class "com.CustomFaultHandler".
    Invoke1
    190002190002
    default/TestjavaAction!5.0*soa_fcb2a5dd-06a7-47f9-bb88-cab14d343856/TestBPEL
    190002
    Faulted while invoking operation "process" on provider "RemoteService". Faulted while invoking operation "process" on provider "RemoteService".
    fault-policies.xml:
    *==========*
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1" id="ErrorHandlingModelr"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-java"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-java">
    <javaAction className="com.CustomFaultHandler"
    defaultAction="ora-terminate">
    <returnValue value="Manual" ref="ora-abort"/>
    </javaAction>
    </Action>
    <Action id="ora-abort">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    fault-bindings.xml:
    *===========*
    <?xml version="1.0" encoding="windows-1252" ?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <component faultPolicy="ErrorHandlingModelr">
    <name>TestBPEL</name>
    </component>
    </faultPolicyBindings>
    Warning Message when trying to deploy the composite to the server :
    =============================================
    Warning: Schema validation failed for fault-policies.xmlXML-24506: (Error) Identity constraint validation error: 'Key sequence not found in key reference'
    Error Message from server:
    *==============*
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the reported exception is: Fault not handled.
    failure to handle a fault thrown from a scope, by any blocks in the scope chain.
    This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope.
    A top-level fault handler should be added to the flow to handle faults not caught from within the flow.
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the reported exception is: Fault not handled.
    failure to handle a fault thrown from a scope, by any blocks in the scope chain.
    This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope.
    A top-level fault handler should be added to the flow to handle faults not caught from within the flow.
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:205)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at com.collaxa.cube.engine.dispatch.Dispatcher$ContextCapturingThreadFactory$2.run(Dispatcher.java:850)
    at java.lang.Thread.run(Thread.java:662)
    Please help..
    Thanks in Advance
    Edited by: Sharmistha Ghosh on May 16, 2012 12:37 PM

    My SOA suite version is 11.1.1.7 and i was getting the same warning  while compiling the Composite in JDeveloper. To fix it update your fault-policy.xml
    Change it to
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <faultPolicy version="0.0.1"
                     id="BPELProcessV1_Faults"
                     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
                     xmlns:xs="http://www.w3.org/2001/XMLSchema"
                     xmlns="http://schemas.oracle.com/bpel/faultpolicy"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    And it will solve the issue.

  • How do I use a NORMAL headset (dual 3.5mm) on my new Macbook pro retina? No usb ports available and headset buddy adapter doesn't work.

    Title says it all:
    How do I use a NORMAL headset (dual 3.5mm) on my new Macbook pro retina? No usb ports available and headset buddy adapter doesn't work.

    Hi Auracles1,
    Here's a pretty discussion regarding wireless printing with this device and a Mac.
    http://h30434.www3.hp.com/t5/Printer-networking-and-wireless/HP-Officejet-6500-E 709n-wireless-issue/m-p/258853
    I have a similar OfficeJet and it was a multi-step process. (1) Install printer drivers on the machine, (2) Add the printer queue in print & fax, (3) Run the "setup wizard" from the disc for wireless printing.

  • Using a MacBook with ONLY a Power Adapter

    HI!
    is it possible to use my MacBook with just the power adapter? The current batter and adapter are both dead, and I'm pretty low on cash. So I was thinking I would purchase a new adapter in Amazon. Thoughts? Thanks.

    Yes, you can use it on just the power adapter, without a battery installed.
    There is a significant performance decrease when a functional battery is not installed, but it will still work without a battery, just not as fast.
    Here is one of many links on the subject:
    http://techcrunch.com/2008/11/22/macbook-performance-drops-37-percent-without-ba ttery-installed/

  • Printer is overprinting old jobs on top of new jobs.  Using a Mac with OSx and a HP photosmart for over a year.  this just started happening.

    Printer is overprinting old jobs on top of new jobs.  Using a Mac with OSx and a HP photosmart for over a year.  this just started happening.

    RReset printing system again and the restart in Safe Mode . This will clear some caches,to do this hold down the Shift key when you hear the startup tone until a progress bar appears, after it has fully booted restart normally and add the printer.

  • I changed my main email on my apple ID and now it doesn't work and still uses my old one and with my new and old email my password doesn't work

    I changed my main email on my apple ID now when I try sign in with the new email it doesn't work and neither does my old one so I don't know what happened, any help?... I made a new apple ID and on my iPod it tries to use my old one and I can't change it to my new apple ID I've gone on to settings and iTunes and App Store and changed it to my new apple Id yet when I buy apps or try update them it uses my old apple ID I don't know what to do any help??

    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.
    If you can't log into Settings>iTunes and App stores with your new ID them mean there is a problem. Try restting the password and try to sign in again.
    iTunes Store: Retrieving and changing passwords (Apple ID)
    Can you sign in with the new ID on your computer?
    Last, contact iTunes.
    Apple - Support - iTunes - Contact Us

  • The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • Using iPhone 4s with IOS5 and my Music icon has disappeared.  How do I get it back?  Please.

    Using iPhone 4s with IOS5 and my Music icon has disappeared.  Please help me to get it back.

    It should be in your applications folder.  Locate it; click and hold onto it then drag it back to where it was.

Maybe you are looking for

  • Can't change MAC address of my wireless card on Windows XP

    Dear Forum Members, I have recently bought a notebook, Lenovo IdeaPad G550L (I haven't found section for the G series here on the forum) and would like to use its WiFi adapter (BCM4310 according to Everest) with explicitly changed MAC address. I inst

  • Won't Start UP

    Yesterday I was working on the "sharing & Permissions" for my HD in order to get my iPad to back up. While doing that I accidentally selected "apply to enclosed items" for me (the owner). I couldn't get it to stop and when it was all through and I re

  • Multiple form inside one jsp file

    I have to use nested jsp forms in my latest project ex:- <html> <head> </head> <body> <form id="form1" name="form1" method="post" action="ex.htm"> <form id="form2" name="form2" method="post" action="ex2.htm"> </form> <form id="form3" name="form3" met

  • Using pdf file images in Premiere???

    I have some botanical images which are in a pdf file. Will I be able to insert them into the timeline of Adobe Premiere Pro CS4? Thanking all respondents in advance... davidvee

  • Error in populating Custom table entries records

    Hi, While uploading data from excel sheet  to one of the custom tables (around 4500 records at one go), fields get populated in respective fields. One of the fields is Equnr(Equiment number) in that table. When uploading with 10 character , when we c