Requests Fail with Error:"IAM-2050126 : Invalid outcome com.oracle.bpel.client.BPELFault...the <from> value is invalid" and "Error caching the Decision Services metadata....oracle.rules.rl.exceptions.UndefinedException" (Doc ID 1969183.1)

Last updated on MARCH 08, 2017

Applies to:

Identity Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

After applying a patch in your environment, request approvals are failing.

When viewing the request from the Track Requests page, if you select the "Request Failed" link shown the task's Status, you see:

IAM-2050126 : Invalid outcome com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>The &lt;from> value is invalid. The result of from-spec is null. Either the from node value or the xpath query in the from node value was invalid. According to BPEL4WS spec 1.1 section 14.3, the from node value should not be empty. Verify the from node value at line number 474 in the BPEL source. </summary>} received from SOA for the request id xxx.

 The soa_server1-diagnostic.log has the following errors:

[2015-02-09T20:39:03.876+00:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: orabpel.invoke.pool-4.thread-1] [userId: weblogic] [ecid: d9ee6c34bb546cc9:-55d0a07c:14b6fe3848a:-8000-000000000000012d,1:25217] [APP: soa-infra] [composite_instance_id: 90001] [component_instance_id: 8670767e-8f10-45df-85bf-f98d5e27e0a1] [composite_name: DefaultRequestApproval!3.0] [component_name: ApprovalRules] <.> Error caching the Decision Services metadata.[[
Error caching the decision services metadata for path default/DefaultRequestApproval!3.0*soa_6196ef56-ba72-4c14-85da-38ef9e97ec43/ApprovalRules.
Check the underlying exception and correct the error. This is most likely due to a rule modeling issue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
 Error caching the Decision Services metadata.
Error caching the decision services metadata for path default/DefaultRequestApproval!3.0*soa_6196ef56-ba72-4c14-85da-38ef9e97ec43/ApprovalRules.
Check the underlying exception and correct the error. This is most likely due to a rule modeling issue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
...
Caused by: oracle.rules.rl.exceptions.UndefinedException: The symbol 'oracle.iam.requestdataws.webservicestubs.types.BeneficiaryDataType' is undefined.
at line 6 column 14 in /Ruleset(main)
...
]]

[2015-02-09T20:39:04.096+00:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: orabpel.invoke.pool-4.thread-1] [userId: weblogic] [ecid: d9ee6c34bb546cc9:-55d0a07c:14b6fe3848a:-8000-000000000000012d,1:25217] [APP: soa-infra] [composite_instance_id: 90001] [component_instance_id: 8670767e-8f10-45df-85bf-f98d5e27e0a1] [composite_name: DefaultRequestApproval!3.0] [component_name: ApprovalRules] <.> [[
java.lang.NullPointerException
...
]]

[2015-02-09T20:39:04.328+00:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: orabpel.invoke.pool-4.thread-1] [userId: weblogic] [ecid: d9ee6c34bb546cc9:-55d0a07c:14b6fe3848a:-8000-000000000000012d,1:25217] [APP: soa-infra] [composite_instance_id: 90001] [component_instance_id: 8670767e-8f10-45df-85bf-f98d5e27e0a1] [composite_name: DefaultRequestApproval!3.0] [component_name: ApprovalRules] <.> [[
oracle.fabric.common.FabricInvocationException
...
]]

[2015-02-09T20:39:04.335+00:00] [soa_server1] [WARNING] [] [oracle.soa.services.rules] [tid: orabpel.invoke.pool-4.thread-1] [userId: weblogic] [ecid: d9ee6c34bb546cc9:-55d0a07c:14b6fe3848a:-8000-000000000000012d,1:25217] [APP: soa-infra] [composite_instance_id: 90001] [component_instance_id: 8670767e-8f10-45df-85bf-f98d5e27e0a1] [composite_name: DefaultRequestApproval!3.0] [component_name: ApprovalRules] <BusinessRulesServiceEngine.request> Failed to fault instance due to exception null
..
[2015-02-09T20:39:04.356+00:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: orabpel.invoke.pool-4.thread-1] [userId: weblogic] [ecid: d9ee6c34bb546cc9:-55d0a07c:14b6fe3848a:-8000-000000000000012d,1:25217] [APP: soa-infra] [composite_instance_id: 90001] [component_instance_id: 90001] [composite_name: DefaultRequestApproval!3.0] [component_name: ApprovalProcess] faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}[[
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{
query=<query>/ns16:callFunctionStatelessDecision/ns16:resultList/ns21:StageOutput</query>
,payload=<payload>
&lt;callFunctionStatelessDecision xmlns="http://xmlns.oracle.com/ApprovalRules/ApprovalRules_DecisionService_1"/></payload>
,lineNumber=<lineNumber>474</lineNumber>
,activity=<activity>90001-BpAss10-BpSeq8.10-4</activity>}
]]

[2015-02-09T20:39:04.373+00:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.xml] [tid: orabpel.invoke.pool-4.thread-1] [userId: weblogic] [ecid: d9ee6c34bb546cc9:-55d0a07c:14b6fe3848a:-8000-000000000000012d,1:25217] [APP: soa-infra] [composite_instance_id: 90001] [component_instance_id: 90001] [composite_name: DefaultRequestApproval!3.0] [component_name: ApprovalProcess] transaction status statusSTATUS_ACTIVE[[
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{
summary=<summary>The &lt;from> value is invalid.
The result of from-spec is null.
Either the from node value or the xpath query in the from node value was invalid.
According to BPEL4WS spec 1.1 section 14.3, the from node value should not be empty. Verify the from node value at line number 474 in the BPEL source.
</summary>}
...
]]

 The oim_server1-diagnostic.log has the error:

[2015-02-09T20:39:09.377+00:00] [oim_server1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: d9ee6c34bb546cc9:-55d0a07c:14b6fe3848a:-8000-000000000000012d,1:25217:159] [APP: oim#11.1.2.0.0] [J2EE_APP.name: oim_11.1.2.0.0] [J2EE_MODULE.name: workflowservice] [WEBSERVICE.name: CallbackService] [WEBSERVICE_PORT.name: CallbackServicePort] Invalid outcome com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}[[
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{
summary=<summary>The &lt;from> value is invalid.
The result of from-spec is null.
Either the from node value or the xpath query in the from node value was invalid.
According to BPEL4WS spec 1.1 section 14.3, the from node value should not be empty. Verify the from node value at line number 474 in the BPEL source.
</summary>}
 received from SOA for the request id xxx.
]]

 

Note:  In the above error messages, we see "Verify the from node value at line number 474 in the BPEL source." which is relevant for the DefaultRequestApproval composite.  The DefaultOperationalApproval will show similar messages but with "Verify the from node value at line number 477 in the BPEL source."
If you see this issue using custom composites, the line number and error message content may vary.

 

Changes

The issue happens if you have SOA BP5 or BP6 applied and you've restarted the SOA managed server(s), following a deletion of the contents of the $DOMAIN_HOME/servers/soa_serverX/dc directory.  The issue can also be seen after restarting the SOA managed server(s) if there is corruption to the contents of the dc directory.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms