Cannot find a default KieSession in Drools Workbench

468 views
Skip to first unread message

Rares Vernica

unread,
Jan 14, 2015, 9:36:33 PM1/14/15
to drools...@googlegroups.com
Hello,

I setup Drools Workbench 6.1.0.Final with Tomcat (on Fedora). I have a project A for the data model and a project B for the rules and test scenarios. Project B has project A as a dependency. I keep them separately because I will update the data model A less frequently than the rules B. The dependency linkage works fine because I can use data types from A in the guided rules from B. The B project builds correctly. It brakes when I try using Test Scenarios in project B.

1. I created an empty Test Scenario ("New Item" -> "Test Scenario") and tried to run it ("Run scenario"). I get the following error: "Unable to complete your request. The following exception occurred: Cannot find a default KieSession."

2. I updated the "Config" tab of the Test Scenario to include the data types form A. I still get the same error. Again, the Test Scenario is empty.

3. If I remove the dependency from "Project Editor" in B, the "Run scenario" functionality reports "Success".

BTW, where does the Drolls Workbench write the log messages. I am monitoring all the files in /var/log/tomcat and no messages in logged when I click "Run scenario"? Do I have to enable certain logging?

Thanks!
Rares

Toni Rikkola

unread,
Jan 16, 2015, 3:02:56 AM1/16/15
to drools...@googlegroups.com
Tested this and looks like a bug. I made a ticket for this so that we can get it fixed for the final release.

https://bugzilla.redhat.com/show_bug.cgi?id=1182912

This error is just reported for the user and not logged.

Toni

Sachin Nahar

unread,
Jun 25, 2015, 8:28:20 AM6/25/15
to drools...@googlegroups.com
Hello Vernica,

if you find out solution for these problem than please give me solution
Reply all
Reply to author
Forward
0 new messages