"Cannot find a default KieSession" error when sending request to Decision Server
Issue
Following POST request is being sent to the Decision Server:
POST http://localhost:8080/kie-server/services/rest/server/containers/mortgage
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<batch-execution>
<insert out-identifier="inserter" return-object="true" entry-point="DEFAULT">
<org.MtgAmountRequestedFacts>
<creditReferenceNumber>5104560000001</creditReferenceNumber>
<purchasePrice>500000.0</purchasePrice>
<downPayment>50000.0</downPayment>
<otherFinancingAmount>10000.0</otherFinancingAmount>
<amountRequested>0.0</amountRequested>
</org.MtgAmountRequestedFacts>
</insert>
<fire-all-rules></fire>
</batch-execution>
However, the server responds with an error:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="FAILURE" msg="Error calling container mortgage: java.lang.RuntimeException: Cannot find a default KieSession"></response>
Environment
- Red Hat JBoss BPM Suite
- 6.1 / 6.2 / 6.3 / 6.4
- Red Hat JBoss BRMS
- 6.1 / 6.2 / 6.3 / 6.4
- Red Hat Decision Manager
- 7
- Red Hat Process Automation Manager
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.