Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Timeout at Fault policy

521236Jul 14 2012 — edited Sep 8 2012
Hi experts,

I would like to use the Fault Policy Framework but it doesn't seem to work. Here are the logs, fault-policies.xml and fault-bindings.xml.
The engine can find my fault action (ora-action-termination) but nothing happens. I don't get back response for 15 seconds (when I call my BPEL process) and afterwards I get this SOAP fault:
<faultstring>Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.</faultstring>
Do you have any idea why the fault action doesn't work?
Thank you very much!

V.

FINE: FaultPolicyManager.loadFiles Loading default fault policy file fault-policies.xml
FINE: FaultPolicyManager.loadFiles Loading dfault fault binding  file fault-bindings.xml
FINE: FaultPolicyManager.loadFiles ------->Found fault policy for composite  default/NotifyInventoryChange!1.0*soa_e3162783-6f4c-41f7-b3e4-0f9460d20174
INFO: FaultPoliciesParser.parsePolicies ------->Begin Parsing of policy file
FINE: FaultRecoveryManagerImpl.getServiceEngine  Check Service engine implementation.mediator:implementation.bpel
FINE: FaultRecoveryManagerImpl.getServiceEngine  Check Service engine implementation.bpel:implementation.bpel
FINE: RecoverFault.Log ServiceEngine=bpel:resolveToActionRef::Begin resolveToActionRef....
FINE: RecoverFault.Log ServiceEngine=bpel:resolveToActionRef::looking for policy....ora-bpelx-remoteFault
FINE: RecoverFault.Log ServiceEngine=bpel:resolveToActionRef:looking for action in policy....ora-bpelx-remoteFault
FINE: FPFaultPolicy.Log ------->getActionRefForFault:Check Fault Name {http://schemas.oracle.com/bpel/extension}remoteFault with {http://schemas.oracle.com/bpel
/extension}remoteFault
FINE: FPFaultPolicy.Log ------->getActionsForRef:Matched to action ora-action-termination
FINE: RecoverFault.Log ServiceEngine=bpel:resolveToActionRef:Action found ora-action-termination
FINE: RecoverFault.Log ServiceEngine=bpel:resolveAndRecover:Action found ora-action-termination
FINE: RecoverFault.Log ServiceEngine=bpel:recoverAndChain:Attempt recovery using Action ora-action-termination
<Jul 14, 2012 10:33:57 AM BST> <Error> <oracle.soa.bpel.engine.delivery> <BEA-000000> <No response found for the reply for conversation id urn:EC1875C0CD9611E1B
FFD296AAC282875>
<Jul 14, 2012 10:33:57 AM BST> <Error> <oracle.webservices.service> <OWS-04086> <javax.xml.rpc.soap.SOAPFaultException: Waiting for response has timed out. The
conversation id is null. Please check the process instance for detail.
        at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.generateSoapFaultException(WebServiceEntryBindingComponent.java:1193)
        at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:971)
        at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
<?xml version="1.0" encoding="UTF-8"?>
<faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <faultPolicy id="ora-bpelx-remoteFault" version="1.0"
                 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-action-termination"/>
                </condition>
            </faultName>
        </Conditions>
        <Actions>
            <Action id="ora-action-termination">
                <abort/>
            </Action>
            <Action id="ora-action-human-intervention">
                <humanIntervention/>
            </Action>
            <Action id="ora-action-retry">
                <retry>
                    <retryCount>3</retryCount>
                    <retryInterval>2</retryInterval>
                    <!--exponentialBackoff/-->
                    <retryFailureAction ref="ora-action-termination"/>
                    <!--retryFailureAction ref="ora-action-termination"/-->
                </retry>
            </Action>
        </Actions>
    </faultPolicy>
</faultPolicies>
<?xml version="1.0" encoding="windows-1252" ?>
<faultPolicyBindings version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schemas.oracle.com/bpel/faultpolicy xsd/fault-bindings.xsd"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    
    <composite faultPolicy="ora-bpelx-remoteFault" />
    
</faultPolicyBindings>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2012
Added on Jul 14 2012
29 comments
1,536 views