2 Replies Latest reply on Jan 9, 2013 12:24 PM by Bagagem

    Is it possible to change Fault Policy values using a configuration plan?

    luismi fernandez
      Hi All,

      I know that redeploying the fault policy file in the MDS is a way to do this, but I'd like to know if it's possible to do this using a configuration plan.

      Thanks in advance,
        • 1. Re: Is it possible to change Fault Policy values using a configuration plan?
          Try this. Add inside the <composite> node of the configuration plan.

          <property name="oracle.composite.faultPolicyFile">

          I do this and have policies named fault_policy_dev.xml, fault_policy_qa.xml, and so on. Works just fine.
          • 2. Re: Is it possible to change Fault Policy values using a configuration plan?
            sorry for ressurrect this thread...

            I think I understood the doubt of luismi fernandez, i'm actually having the same doubt...

            I know it is possible to change the reference in the composite.xml to the fault policy file through configuration plan, however I have several policies defined and want to change only one property - emailToAddress:
            <?xml version="1.0" encoding="UTF-8"?>
            <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy"
                <faultPolicy version="1.0" id="CompanyInvocation_ServiceFaultPolicy"
                        <faultName xmlns:sh="http://company.com/framework/statusHandler/v1" name="sh:invocationFault">
                                <action ref="alert-and-person-intervention"/>
                        <Action id="ora-person-intervention">
                        <Action id="alert-and-person-intervention">
                            <javaAction className="com.company.framework.FaultEmailAlerter"
                            <returnValue value="OK" ref="ora-person-intervention"/>
                      <propertySet name="emailSettings">
                        <property name="emailServer">email-server</property>
                        <property name="emailPort">25</property>
                        <property name="emailToAddress">myemail@mailserver.com</property>
                        <property name="emailFromAddress">theiremail@mailserver.com</property>
            Is it possible to change Fault Policy property using a configuration plan?

            Best regards,