Compressor is "Waiting" forever!

Hey everyone...
i don't know what the issue is. i submit a job to compressor, and it takes the job, but stays on "waiting" forever!
i have tried some fixes i found in these forums... deleting 3rd party software, changing destination folders... and i've tried submitting a job about every way i know of... and nothing works!
i compressed a project yesterday, and it was fine... finished the job in a respectable amount of time... today, it started a job fine... actually 2 jobs, 4 targets... but it said some obscene amount of time to finish... something like 24 hours for the job. i know it doesn't take that long. i quit that job earlier, and ever since it's given me issues.
oh, and i've restarted my computer about 3 times since... so don't be a smart guy ;D

Not sure if you're still have this problem, but I think he means, take a look at the Batch Monitor.
Once you click on Batch Monitor, you can see all the jobs which are being processed on your Mac.
There may be a few ahead of your current job, which are not being displayed in your 'History window.

Similar Messages

  • BPEL Test waits forever to receive callback from human task service

    Hi,
    I've created a test (CreditCardInvalidTest.xml) to test a bpel process (testbpel.bpel) which contains a call to a human task service. The problem is when the test executes it waits forever to receive the response message from the human task service but clearly i've emulated it! Would appreciate help.
    I've attached both files and highlighted the relevant sections. Thanks.
    testbpel.bpel
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>*
    </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <--- it waits FOREVER at this bit to receive the approverResponse.xml :s
    <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    RaviKiran,
    I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
    The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
    The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
    The problem for my understanding is that some of those behaviors were not so cleared until now.
    Arik

  • Test waits forever for a callback from a human task

    Hi,
    I've create a test to test a BPEL process. Now within the BPEL process there is a call to a human task service. I've emulated the task initiation message which is fine. I also tried to emulate the receive message from the human task service but during the test execution, the test waits forever to receive the callback from the human task service, even though i've specified the return message. Would appreciate help with this! I've posted my testbpel.bpel and the test case (CreditCardInvalidTest.xml) below. For both these files I've highlighted in bold the relevant bits of code that's giving me problems. Thanks
    testbpel.bpel:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="testbpel" targetNamespace="http://xmlns.oracle.com/testbpel"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns7="http://xmlns.oracle.com/testbpel/creditFault"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    xmlns:ns5="http://oracle.com/esb/namespaces/Fufillment"
    xmlns:client="http://xmlns.oracle.com/testbpel"
    xmlns:ns6="http://www.creditcardagency.com/CreditCardService"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:ns9="http://xmlns.oracle.com/testbpel/orderRejected"
    xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns2="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/testbpel/genericFault">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:testbpel"
    myRole="testbpelProvider" partnerRole="testbpelRequester"/>
    <partnerLink name="ShipmentService" partnerRole="execute_pptProvider"
    partnerLinkType="ns5:execute_pptLT"/>
    <partnerLink name="CreditCardService"
    partnerRole="CreditCardServiceProvider"
    partnerLinkType="ns6:CreditCardService"/>
    <partnerLink myRole="TaskServiceCallbackListener" name="TaskService"
    partnerRole="TaskService"
    partnerLinkType="taskservice:TaskService"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="inputVariable"
    messageType="client:testbpelRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:testbpelResponseMessage"/>
    <variable name="n" type="xsd:integer"/>
    <variable name="Invoke_ShipmentService_execute_InputVariable"
    messageType="ns5:orderRequest_request"/>
    <variable name="paymentFault"
    messageType="client:testbpelFaultMessage"/>
    <variable name="ApproveOrder_1_globalVariable"
    messageType="taskservice:taskMessage"/>
    <variable name="orderRejectedFault"
    messageType="client:testbpelFaultMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <sequence name="Sequence_6">
    <throw name="Throw_AllFaults"
    faultName="ns8:testbpelGenericFault"
    faultVariable="paymentFault"/>
    </sequence>
    </catchAll>
    </faultHandlers>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in testbpel.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:testbpel" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    -->
    <scope name="CheckForApproval">
    <sequence name="Sequence_4">
    <sequence name="Sequence_5">
    <scope name="ApproveOrder_1"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow"
    wf:key="ApproveOrder_1_globalVariable">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:workflow"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="initiateTaskInput"
    messageType="taskservice:initiateTaskMessage"/>
    <variable name="initiateTaskResponseMessage"
    messageType="taskservice:initiateTaskResponseMessage"/>
    </variables>
    <correlationSets>
    <correlationSet name="WorkflowTaskIdCor"
    properties="taskservice:taskId"/>
    </correlationSets>
    <sequence>
    <assign name="ApproveOrder_1_AssignTaskAttributes">
    <copy>
    <from expression="concat(ora:getProcessURL(), string('/ApproveOrder/ApproveOrder.task'))"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:taskDefinitionURI"/>
    </copy>
    <copy>
    <from expression="number(3)"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:priority"/>
    </copy>
    <copy>
    <from>
    <payload xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
    </from>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    </assign>
    <assign name="ApproveOrder_1_AssignSystemTaskAttributes">
    <copy>
    <from expression="ora:getInstanceId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:instanceId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processName"/>
    </copy>
    <copy>
    <from expression="ora:getProcessId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processId"/>
    </copy>
    <copy>
    <from expression="ora:getProcessVersion()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processVersion"/>
    </copy>
    <copy>
    <from expression="ora:getDomainId()"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:domainId"/>
    </copy>
    <copy>
    <from expression="string('BPEL')"/>
    <to variable="initiateTaskInput"
    part="payload"
    query="/taskservice:initiateTask/task:task/task:processInfo/task:processType"/>
    </copy>
    </assign>
    <invoke name="initiateTask_ApproveOrder_1"
    partnerLink="TaskService"
    portType="taskservice:TaskService"
    operation="initiateTask"
    inputVariable="initiateTaskInput"
    outputVariable="initiateTaskResponseMessage">
    <correlations>
    <correlation initiate="yes"
    set="WorkflowTaskIdCor"
    pattern="in"/>
    </correlations>
    </invoke>
    *<receive name="receiveCompletedTask_ApproveOrder_1"*
    partnerLink="TaskService"
    portType="taskservice:TaskServiceCallback"
    operation="onTaskCompleted"
    variable="ApproveOrder_1_globalVariable"
    createInstance="no">
    *<correlations>*
    *<correlation initiate="no"*
    set="WorkflowTaskIdCor"/>
    *</correlations>*
    *</receive>* </sequence>
    </scope>
    <switch name="taskSwitch">
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'REJECT'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is REJECT</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <assign name="AssignOrderRejected">
    <copy>
    <from expression="string('Order rejected by manager')"/>
    <to variable="paymentFault"
    part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowOrderRejected"
    faultName="ns9:orderRejectedFault"
    faultVariable="orderRejectedFault"/>
    </sequence>
    </case>
    <case condition="bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:state') = 'COMPLETED' and bpws:getVariableData('ApproveOrder_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:outcome') = 'APPROVE'">
    <bpelx:annotation>
    <bpelx:pattern patternName="case">Task outcome is APPROVE</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_1"/>
    </sequence>
    </case>
    <otherwise>
    <bpelx:annotation>
    <bpelx:pattern>Task is outcome is EXPIRED, STALE, WITHDRAWN or ERRORED</bpelx:pattern>
    </bpelx:annotation>
    <sequence>
    <empty name="Empty_2"/>
    </sequence>
    </otherwise>
    </switch>
    </sequence>
    </sequence>
    </scope>
    <scope name="CheckCreditCard">
    <variables>
    <variable name="InvokeCreditCardService_process_InputVariable"
    messageType="ns6:CreditCardServiceRequestMessage"/>
    <variable name="InvokeCreditCardService_process_OutputVariable"
    messageType="ns6:CreditCardServiceResponseMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:testbpelProcessRequest/client:CreditCardNumber"/>
    <to variable="InvokeCreditCardService_process_InputVariable"
    part="payload"
    query="/ns6:CreditCardServiceProcessRequest/ns6:CreditCardNumber"/>
    </copy>
    </assign>
    <scope name="Scope_1">
    <compensationHandler>
    <sequence name="Sequence_7">
    <empty name="Empty_3"/>
    </sequence>
    </compensationHandler>
    <invoke name="InvokeCreditCardService"
    partnerLink="CreditCardService"
    portType="ns6:CreditCardService" operation="process"
    inputVariable="InvokeCreditCardService_process_InputVariable"
    outputVariable="InvokeCreditCardService_process_OutputVariable"/>
    </scope>
    <switch name="CheckCreditCardValid">
    <case condition="bpws:getVariableData('InvokeCreditCardService_process_OutputVariable','payload','/ns6:CreditCardServiceProcessResponse/ns6:result') = 'false'">
    <sequence name="Sequence_3">
    <assign name="AssignCreditFault">
    <copy>
    <from expression="string('Invalid credit card number')"/>
    <to variable="paymentFault" part="payload"
    query="/client:testbpelProcessFault/client:status"/>
    </copy>
    </assign>
    <throw name="ThrowCreditFault"
    faultName="ns7:CreditCardNumberFault"
    faultVariable="paymentFault"/>
    </sequence>
    </case>
    </switch>
    </sequence>
    </scope>
    <assign name="AssignInitial">
    <copy>
    <from expression="string('Select Manufacturer')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:result"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="n"/>
    </copy>
    <copy>
    <from expression="0.0"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('n') &lt;= count(bpws:getVariableData('inputVariable','payload','/client:testbpelProcessRequest/client:input'))">
    <sequence name="Sequence_1">
    <assign name="DoCalculation">
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload', concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:quantity')) * bpws:getVariableData('inputVariable','payload',concat('/client:testbpelProcessRequest/client:input[', bpws:getVariableData('n'), ']/client:bookPrice')) + bpws:getVariableData('outputVariable','payload','/client:testbpelProcessResponse/client:price')"/>
    <to variable="outputVariable" part="payload"
    query="/client:testbpelProcessResponse/client:price"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('n') + 1"/>
    <to variable="n"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <assign name="Transform_2">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('TransformOrder.xsl',bpws:getVariableData('inputVariable','payload'))"/>
    <to variable="Invoke_ShipmentService_execute_InputVariable"
    part="orderRequest"/>
    </copy>
    </assign>
    <invoke name="Invoke_ShipmentService" partnerLink="ShipmentService"
    portType="ns5:execute_ppt" operation="execute"
    inputVariable="Invoke_ShipmentService_execute_InputVariable"/>
    <invoke name="callbackClient" partnerLink="client"
    portType="client:testbpelCallback" operation="onResult"
    inputVariable="outputVariable"/>
    </sequence>
    </process>
    CreditCardInvalidTest.xml:
    <?xml version='1.0' encoding='utf-8'?>
    <BPELTest processName="testbpel"
    xmlns="http://xmlns.oracle.com/bpel/instancedriver"
    xmlns:client="http://xmlns.oracle.com/testbpel">
    <initiate operation="initiate">
    <inboundMessage>
    <part fileName="testInput.xml" name="payload"/>
    </inboundMessage>
    </initiate>
    <activityDriver name="callbackClient">
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="false" patternMatch="false">
    <message>Expected "Select Manufacturer"</message>
    <actualPath>/client:testbpelProcessResponse/client:result</actualPath>
    <expected>Select Manufacturer</expected>
    </assertValue>
    <assertValue variableName="outputVariable" partName="payload"
    comparisonMethod="string" fatal="true" patternMatch="false">
    <message>Expected price of "1"</message>
    <actualPath>/client:testbpelProcessResponse/client:price</actualPath>
    <expected>1</expected>
    </assertValue>
    </activityDriver>
    *<activityDriver name="receiveCompletedTask_ApproveOrder_1">*
    *<emulate duration="PT">*
    *<inboundMessage>*
    *<part fileName="approverResponse.xml" name="payload"/>*
    *</inboundMessage>*
    *</emulate>*
    *</activityDriver>* <activityDriver name="InvokeCreditCardService">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="creditCardServiceResponse.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    <activityDriver name="initiateTask_ApproveOrder_1">
    <emulate duration="PT">
    <inboundMessage>
    <part fileName="getApproval.xml" name="payload"/>
    </inboundMessage>
    </emulate>
    </activityDriver>
    </BPELTest>

    Hi hi, on a hunch I previewed the page in the browser, and copy pasted the faces/untitled1 portion of the URL there and pasted on the http://<server_address>:8001/BasicAPPDemo_Root therefore ending with http://<server_address>:8001/BasicAPPDemo_Root/faces/untitled1 and lo and behold I saw the little text box saying "Hello World" ;D
    So with that i escalated, switched to the application where the page from BPM was located, deployed it and did the same trick.
    But it borked it gave this error:
    JBO-29115 Unable to construct the error message due to error java.lang.NullPointerException. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-.
    I figured that the Default generation could be faulty so i created a new page and only recycled the data controls, created everything in read mode, just to test and deployed, when i tested, i was optimistic as the 1st tab didn't had any error (also does not have anything related to the HumanTask, even the data controls) the problem was in the other tabs as I show here.
    Many thanks sirs, and sorry for wasting thy time.

  • RWRUN60 with Batch=YES waits forever

    Hi,
    When I run rwrun60 with batch=yes it waits forever .. I thought it might be probably waiting at the printer box so I also included disableprint=yes and printjob=no .. but this does not work either.
    If I pass batch=no then the parameter box appears and reports get generated on run without any issues. Can someone help?
    Thanks
    Aali

    Are you calling the report using call report or else have you set the report parameters within the report.
    Let me know all the parameters passed.
    Looks like there are parameters which are not compatible to batch=yes. Did you specify output file name?
    Regards
    Dinesh

  • Process p.waitFor() wait forever, need solutions

    Dear Members,
    I am trying to run a perl script from java code that generates a log file on file system and populates the date in to mysql table.In java code while calling method Process p .waitFor(), the java program will hangs up and i am also using p.destroy() method but no further code will be executed.The process will wait forever. I have also seen that the perl file is being executed as it generates a log file with some data but it never completes I am using Windows Xp platform and jdk 1.5. But when i explicitly terminates the java program the log file will be generated immediately and data will be populated in mysql table.
    My java program simple converts xls file to csv and then this csv file is passed as an argument for perl script file.
    My java code is written below:
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.UnsupportedEncodingException;
    import java.util.Locale;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import jxl.Cell;
    import jxl.Sheet;
    import jxl.Workbook;
    import jxl.WorkbookSettings;
    import jxl.read.biff.BiffException;
    public class ConvertXLSTOCSV
         private static MyLogger lLog = MyLogger.getLogger();
         public boolean convertXLSTOCSV(String xmlfilePath, String xlsFilename)
              boolean conversionDoneFlag=false;
              String csvFileName="";
              String csvFilePath = "";
              csvFilePath = xmlfilePath.substring(0, xmlfilePath.lastIndexOf("/"));
              csvFilePath = csvFilePath+"/csv/";
              lLog.info("csvFilePath :"+csvFilePath);
              if(xlsFilename.contains(".xls")){
                   xlsFilename = xlsFilename.replaceAll(" ", "_");
                   csvFileName = xlsFilename.replaceAll(".xls", ".csv");
                   csvFileName = csvFilePath+csvFileName;
                   lLog.info("csvFileName : "+csvFileName);
                   xmlfilePath = xmlfilePath+"/"+xlsFilename;
                   lLog.info("xmlfilePath : "+xmlfilePath);
              //File to store data in form of CSV
              File f = new File(csvFileName);
              OutputStream os = null;
                   try {
                        os = (OutputStream)new FileOutputStream(f);
                   } catch (FileNotFoundException e1) {
                        lLog.info("FileNotFoundException occurs");
                        e1.printStackTrace();
              //String encoding = "UTF8";
              OutputStreamWriter osw = new OutputStreamWriter(os);
              BufferedWriter bw = new BufferedWriter(osw);
              //Excel document to be imported
              String filename = xmlfilePath;
              lLog.info("XLS File path : "+filename);
              WorkbookSettings ws = new WorkbookSettings();
              ws.setLocale(new Locale("en", "EN"));
              Workbook w;
                   try {
                        w = Workbook.getWorkbook(new File(filename),ws);
              // Gets the sheets from workbook
              for (int sheet = 0; sheet < w.getNumberOfSheets(); sheet++)
              Sheet s = w.getSheet(sheet);
              Cell[] row = null;
              // Gets the cells from sheet
              // Gets the cells from sheet
                        for (int i = 0; i < s.getRows(); i++) {
                             row = s.getRow(i);
                   lLog.info("Row_no="+i+", row_length="+row.length);
                             // Fetching cell values
                             for (int j = 0 ; j < row.length; j++) {
                                       String cellValue=row[j].getContents();
                             Pattern p = Pattern.compile("[\\n\\r\\t]");
                             Matcher m = p.matcher("");
                             m.reset(cellValue);
                             String result = m.replaceAll("");
                             if(j==13){
                                  bw.write("\""+result+"\"");
                                  lLog.info("Coloumn index ="+j+"and its value\""+result+"\"");
                             }else{
                                  bw.write(result);
                                       bw.write(',');
                                  bw.newLine();
                   bw.flush();
              bw.close();
              lLog.info("Conversion completed");
                   } catch (BiffException e) {
                        lLog.info("BiffException occurs while Conversion");
                        e.printStackTrace();
                   }catch (UnsupportedEncodingException e){
                   System.err.println(e.toString());
                   }catch (IOException e){
                   System.err.println(e.toString());
              // Call script to insert in temporary table
              String pl_file = "";
                             lLog.info("going to execute perl file");
                             pl_file = "power_gen_report.pl";;
                             lLog.info("Perl file path :"+pl_file);
                             String cmdLine[] = { "perl", "-f", pl_file, csvFileName };
                             lLog.info("Perl command :"+"perl -f "+pl_file+" "+csvFileName );
                             try{
                                  Runtime rt= Runtime.getRuntime();
                                  Process p = rt.exec(cmdLine);
                                  InputStream in = p.getInputStream();
                                  InputStream err = p.getErrorStream();
                                  boolean finished = false; // Set to true when p is finished
                                  while( !finished) {
                                       try {
                                            while( in.available() > 0) {
                                                 // Print the output of our system call.
                                                 Character c = new Character( (char) in.read());
                                                 System.out.print(c);
                                            while( err.available() > 0) {
                                                 // Print the output of errors
                                                 Character c = new Character( (char) in.read());
                                                 System.out.print(c);
                                       int exitVal;
                                       try {
                                       exitVal = p.waitFor();
                                       //int exitVal = p.exitValue();
                                       finished = true;
                                       System.out.println("finished = "+finished);
                                       if(exitVal == 0){
                                            lLog.info("perl file executed sucessfully :"+pl_file);
                                            lLog.info("Table Populated sucessfully if csv file has new records\n");
                                            conversionDoneFlag=true;
                                       }else{
                                            lLog.info("Table not Populated : Due to records in csv file are already present in table\n");
                                            lLog.info("Exit Value returns from perl file : "+exitVal);
                                       p.destroy();
                                       } catch (InterruptedException e) {
                                            e.printStackTrace();
                                       } catch (IllegalThreadStateException e) {
                                            // Sleep a little to save on CPU cycles
                                            try {
                                                 Thread.sleep(500);
                                            } catch (InterruptedException e1) {
                                                 lLog.info("InterruptedException occurs ");
                                                 e1.printStackTrace();
                             }catch(IOException e){
                                  lLog.info("IOException occurs ");
         return conversionDoneFlag;
         public static void main(String[] args){
              System.out.println("Executing main() method ");
              ConvertXLSTOCSV dv =new ConvertXLSTOCSV();
              boolean ad = dv.convertXLSTOCSV("d:/attachment/excel","Technical_Associates_Ltd.16-06-2010.xls";);
              if(ad== true){
                   System.out.println("Conversion completed");
              }else{
                   System.out.println("Conversion not completed");
    Please help me!.as i am unable to sort out this problem.
    I will be very thankful to you for the same

    next time put your code inside code brackets then we can actually read what you wrote. (and if you copy it directly from your source code, it will keep the correct formating)
    Anyhow, p.waitFor();
    is waiting for both of the
    InputStream in = p.getInputStream();and
    InputStream err = p.getErrorStream();
    to get the EndOfFile character.
    As long as it is thinking there could be more input/output, process 'p' wont die.
    and if it won't die.. then it will keep waiting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Upgraded to lion  and now songs and books bought on my Mac will not open on my  iPad...songs are " waiting" forever and books will not open when seleted. PLease help...Thanks!

    Upgraded to lion and now songs and books bought on my Mac will not open on my iPad....songs are " waiting" forever and books will not open when
    selected. Thanks for any help anyone might be able to provide.

    Upgraded to lion and now songs and books bought on my Mac will not open on my iPad....songs are " waiting" forever and books will not open when
    selected. Thanks for any help anyone might be able to provide.

  • RAC 10.2.0.5 - Session waiting forever

    Hi, i feel alone
    The database has several sessions that are waiting forvever.
    Sometimes these sessions are wainting for "direct path read", or "read by other session"
    The objects on which the sessions are waiting are never the same (user table, or LOB, ...)
    The OS process associated with the database session doesn't exists anymore on the system.
    The connection is made with JDBC THIN CLIENT.
    NO error messages as the session is just waiting indefinitly
    If a start a new session and issue a simple SQL SELECT on the waited objects on both instance.
    The first instance return the resultset. The second instance just wait forever.
    After the blocked objects is rebuilt, SQL SELECT works fine from both instance.
    Killing the waiting sessions doesn't solve the probleme as next same SQL QUERY from the other instance, will be blocked too ...
    Rebuild the object solve the problem ...
    BUT THIS IS FAR NOT A GOOD SOLUTION !
    The database is Oracle 10.2.0.5 SE RAC for LInux RHEL5 x64.
    ASM is used.
    Thank you for any suggestions !

    Hi,
    thank you for your response.
    This is a STANDARD EDITION with all tables degree set to 1, and all indexes degrees set to 1 or 0.
    I kill the session selected with the following query (the ones with high last_call_et)
    select inst_id, username, last_call_et, event, row_wait_obj# from gv$session where status='ACTIVE' and state='WAITING' and username is not null;
    Sometime, just kill the session solve the problem
    Now, i got 1 session waiting forever on "read by other session" on table SYSTEM.SQLPLUS_PRODUCT_PROFILE the SQL executed is
    "analyze table infomed2.dm_ligne ....;" .
    The same problem appears on 2 differents databases on the same RAC cluster (all in 10.2.0.5)
    i guess a bug with dictionnary latch, or with gcs, or with sqlnet( session closed but not realeased), ... but cannot find any information

  • My ipod Touch 4S is no longer able to update applications (They just sit and wait forever).  How do I fix this?

    My iPod Touch 4S is no longer able to update applications (They just sit and wait forever).  How do I fix this?

    restore or reset your ipod. there is a problem with ipods atm so the best you can do is wait if neither restoring or reseting works.

  • Import photo from recent disk not connected: LR gets waiting forever.

    Steps:
    1) Import photos and video.
    2) On the right I  find the recent destination directories.
    3) I select one of them referring a USB disk NOT currently connected.
    4) I run import.
    PROBLEM: The program shows the progress bar but then nothing more happens: it waits forever (of course for the missing disk).
    I am not sure this should be defined a bug, but LR could inform the user of what is waiting for.
    Regards.
    Mauro

    If you're looking at the image off the card in loupe mode, of course it's going to be slow going from image to image. It has to read the whole image off the card each time. If you want to examine images in detail before importing them, it would work lots better to download the entire card to a folder on disk and then import your images from that folder.
    Hal

  • Compressor is "Waiting".

    Can't give any real info.
    I exported a 20 second DV-PAL clip to Compressor as I have done numerous times before, selected the usual DVD setting plus Dolby audio, clicked submit and waited.
    After a while when nothing seemed to be happening I opened Batch Monitor and was greeted with the job status of "Waiting".
    As there are no other jobs and the computer is doing nothing else, has anyone got any idea why it should be "waiting"?
    It has always worked flawlessly for the past year ........ and no, I have not updated anything recently.

    I don't know whether your message telepathically helped!
    I had submitted several identical clips in order to try and get them to work.
    I had also deleted them from the job list in disgust and put the computer to sleep.
    A short while later my wife asked me to check the emails. As I was starting to read the first one, I could see FCP and Compressor pop up in the background and when I hid Mail I could see that the apparently deleted jobs were being processed!!!!!!!!!!
    This must have been happening whilst you typed your response!
    I checked that the Compressor produced files worked in DVDSP and did another test just to verify that everything was back to normal.
    The only problem I have now is that an attachment in the email won't open!
    So it could have been the dodgy email attachment that cured Compressor ......... or maybe I'm just going completely insane!
    Somehow I have a feeling that this is one of those cases which will forever remain a mystery.

  • I"d like to CANCEL my annual subscription but you PURPOSELY make it hard to do so. I've been waiting forever to ******** cancel. Can someone just cancel my account please!?

    I want to cancel my annual subsription. How do I get that done without waiting for someone online forever? I know you purposely make it hard to do do! Just cancel it for God's sake!

    Hi Andrew ,
    We would surely be unhappy for that decision of yours .However please refer to the following link in order to cancel the annual subscription of your product.
    https://helpx.adobe.com/x-productkb/policy-pricing/cancel-subscription-acrobat-online-serv ices.html
    Stay well.
    Regards
    Sukrit Dhingra

  • ProC dequeue process waits forever after network was brought down.

    Hi all,
    I want you to help me on the following issue.
    Unfortunately I can not post the code right now, but I will try to explain, it is simple.
    The DB and the process (ProC) which dequeues the message are on different machines.
    The dequeue wait time is set to 10 sec. And of course there is a loop and an exception handling after the dequeue.
    Now, if I drop the network connection between DB and ProC program while the process tries to dequeue,
    the process will stuck on dequeue forever.
    It does not throw any errors or something else, just waits there at DBMS_AQ.dequeue call.
    Do you have any ideas what it is happening?

    Hi,
    I am experiencing the same problem,
    Are there any important settings for time out or
    other things that may prevent going through a hang problem!?
    please help us

  • Odifilewait waits forever if timeout is set to 0

    we have a package in which the first step is odifilewait. It is supposed to wait for the file in a shared drive location(which is not local to the server where ODI is running the job from). The scenario for the package is scheduled to start running at a specified time everyday.
    When run manually, it runs fine.(which means it can connect to the shared drive from the server location).
    When the scheduler picks it up, if the timeout setting is '0', it seems to wait for the file forever-even though the file gets to the location in about 5 minutes.
    If I set the timeout to a different number, it doesnt wait for the file at all. Even if the file is not there, it goes ahead and continues to the next step.
    Anybody use odifilewait with scheduler-what are your suggestions?
    Thanks,
    Sujani

    I am able to map network drive-to the shared drive where the file arrives, from the server where the ODI job runs. We have already taken care of access issues. If access is the problem, it should error out, right? It just keeps on running.

  • How to avoid waiting forever when Updating a locked row ?

    Hi all,
    We have front-end application (ADF BC) on Oracle 10g database. From the adf we call stored procedure that execute the dml below :
    UPDATE DOC_NUMBER SET doc_nbr = doc_nbr + 1
    WHERE REGISTER = pRegsCode AND doc_code = pDocCode AND
    loc_code = pLocCode AND
              doc_year = vDocYear
    RETURNING TO_CHAR(doc_nbr, '0000000') INTO vDocNo ;
    Sometimes, this statement wait very long, I see in EM Top SQL that the Wait value = 99.66%. I assume this is caused by another user run same program and Not Commit.
    So the question is :
    1) How to make the 'UPDATE...' statement only wait 10 seconds, if fail to get the lock then time out ?
    2) If a user run the stored proc and do not Commit, how to make the transaction 'Expires' after 10 seconds so that it does not block other users ??
    FYI, the COMMIT part is not in the stored proc, it is done in ADF level.
    That is why if there is error in ADF after executing the stored proc, the transaction left Uncommitted
    Thank you very much for your help,
    xtanto

    This is not an Oracle issue and cannot really be sensible addressed (if at all) at Oracle level.
    How is Oracle suppose to know that after 10 seconds (or minutes) to "expire" (rollback) all uncommitted transactions? This deals with the client side of the client-server. How to interact with the client. When to determine that the user on the client is idle. Etc.
    There is no triggering/event mechanism I know of inside an Oracle server session that can be fired after the Oracle session has been idle for a period of time. The closest to that is DCD (Dead Connection Detection) - which is n.a. as the client is not dead, just idle.
    The application controls and manages the the user interaction. It is in a far better position to realise that the user is not responding, and then to rollback its Oracle session.
    This should be therefore done by the client and not Oracle. In its simplest form, you have a session handle in the client for your Oracle session. You create a global boolean variable (called something like openTransaction) in the application. This is set to TRUE when a transaction (e.g. select for update, insert, updare or delete) is started.
    An application timer runs every n number of seconds. When it runs, it checks openTransaction. If true, it issues a ROLLBACK statement on that session handle.
    This should do the trick.. in large hammer fashion way. Any such implementation will need careful thought and consideration of the actual business requirements and business process flow.
    It is very seldom that in business, clerks John and Jane will be working with the very same client file/invoice/whatever at the exact same time. And when there is conflict, you want to make sure that either Jane or John works on that at a time.
    So before even looking for a technical solution to your problem, I would first determine what the business process flow are and the boundaries of the business transaction, in order to realise a solution.

  • M iPhone is not excepting updates to it's apps. It just gets the line underneath and says "waiting" FOREVER.

    ...Has anyone else experienced this? Anyone know of a fix?
    Thank You...
    Love To All...
    Joey

    try doing a reset, hold down the home/power button together until you see the apple logo and then release, then wait for you phone to boot back up.   Or tap on the app again and see if it will update.

Maybe you are looking for