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.

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

  • Port used for task display form in Oracle BPM Worklist from SOA human task

    My problem is that when I click on my task in worklist it is trying to show the task flow UI in a frame using port 7101 which is my admin server instead of port 7102 which is my SOA server where the task display form is actually deployed.
    I have an admin server running on port 7101 and a managed server with SOA configured running on port 7102. My application contains a soa composite project and a task flow project that was auto-generated from the human task in my composite. The applications deploys successfully to the soa server and I can run my BPEL process successfully and see the task show up in worklist.
    I have modified hwtaskflow.xml with this:
    <TaskFlowServer>
    <hostName>localhost</hostName>
    <httpPort>7102</httpPort>
    <httpsPort>8002</httpsPort>
    </TaskFlowServer>
    I access worklist at: http://localhost:7102/integration/worklistapp/
    But when I click on my task in worklist, the task display form is being referenced at
    http://<ip address>:7101/workflow/VacationRequestTaskFlow/faces......
    instead of
    http://localhost:7102/workflow/VacationRequestTaskFlow/faces......
    Any ideas? After changing hwtaskflow.xml I redeployed and restarted everything and it still doesn't work.
    Edited by: Billy Turchin on Oct 1, 2009 12:43 PM

    Actually my config.xml does not have have two soa_server1 entries ... it has only two <server> entries but each one also has an SSL entry; see below. (This was not done by me BTW, but rather when I ran the domain configuration wizard)
    I don't think the problem has to do with the SSL entries, because those ports are not getting used. The default port for my human task is 7101 (DefaultServer) instead of 7102 (soa_server1). Once I changed the port using the EM it seems to remember it when I deploy new revistions of that composite but anytime I deploy a new composite for the first time, the port for the task display form is incorrectly set to 7101.
    How exactly does worklist determine which port and URI to use for a human task's display form? Does it iterate through all the registered task display forms to find one that is registered for the given human task? (ie its not a property of the human task itself, but rather a property of the registered ADF display forms).
    <server>
    --<name>DefaultServer</name>
    --<ssl>
    ----<name>soa_server1</name>
    ----<listen-port>8001</listen-port>
    --</ssl>
    --<machine>LocalMachine</machine>
    --<listen-port>7101</listen-port>
    --<listen-address></listen-address>
    --<tunneling-enabled>true</tunneling-enabled>
    </server>
    <server>
    --<name>soa_server1</name>
    --<ssl>
    ----<name>soa_server1</name>
    ----<listen-port>8002</listen-port>
    --</ssl>
    --<machine>LocalMachine</machine>
    --<listen-port>7102</listen-port>
    --<listen-address></listen-address>
    </server>
    Thanks for the replies thus far...
    Edited by: Billy Turchin on Oct 5, 2009 5:21 AM

  • Human Task expiration containing Task History from another Human Task

    Hi All,
    Let me explain you my complete workflow in brief.
    I have 8 Human Tasks and all are sharing Task history. My each individual Human task are in Scope activity. In my payload I have a variable "strExpiryDuration" and I am setting its value in an Assign activity before my last human task. I have assigned this variable "strExpiryDuration" in the expiry duration of my last human task definition. For the reference I am giving the value as "*P0DT1M*". But it is not expiring my last human task at all. I doubt it may be because task history which I am sharing in my human tasks is overwriting the payload values and thats why the value of strExpiryDuration is not setting up in task definition.
    I checked by assigning the same variable strExpiryDuration to some other value ("*P3DT1M*") and assigning it to my first human task definition. In this case, whenever the workflow is assigned to my last human task it is also showing Expiry date as of after 3 days. What is the issue here? Please help.
    Regards,
    Murtaza
    Email:
    murtaza.ghodawala @ alshaya.com
    Edited by: user8977605 on Apr 21, 2011 6:48 AM

    I have found the solution to this generic problem. Whenever you have a human task sharing task history in your workflow, you need to ensure that the changed/modified payload value is assigned to the human tasks properly. In most of the cases, Task history sharing Human Task will override the payload values with the payload values of the previously executed human task in the workflow.
    For that the fix is as below:
    1. Expand the Human Task.
    2. In the Assign activity, write a copy operation in which copy the changed individual payload variable to the payload variable of the Human task whose task history we are sharing.
    For e.g.
    <copy>
    <from variable="inputVariable"
    part="payload"
    query="/client:TravelRequestProcessRequest/client:ExpiryDays"/>
    <to variable="ApprovalsTask_1_globalVariable"
    part="payload"
    query="/task:task/task:payload//client:TravelRequestProcessRequest/client:ExpiryDays"/>
    </copy>
    3. Make this copy operation as the first operation in the Assign Activity.
    I hope this solution will help you to resolve your issues.
    Regards,
    Murtaza Ghodawala
    Email:
    [email protected]
    Edited by: user8977605 on Apr 24, 2011 12:53 AM

  • Advance Rules for routing in Oracle BPM Human Task

    Hi,
    I am working on SOA 11.1.1.5.0. I have created a sample SOA application with a Human Task.
    following are the Assignment details for my Human Task.
    1. Created a stage1
    2. Created a participant with following details
    Type = Single
    Build a list of participant using : ApproverGroup
    Specify attribute using : Rule-Based
    List Ruleset : SampleRuleset
    I have created some Advance Rules for routing as specified at http://www.orastudy.com/oradoc/selfstu/fusion/integration.1111/e10224/bp_hwfmodel.htm#BABGJGBD .Routing is perfectly working in my application.
    But when I login into WorklitApplication via weblogic user and accessed Administration link, under Task Configuration > Data Driven tab these Routing Rules are not appearing, however I can see this SampleRuleset there.
    I want to know whether these Routing Rules will be appeared in the WorklistApplication or not?
    regards,

    Hi,
    Concerning your first question the answer is yes, you can share the same UI with various Human Tasks. Assuming that your discriminator flag is the human task type, then you can create for example a taskflow parameter, pass this value and based on this value hide and show fields. You will have to bundle your UI project as an ADF shared library and attach it to each Human Task project that you would like to use it, drag and dropping the taskflow as a region (please have in mind that your taskflow pages definition should be set to fragments).
    For you second question, again the answer is yes. This is an out-of-the-box functionality provided by the auto-generated human task. There is a section called history that holds and displays all this information.
    For the third point, again the answer is yes. What you can do is that you can enable the OnTaskCompleted event so that whenever a participant complete their task to generate an event. Then you can have a mediator or a BPEL process that can subscribe to this event and process the notification.
    For question 4 i don't think that is possible (out of the box). You will have to write like a proxy service that will fetch this additional information from your LDAP server and map it to your participants list.
    Question 5, the organizational chart allows you to define the structure and hierarchy of your organization (users, groups, application roles) which can be used in your business processes to define your various approval types.
    For you last question, the shared flag is used for to define whether your logical roles (also called application roles) should be specific to a process or can be shared across processes.
    Regards
    Antonis

  • How to retrieve a due date from a human task and create a report in BAM with it

    Hi.
    I'm working with a BPM process, the requirement is that I have a human task and a working hours limit to complete it. For this purpose I created a calendar in the bpm workspace and I've associated it to a role that executes that human task. Now I need to know how can I pass it into a data_object in BAM in order to create a Dashboard that lets me know whether a human task was completed just in time.
    I'm using Oracle SOA Suite 11.1.1.7.0
    Thank you.

    There's a correction to the code. For whatever reason doing it that way still sets it as a "remind me when" parameter. Use the following code instead:
    tell application "System Events" to set FrontAppName to name of first process where frontmost is true
    if FrontAppName is "Reminders" then
              tell application "Reminders"
                        set duedate to (current date) + (2 * days)
      make new reminder with properties {name:"New Reminder", due date:duedate}
              end tell
    else
              display dialog "failed to make new reminder!"
    end if

  • Configuring Callbacks in BPEL Human Task

    Hi,
    I'm trying to configure a callback on OnTaskAssigned ,OnTaskUpdated in human workflow.
    I defined my custom java class implementing IRoutingSlipCallBack Interface (I also tried with ITaskServiceCallBack) in the .task file and also enabled callback in BPEL activity.
    I tried modifying some attributes (like title and comments) of the task to see if my callbacks are really being called. however i see no changes made by me are reflected.
    Am I missing some steps here ?
    Thanks in advance
    Pradeep

    There are two check boxes that have to be checked to get this feature working. One is under the first advanced tab of the human task wizard icon (green thingamajig). The second is in the human task editor itself again under the advanced area. Check them both.
    I found that when the first one was check it expanded the bpel code in the human task process to show the new messages. They didn't actually get invoked until I added the second checkbox.
    To date I still only see the onUpdate and onCompletion messages get invoked (there are four possible).
    hth.

  • Program won't work, can't wait forever for support

    I don't know where else to vent, so here goes.  Here's a message I just emailed to Adobe feedback:
    I am calling for the 2nd time in 2 days to try to get through to tech support.  As I type this, I have been on hold for 40 minutes. There is apparently no email address for support and your chat service seems to be busy all the time.  I have better things to do.  If by the time I finish typing this and no one picks up, I want my money back or a phone call from you to fix my problem.
    I bought Photoshop Elements last month - account # xxxxxxx, license #   xxxxxxxx, Mac OS 10.6.2, Firefox 3.5.8
    When I try to bring up the program, I get the message "LICENSING FOR THIS PRODUCT HAS STOPPED WORKING" and I cannot use it.  This is not the first such problem I had.  To say the least, your support leaves a lot to be desired and I will never buy an Adobe product again.   If I do not  hear from you shortly, I will dispute the charge with my bank.  It's now 50 minutes!!!  Goodbye.

    Just so's you know, you're just talking to other users here, mostly, and all we can do is sympathize--we can't do anything about tech support's many shortcomings. Did you ever have a trial version of PSE 8 or any CS4 version installed? If so, uninstall PSE and any other adobe programs, then download and run this before reinstalling:
    http://www.adobe.com/support/contact/cs4clean.html
    BTW, the official place for complaints about adobe customer service is here:
    http://forums.adobe.com/community/general/adobedotcom_feedback
    if you care, at this point.

  • How to callback from a webservice to a workflow node?

    I've initiated a conversation with a webservice from a workflow. The workflow
    goes on until it gets to the point where it must stop and wait for the callback
    from the webservice. I'd like it to passively wait (not polling in a loop).
    I'm an intermediate with webservices, not an expert - I think the callback handler
    should be in the workflow somewhere and the callback method should be defined
    in the webservice - am I completely off-base? Conceptually, could someone explain
    how a webservice could callback to a specific node in a workflow?

    Hi Lisa,
    if you are speaking about Weblogic 8.1, then use Client Response nodes in
    the webservice and Control Receive nodes in the calling workflow process.
    Regards,
    Robert Varga
    "Lisa" <[email protected]> wrote in message
    news:3fcf9105$[email protected]..
    >
    I've initiated a conversation with a webservice from a workflow. Theworkflow
    goes on until it gets to the point where it must stop and wait for thecallback
    from the webservice. I'd like it to passively wait (not polling in aloop).
    I'm an intermediate with webservices, not an expert - I think the callbackhandler
    should be in the workflow somewhere and the callback method should bedefined
    in the webservice - am I completely off-base? Conceptually, could someoneexplain
    how a webservice could callback to a specific node in a workflow?

  • Remove Actionable links from human task notification??

    Is posible to remove the link from the human task notification mail.
    Thanks...

    yes, if you recompile the *.jar and remove the setting "make notifications actionable" (you can find it in the human task definition)

  • Can use another web form UI instead of ADF forms for human task?

    Hi everybody
    Can I use different web UI like primeface, ZK, Spring, Ext Js,... for generating forms base on human task instead of ADF forms?
    For both worklist and workspace
    Thanks.

    I read all of posts that other mentioned above and do the instruction but when i initiated a process my page went to 404 error so that can't find the URI.
    The below error raised in log
    <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl> <DiagnosticsDataExtractorImpl> <createADRIncident> <incident 21 created with problem key "ADFC-06018 [ADFc]">
    <oracle.adf.view> <RichExceptionHandler> <_logUnhandledException> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1>
    oracle.adf.controller.ControllerException: ADFC-06018: Task flow ID EL expression '#{pageFlowScope.taskDetailsView.remoteTaskDefId}' on activity '/WEB-INF/taskDetail-task-flow-definition.xml#taskDetail-task-flow-definition@remoteTaskFlowCall' evaluated to null.
      at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.getTaskFlowDefinitionId(TaskFlowCallActivityLogic.java:1155)
      at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.execute(TaskFlowCallActivityLogic.java:115)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1241)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:1087)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:979)
      at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:253)
      at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:103)
      at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.doCreateView(RemoteTaskFlowCallRequestHandler.java:64)
      at oracle.adfinternal.controller.application.BaseRequestHandlerImpl.createView(BaseRequestHandlerImpl.java:59)
      at org.apache.myfaces.trinidadinternal.application.InternalViewHandlingStrategy.createView(InternalViewHandlingStrategy.java:48)
      at com.sun.faces.application.view.MultiViewHandler.createView(MultiViewHandler.java:160)
      at javax.faces.application.ViewHandlerWrapper.createView(ViewHandlerWrapper.java:170)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:108)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:847)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.help.web.rich.OHWFilter.doFilter(OHWFilter.java:197)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    I think then main problem is where i bold.
    Thanks.

  • 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

  • Firefox freezes about five seconds after I open it, and whenever I use Ctrl+alt+delete to close it I get told that it is waiting for a response from me.

    I am having a problem with Firefox. Whenever I open it, it runs fine for about five seconds and then freezes. A small white rectangle appears in the upper left corner of the browser window. The screen still scrolls fine, but whenever I try clicking on anything (including the menus in the toolbar), it just gives me an unresponsive 'ding' sound. When I try closing the programme with Ctrl+alt+delete, I get a message saying 'The system cannot end this programme as it is waiting for a response from you'. I originally had this problem with an earlier version of Firefox and tried installing Firefox 4 to see if this helped. It worked for two days and began doing it again. I have already tried un- and re-installing Firefox and restarting my computer, and Firefox will not run properly for long enough to let me disable any add-ons or plug-ins. What can I do to fix this?
    I've added a couple of screencaps of the problem. (or tried to)
    [http://i53.tinypic.com/161hvh2.jpg The white rectangle]
    [http://i51.tinypic.com/dwsq1.png Error message]

    Have also since found out that to start FF4 in safe mode you just hold shift whilst double-clicking the icon. We only find these things out after the event, murphy's law!

  • Need a test for fetch into from a cursor or an alternative.

    I've got a small oddity.
    Ultimately it's two cursors that are exactly the same except a part of the WHERE clause. Depending on how many records I am going through (based on a counter) I need to use one cursor or the other as the outer loop, to then process an inner loop.
    My problem is I don't quite know how to exit out of the current loop when the fetch reaches the end of the cursor. Meaning, in each of these loops, there's an IF THEN to see which cursor I'm using, and then fetch from the correct one. If I use a FOR X IN CURSOR loop, I'll have to double up the code, one for each outer cursor loop.
    What's the test in Oracle for no record found or when it hits the end of a cursor with a fetch? Or am I stuck and I can only use the exception block when the fetch fails?
    Thansk!

    You can check whether your fetch returned any data with %notfound.
    DECLARE
      l_cur   sys_refcursor;
      l_var   VARCHAR2 (30);
    BEGIN
      IF TO_CHAR (SYSDATE, 'Day') = 'Monday'
      THEN
        OPEN l_cur FOR
          SELECT dummy
            FROM DUAL;
      ELSE
        OPEN l_cur FOR
          SELECT dummy
            FROM DUAL
           WHERE 1 = 2;
      END IF;
      LOOP
        FETCH l_cur
         INTO l_var;
        EXIT WHEN l_cur%NOTFOUND;
        DBMS_OUTPUT.put_line (l_var);
      END LOOP;
    END;
    /

  • Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf".

    Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf" dated 15 Dec 2012 9:20 AM.

    Look everyone that comes here with a support problems has gone through all the normal channels, around and  round in circles with no one seeming to be interested. They've called every phone number, every email address they can find. They have been put on hold and bounced fifty times to another operator only to be hung up on. If Adobe would bring back support to main land and have people that know what's going on instead of having people that people can barely understand read from scripts. Scripted information only applies about 10 % of the time. I'm just giving people an alternative. after they have torn their hair out going the normal route.  If they had been able to get a solution they wouldn't be coming here for help.
    There should be a forum set up just for people to air these issues and Adobe employees forced to man it. Then we wouldn't have to have such a Bad attitude. Right now Adobe's Support reputation is worse than Intuit's which did have the absolutely worse on the Planet. Now they are number 2.
    You know it yourself that Adobe's support is absolutely worse than terible. However to prevent me from being banned from the forums I will simply will provide the adobecare email address from now on
    So let's sweep it under the rug.

Maybe you are looking for