Default fault in Mediator

I have a wsdl with 1 sync operation input/output and 2 faults defined
i switch off the backend system to which i route in the mediator
now i'm wondering how i could influence the default fault the mediator triggers and sends back to the client
i changed orders in .mplan file and the orders in the wsdl of the bindings and the porttype but nothing changed
when i remove either one of the faults in the porttype it does return the other fault
so can i have influence on the default returned fault or is the easiest way to route to a bpel and catch them over there
-- Eric

Any reply please

Similar Messages

  • Default fault handler

    Hello,
    I have a prospect that would like to have a generic default exception handler that will include a generic human task.
    The human task will receive the error details and allow the user to instruct the BPM engine to retry that faulty activity and resume the process from the point where it was stopped, or terminate the current process instance.
    Is there a supported way of doing so ?
    Thanks,
    Meni,

    Thank you for idea, that would solve this problem. But generally speaking, does Oracle BPEL Server support concept of default compensation handlers and default fault handlers by WS-BPEL1.1 specification or not? By my experience, it doesn't. Unluckily, you cannot use universal compensation activity (without name of the scope) either, and so you have to use in every fault handler list of compensation activities, each of them with name of specific scope. Am I wrong?

  • Get Instance ID Mediator fault

    Hi,
    I have defined fault policy and binding to handling fault in mediator.
    As documented by Oracle it works only for parallel routing.
    I am calling a java class using java action in fault policy. It is working fine for me and the fault policy is getting invoked and I am able to handle the errors.
    But now I want to get the composite instance Id, payload and fault details and log via fault policy using my java class.
    Any idea how it can be done/
    The IFaultRecoveryContext is not able to access the getId() method.
    With Regards,
    Harsh
    Edited by: Hg on May 9, 2013 4:51 AM
    Edited by: Hg on May 9, 2013 4:52 AM

    Hi Anuj,
    I tried this but the java class is giving me error in the jdeveloper while compiling.
    Error(48,48): cannot access oracle.tip.mediator.infra.exception.MediatorException
    Somehow it is not able to access method getId().
    Here is my java class
    package info.mazanatti;
    import com.collaxa.cube.engine.fp.BPELFaultRecoveryContextImpl;
    import oracle.integration.platform.faultpolicy.IFaultRecoveryContext;
    import oracle.integration.platform.faultpolicy.IFaultRecoveryJavaClass;
    import oracle.tip.mediator.common.error.recovery.MediatorRecoveryContext;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    public class CustomFaultJavaAction implements IFaultRecoveryJavaClass
    public void handleRetrySuccess(IFaultRecoveryContext ctx)
    System.out.println("This is for retry success");
    handleFault(ctx);
    public String handleFault(IFaultRecoveryContext iFaultRecoveryContext) {
    System.out.println("Action context:\n" + iFaultRecoveryContext.toString());
    System.out.println("Policy Id: " + iFaultRecoveryContext.getPolicyId());
    System.out.println("Fault Type: " + iFaultRecoveryContext.getType());
    if (iFaultRecoveryContext instanceof BPELFaultRecoveryContextImpl)
    // Get BPEL specific context here
    BPELFaultRecoveryContextImpl bpelCtx = (BPELFaultRecoveryContextImpl) iFaultRecoveryContext;
    // Writing an audit entry
    bpelCtx.addAuditTrailEntry("hi there");
    // Getting details
    System.out.println("Composite Name: " + bpelCtx.getCompositeName());
    // Getting an instance variable
    Element payload;
    payload = (Element) bpelCtx.getVariableData("inputVariable", "payload", "/");
    Node node;
    node = payload.getFirstChild();
    if (iFaultRecoveryContext instanceof MediatorRecoveryContext)
    MediatorRecoveryContext ctx;
    ctx = (MediatorRecoveryContext)iFaultRecoveryContext;
    String id;
    id = ctx.getMediatorMessage().getId();
    // Writing an audit entry
    System.out.println("InstanceId " + id);
    // Implement some logic to decide the outcome
    return "ABORT";
    Let me know if you have any suggestion.
    With Regards,
    Harsh

  • Fault message in BPM process

    I have a bpm process with a sync send step. i have a default fault message strcuture and my sync interface ( a proxy) is using this as fault message format. In case of an fault in the proxy i get the fault message returned. In my bpm i have an exception handler installed for the exception. What i would like to do in my process is send the fault message to another step like a send step.
    i m not looking to understand sync/async bridges or how to setup a bpm process. I am looking for help in how i can work with the fault message in my bpm process other then only let it trigger the exception routine

    Hi Frank,
    in the view of your BP an exception at proxy side is no reason to stop processing. The message will be put to your interface and it is your decision to put data into a container and to send it. For using a "global" container for every kind of message have a look to my weblog <a href="/people/udo.martens/blog/2006/04/28/bpm-container-for-any-message-type Container for any Message Type</a>. If your send step is not successful and you want to catch that: Define an exception branch for your block, where you send a senseful message to notice the error. You can refer in the original send step the exception, during runtime the process jumps into the exception branch and is doing that what you defined there.
    Regards,
    Udo

  • Default AIA Error Message in BPEL Console

    Hi:
    I have created a simple BPEL process whose input in Oracle AIA FP (CreateItemEBM) structure and output is also (CreateItemResponseEBM) structure. I have done simple assignment in the process.
    Now when there is any error in the BPEL process , automatically the AIAErrorTask is instantiated.
    Is there a way to block this task from being instantiation ?
    Regards.
    Sourav

    yes this is possible. By default the AIA installation is using fault-policies. If a fault occures the fault policy is triggered and the AIAError processes are started. You could remove the default-fault policies or create a specific opne for your process.
    http://orasoa.blogspot.com/2008/03/bpel-fault-policies-best-practise.html
    http://www.oracle.com/technology/tech/soa/cab/OracleSOACabWebinar03-25-08SOAExceptions.pdf
    Marc

  • How to handle network connection error to bussiness service on OSB

    Hello everyone.
    Thank for your attentions. I need some help for error handling in OSB 11g. I have a proxy service that route to a business service to check profile status. I'm using java client to consume proxy service and return result to customers. The problem that I'm face to is the handling network connection fail.
    I want to get some message (or any useful information) from proxy service to report that connection to Business service is unavailable when that connection fail. I tried to add Error Handling but I cannot found that action from option list.
    Can you review my proxy service and tell me some resolutions?
    Any suggestion is appreciated.
    Thank in advance
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con4="http://www.bea.com/wli/sb/stages/logging/config">
      <ser:coreEntry isProxy="true" isEnabled="true">
        <ser:binding type="SOAP" isSoap12="false" xsi:type="con5:SoapBindingType" xmlns:con5="http://www.bea.com/wli/sb/services/bindings/config">
          <con5:wsdl ref="Test/resources/wsdl/PortalSide"/>
          <con5:port>
            <con5:name>PortalSideSOAP</con5:name>
            <con5:namespace>http://www.example.org/PortalSide/</con5:namespace>
          </con5:port>
          <con5:selector type="SOAP body"/>
          <con5:WSI-compliant>false</con5:WSI-compliant>
        </ser:binding>
        <ser:monitoring isEnabled="false">
          <ser:aggregationInterval>10</ser:aggregationInterval>
          <ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
        </ser:monitoring>
        <ser:reporting>true</ser:reporting>
        <ser:logging isEnabled="true">
          <ser:logLevel>debug</ser:logLevel>
        </ser:logging>
        <ser:sla-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:sla-alerting>
        <ser:pipeline-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:pipeline-alerting>
        <ser:ws-policy>
          <ser:binding-mode>wsdl-policy-attachments</ser:binding-mode>
        </ser:ws-policy>
      </ser:coreEntry>
      <ser:endpointConfig>
        <tran:provider-id>http</tran:provider-id>
        <tran:inbound>true</tran:inbound>
        <tran:URI>
          <env:value>/Test/proxy-services/DnICT_WSDL_PS</env:value>
        </tran:URI>
        <tran:inbound-properties/>
        <tran:all-headers>false</tran:all-headers>
        <tran:provider-specific>
          <http:inbound-properties/>
        </tran:provider-specific>
      </ser:endpointConfig>
      <ser:router>
        <con:pipeline type="request" name="GetRequestInfo_pipeline_pair_request">
          <con:stage name="InputProcess_stage">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
            </con:context>
            <con:actions>
              <con1:assign varName="docId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b86</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/documentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="depId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b69</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/departmentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="srvId">
                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7d41</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/serviceId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
            </con:actions>
          </con:stage>
        </con:pipeline>
        <con:pipeline type="response" name="GetRequestInfo_pipeline_pair_response">
          <con:stage name="ErrorHandling">
            <con:context/>
            <con:actions/>
          </con:stage>
        </con:pipeline>
        <con:flow>
          <con:pipeline-node name="GetRequestInfo_pipeline_pair">
            <con:comment>Lay cac thong tin trong form search</con:comment>
            <con:request>GetRequestInfo_pipeline_pair_request</con:request>
            <con:response>GetRequestInfo_pipeline_pair_response</con:response>
          </con:pipeline-node>
          <con:branch-node type="condition" name="branching_public_services">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
            </con:context>
            <con:branch-table variable="depId">
              <con:branch name="SoTTTT">
                <con:operator>equals</con:operator>
                <con:value>1</con:value>
                <con:flow>
                  <con:branch-node type="condition" name="DnICT_dept_services">
                    <con:context/>
                    <con:branch-table variable="srvId">
                      <con:branch name="DichVu_1">
                        <con:operator>equals</con:operator>
                        <con:value>1</con:value>
                        <con:flow>
                          <con:route-node name="RouteToDnICT_BS">
                            <con:context>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
                              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
                            </con:context>
                            <con:actions>
                              <con3:route>
                                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4c</con2:id>
                                <con3:service ref="Test/busines-services/DnictServiceBS" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
                                <con3:operation>selecttrangthai</con3:operation>
                                <con3:outboundTransform>
                                  <con1:assign varName="username">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4b</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('stttt')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:assign varName="password">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4a</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('123456')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:replace contents-only="true" varName="body">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b49</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText><![CDATA[<soap:selecttrangthai       xmlns:soap="http://soapinterop.org/">
         <username       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$username}</username>
         <password       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$password}</password>
         <masohoso       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$docId}</masohoso>
    </soap:selecttrangthai>]]></con2:xqueryText>
                                    </con1:expr>
                                  </con1:replace>
                                </con3:outboundTransform>
                                <con3:responseTransform/>
                              </con3:route>
                            </con:actions>
                          </con:route-node>
                        </con:flow>
                      </con:branch>
                      <con:default-branch>
                        <con:flow/>
                      </con:default-branch>
                    </con:branch-table>
                  </con:branch-node>
                </con:flow>
              </con:branch>
              <con:branch name="SoGTVT">
                <con:operator>equals</con:operator>
                <con:value>2</con:value>
                <con:flow/>
              </con:branch>
              <con:default-branch>
                <con:flow/>
              </con:default-branch>
            </con:branch-table>
          </con:branch-node>
        </con:flow>
      </ser:router>
    </xml-fragment>P/S:
    When connection to business service is fail, I got this soap message:
    <soapenv:Envelope       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>BEA-380002: No route to host</faultstring>
         <detail>
         <con:fault       xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380002</con:errorCode>
         <con:reason>No route to host</con:reason>
         <con:location>
         <con:node>RouteToDnICT_BS</con:node>
         <con:path>request-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>Regards.
    Cuong Pham
    Edited by: Doubt_Man on Jul 28, 2011 10:26 AM

    you could add an error handler on the route-action in your proxy service.
    in there you could investigate the $fault variable and for example check which BEA-... errorcode comes back.
    then you can decide what to reply back..for example create your own soap-fault and set your own messages.
    now the default $fault generated by the osb itself will get returned
    http://www.xenta.nl/blog/2010/07/17/oracle-service-bus-11g-handling-soap-faults/
    maybe that one helps you a bit

  • How to make internal speaker of a computer system on with a java program

    hi experts........
    i got a requirement that i have to just make a sound when i get some exception. is this possible to make internal speaker on from a java program? if so please tell me the solution
    thanks
    Naresh G.

    thanks for the solution it is making default
    fault beep ....... what if i explicitly neet to put
    on internal specker rather than default beep of
    windows....You can't. Some systems might not even have speakers. Standard sound output will be done using the sound card.
    and tell me some solution .... first let me tell
    tell u the situation...
    it is a web application , a jsp contains an
    ns an input type text...i will give some input in the
    text box where i have to play a wave file through
    javascript function if that input is wrong...... and
    it should happen in a javascript function ....... So go ask in a Javascript forum.

  • Uniqueness Constraint Violation When Generating Web Service Proxy

    JDeveloper 10.1.3.2 & 10.1.3.3
    I'm receiving an error message that a class has already been gerated when attempting to use JDeveloper to create the stubs for a web service from the wsdl & xsd's. The problem seems to center on the declaration for the faults in one xsd file:
    =========================
         <!--Faults-->
         <xs:element name="userLookupFault" type="tns:testFaultType"/>
         <xs:element name="testFault" type="tns:testFaultType">
              <xs:annotation>
                   <xs:documentation>testFault should be the 'default' fault type for faults that are not categorized
                        into more specific faults.</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="testFaultType">
              <xs:sequence>
                   <xs:element name="message" type="xs:string" nillable="true" minOccurs="0" maxOccurs="1"/>
                   <xs:element name="timestamp" type="xs:dateTime" nillable="false" minOccurs="1" maxOccurs="1"/>
              </xs:sequence>
         </xs:complexType>
    =========================
    Apparently because the userLookupFault and testFault elements are both of type testFaultType JDeveloper attempts to create the testFaultType class twice. I've been able to get the proxy files to generate if I change one of the elements to a different type:
    =========================
         <xs:element name="userLookupFault" type="tns:userLookupFaultType"/>
         <xs:complexType name="userLookupFaultType">
              <xs:sequence>
                   <xs:element name="message" type="xs:string" nillable="true" minOccurs="0" maxOccurs="1"/>
                   <xs:element name="timestamp" type="xs:dateTime" nillable="false" minOccurs="1" maxOccurs="1"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="testFault" type="tns:testFaultType" />
         <xs:complexType name="testFaultType">
              <xs:sequence>
                   <xs:element name="message" type="xs:string" nillable="true" minOccurs="0" maxOccurs="1"/>
                   <xs:element name="timestamp" type="xs:dateTime" nillable="false" minOccurs="1" maxOccurs="1"/>
              </xs:sequence>
         </xs:complexType>
    =========================
    Upon review I see that the wsdl files that fail to generate attempt to use both userLookupFault and testFault but those that use only one generate successfully.
    Has anyone else experienced this issue?
    Is there a reason two faults cannot be of the same type?

    WSDLs were supplied by third party managing the web service I am attempting to generate the proxies for. I'm unsure of the method used to create the WSDL files.

  • Problem in activating change lists

    hello every one,
            here i am new to XI. i am doing some R&D regarding the activation of IR objects. At first i can see all the objects including the software component version created under one standard change list. i just tried to activate the software component alone. on the next second it created another change list giving some error. please any one guide me how to overcome this problem.

    When you add name space into your software component version, you have to activate three objects first:
    The Modified SWCV
    Two default fault data types.
    If you do not do above first, then you created other objects, you won't be able to activate all of them once.
    You still need to select three object I mentioned in the list, activate them first, then activate other objects later.
    Hope it helps.
    Liang

  • Customizing AIAEHNotification.xml

    Hi
    I have tried customizing the AIAEHNotification.xml to show the html content in the mail send. After saving the file I have updated it in the MDS as per the steps written in User Guide. Now from the JDev I can even see the updated file from the MDS.
    The problem is I'm not able to see any formated HTML content. Do I need to set up anything else to send formatted HTML content ? I can see other formatted html in the mail address specified which proves the email client can show the formatted content. below is the content of AIAEHNotification.xml. the contents are appearing but not in a tabular format.
    ---- AIAEHNotification.xml -----------------------------------------------------------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <AIAEHNotification xmlns="http://schemas.oracle.com/aia/notify" version="1.0">
    <EMAIL>
         <SUBJECT>Error in AIA #@#XPATH.{default:Fault/default:FaultNotification/default:FaultingService/default:ID}#@# Process</SUBJECT>
         <BODY>An error has occurred during the processing of #@#XPATH.{default:Fault/default:FaultNotification/default:FaultingService/default:ID}#@# Process requires your attention. Please access the details from the url mentioned below.
         <br></br>     
         <TABLE cellspacing="2" cellpadding="1" border="1" align="left" width="100%">
    <tr>
         <th>
    Error
    </th>
    <th>
    Details
    </th>
         </tr>
         <tr>
              <td width="50%">Code</td>
              <td width="50%">#@#XPATH.{default:Fault/default:FaultNotification/default:FaultMessage/default:Code}#@#</td>
         </tr>
         <tr>
              <td width="50%">Text</td>
              <td width="50%">#@#XPATH.{default:Fault/default:FaultNotification/default:FaultMessage/default:Text}#@#</td>
         </tr>
         <tr>
              <td width="50%">Stack</td>
              <td width="50%">#@#XPATH.{default:Fault/default:FaultNotification/default:FaultMessage/default:Stack}#@#</td>
         </tr>
         </TABLE>
         </BODY>
    </EMAIL>
    <FYI_EMAIL>     
         <SUBJECT>Error in AIA #@#XPATH.{default:Fault/default:FaultNotification/default:FaultingService/default:ID}#@# Process FYI</SUBJECT>
         <BODY>An error has occurred during the processing of #@#XPATH.{default:Fault/default:FaultNotification/default:FaultingService/default:ID}#@# Process requires your attention. Please access the details from the url mentioned below.
         </BODY>
    </FYI_EMAIL>
    <URL>
    ==================================================================================
    Please click on the following URL To view the instance details in the em console :
    ==================================================================================
    http://<host>:<port>/em/faces/ai/soa/messageFlow?target=/<>/<domain>/<server1>/default/#@#PROPS.{compositeName}#@#+[#@#PROPS.{compositeRevision}#@#]%26type=oracle_soa_composite%26soaContext=#@#PROPS.{compositeDN}#@#/#@#PROPS.{compositeInstanceID}#@#
    ==================================================================================
    </URL>
    <EXT_URL>
    ==============================================================
    Please access the task in the Worklist Application :
    ==============================================================
    http://<host>:<port>/integration/worklistapp/faces/home.jspx
    ==============================================================
    </EXT_URL>
    </AIAEHNotification>
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    I try to Install "Product MDM: EBS"
    I know I have to install "Foundation Pack" first,
    Could any one please let me know if I need to Install "Product MDM Base Pack" ??
    Thanks!! I am very appreciated any help!! Jenny

  • How to monitor access ports to server on LMS 4.0

    Hi everybody!
    I would like to monitor access ports to servers in cases:
    - When port to server down, alert appears in Fault Monitor panel
    - Monitor when bandwidth utilization of access ports exceeds 60%.
    I configured Fault Threshold on DFM>System Defined Groups>Access port Settings and Poller settings on the same group but it did not work when I shut a port to server.
    Please help me!
    Thanks and Best Regards

    By default Fault monitor manages Trunk Ports. You can check if the interface you worked on is managed :
    Monitor > Fault Settings: Setup > Fault Device Details
    You can check if the port/interface shows true as managed, which you tested.

  • Explanation/help needed

    Hi everyone,
    I need some help about VSAN/VLAN configuration in UCS 2.0 (1s).
    Previosly i used to create VLAN dedicated to FCoE traffic, and then create VSAN and map it to previosly defined VLAN to carry trafic. And that works just like it should.
    This morning i have upgraded one UCS to 2.0 (1s)
    And errors with vsan/vlan configuration begins.
    Before update i had created vlans 40 and 41 dedicated to fcoe, and two vsans 10 (mapped to 40) and 20 (mapped to 41).
    Erros were as follows :
    <faultInst
    ack="no"
    cause="vlan-misconfigured"
    changeSet=""
    code="F0833"
    created="2011-11-23T12:19:34"
    descr="VLAN default is error-misconfigured because of conflicting vlan-id with an fcoe-vlan"
    dn="fabric/lan/net-default/fault-F0833"
    highestSeverity="critical"
    Code : F0833

    What type of FC switch are the Fabric Interconnects uplinked to? If it is not Cisco then you can create a new VSAN for Fabric A and then change the uplinks and vHBAs in Fabric A to this new VSAN. After Fabric A is done do Fabric B to a different VSAN/FCoE vlan. As long as host SAN multipathing is configured properly then there shouldn't be an outage.
    If the uplink switch is Cisco then you will need to take an outage because if you change the FCoE VLAN the vHBAs will logout of both FC fabrics and then log back in. This should only take about 30 seconds though.
    The other way is to change each Cisco FC switch to something besides VSAN 1, this can be easily scirpted with a very minor outage and can be done one fabric at a time. VSAN 1 should never be used for production hosts/storage. It is as bad as using VLAN 1 on the Ethernet side.
    If your northbound switch isn't Cisco you can do this one Fabric at a time. As long as host multipathing is configured properly then there will not be an outage.
    Create a new VSAN for Fabric A
    VSAN 20 - FCoE VLAN 920 (make sure this vlan isn't in use, if it is use another non existent VLAN)
    For Fabric B
    VSAN 40 - FCoE VLAN 940 (make sure this vlan isn't in use, if it is use another non existent VLAN)

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

  • Can SOA 11g fault policy handle XSD Validation errors from the Mediator?

    I would like all errors in my SOA process to go through the fault-policies.xml. But I don't seem to be able to catch any mediator error caused by an XSD validation failure. A sample of the sort of error I am trying to 'catch' is:
    Nonrecoverable System Fault          oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01303:[Payload default schema validation error]XSD schema validation fails with error Invalid text 'A' in element: 'TermCode'Possible Fix:Fix payload and resubmit.
    My fault-policies.xml file is as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1"
         id="NewStudentRegistrationFaults"
    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:medns="http://schemas.oracle.com/mediator/faults" name="medns:1303">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:GetNewStudentRegistrationFile">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults" name="medns:TYPE_ALL">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:mediatorException">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:bindingFault">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:remoteFault">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="java-fault-handler">
    <javaAction className="edu.villanova.soa.handlers.FaultNotificationHandler"
    defaultAction="ora-human-intervention" propertySet="faultNotificationProps">
    <returnValue value="OK" ref="ora-human-intervention"/>
    </javaAction>
    </Action>
    <!-- Human Intervention -->
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <!-- Terminate -->
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    <!-- Property sets used by custom Java actions -->
    <Properties>
    <!-- Property set for FaultNotificationHandler customer java action -->
    <propertySet name="faultNotificationProps">
    <property name="from">[email protected]</property>
    <property name="to">[email protected]</property>
    <property name="subject">Reporting a SOA fault</property>
    </propertySet>
    </Properties>
    </faultPolicy>
    <faultPolicy version="2.0.1"
         id="MediatorFaults"
    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:medns="http://schemas.oracle.com/mediator/faults" name="medns:1303">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="java-fault-handler">
    <javaAction className="edu.villanova.soa.handlers.FaultNotificationHandler"
    defaultAction="ora-human-intervention" propertySet="faultNotificationProps">
    <returnValue value="OK" ref="ora-human-intervention"/>
    </javaAction>
    </Action>
    <!-- Human Intervention -->
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <!-- Terminate -->
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    <!-- Property sets used by custom Java actions -->
    <Properties>
    <!-- Property set for FaultNotificationHandler customer java action -->
    <propertySet name="faultNotificationProps">
    <property name="from">[email protected]</property>
    <property name="to">[email protected]</property>
    <property name="subject">Reporting a SOA rejected msg. fault</property>
    </propertySet>
    </Properties>
    </faultPolicy>
    </faultPolicies>
    My fault-bindings.xml file is as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <composite faultPolicy="NewStudentRegistrationFaults"/>
    <component faultPolicy="MediatorFaults">
    <name>NewStudentRegistrationMediator</name>
    </component>
    <service faultPolicy="NewStudentRegistrationFaults">
    <name>GetNewStudentRegistrationFile</name>
    </service>
    </faultPolicyBindings>
    You'll notice that I've tried a number of ways (and various other combinations) to try to steer the error above into my Java fault handler but nothing has meet with success. The mplan is as follows:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--Generated by Oracle SOA Modeler version 1.0 at [2/3/10 1:21 PM].-->
    <Mediator name="NewStudentRegistationMediator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/sca/1.0/mediator"
    wsdlTargetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Experiments/NewStudentRegistration/GetNewStudentRegistrationFile%2F">
    <operation name="Get" deliveryPolicy="AllOrNothing" priority="4"
    validateSchema="true">
    <switch>
    <case executionType="queued" name="RegToBanner.insert_2">
    <action>
    <transform>
    <part name="$out.NewstudentregistrationCollection"
    function="xslt(xsl/NewStudentRegistration_To_NewstudentregistrationCollection.xsl, $in.body)"/>
    </transform>
    <invoke reference="RegToBanner" operation="insert"/>
    </action>
    </case>
    </switch>
    </operation>
    </Mediator>
    I'm a newbie to Oracle SOA. So perhaps I am missing the obvious. But I haven't read much in the documentation specifically about using the XSD validation option on the mediator and have seen nothing specifically about catching this sort of exception in the fault policy (apart from the faults I already have in my policy). Can anyone suggest what I am doing incorrectly here or perhaps whether what I am attempting to do is not possible? Thanks.
    - Cris

    Has anyone got it working yet?
    In my case, I have the following sequence:
    FileAdapter -> Mediator1 -> Mediator2->DB Adapter
    I am deliberately introducing validation error in File. Isn't it correct to assume Fault framework would get triggered at Mediator1 level since we are invoking FileAdapter service?
    I am getting a strange behaviour. If I enable XSD validation at Mediator1 level, process is Faulted with no re-try option. However, if I enable XSD validation ONLY at Mediator2 level, I get Recoverable fault. There seems to be some disconnect between documentation and reality. I am using JDeveloper 11.1.1.3.0 version and SOA Suite 11g.
    Thanks,
    Amjad.

  • I have two faults! 1, an error comes up in Ps CC 2014 "could not apply the saved panel configuration, restring to default and my tools have disappeared completely and anything ive tried I cannot get them back not even the drop down menu in 'window' helps

    I have two faults! 1, an error comes up in Ps CC 2014 "could not apply the saved panel configuration, restring to default and my tools have disappeared completely and anything ive tried I cannot get them back not even the drop down menu in 'window' helps at all. And 2, Lr everytime I load it up it gives me the option to retry or switch to and it takes a while for me to even get anywhere with it I think it has something to do with the catalogs? I've been using these programs for a few years now on a Mac...no problem but when I use a PC when I'm away coz it's the (only) comp available these happen PC's are so useless! Please can anyone help??...

    I can give a few suggestions on Photoshop CC 2014, but Lightroom is a separate forum and you should ask Lr questions there.
    First close Photoshop.
    Then start Photoshop by double-clicking on it's icon and very quickly after that, hold down the ctrl-alt-shift keys until you see the reset dialog. answer "Yes" to delete settings, and let Photoshop continue to load.
    It's tricky to do and may take a few tries, but at least it should reset Photoshop CC 2014 to defaults.
    Gene

Maybe you are looking for

  • Moving .html to .asp_vb in MMDocumentTypes.xml causes DW to stop responding.

    I have edited the MMDocumentTypes.xml in C:\Users\<user name>\AppData\Roaming\Adobe\Dreamweaver CS5.5\en_US\Configuration\DocumentTypes file to move the .html and .htm extensions to the asp_vb section because I process .html as .asp. This is the only

  • When sending a PDF, firefox sends a text / html

    When sending a PDF, firefox sends a text / html. They cant open the PDF there I send

  • Size/Resolution of Backgrounds and Images

    Hello, I have seen tons of questions and answers about adjusting the resolution for images and I have seen many answers. But in my case I am designing my entire app in photoshop (buttons, backgrounds, images) and then I wanted to take those assets an

  • Use-up ECO  and APS

    Hi, please , I need to input to ERP instance ECO with Use-up information . Run data collection to APS and run a plan in APS instance which will calculate use-up date and send this use-up date to planner . Can anyone help me , how to do it . Thank you

  • KeyDown keyPressed Problem

    I made a little test movie where I placed the below two scripts, one in a movie script, and the other in a frame script. The keyDown function in the movie script was accessible all of the time, and the other script was only accessible while the play