"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.x
- Red Hat JBoss BRMS
- 6.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
