[jboss-jira] [JBoss JIRA] (DROOLS-1002) Drools Persist does not work with kmodule.xml configuration

Artur Kronenberg (JIRA) issues at jboss.org
Tue Dec 8 04:47:00 EST 2015


Artur Kronenberg created DROOLS-1002:
----------------------------------------

             Summary: Drools Persist does not work with kmodule.xml configuration
                 Key: DROOLS-1002
                 URL: https://issues.jboss.org/browse/DROOLS-1002
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 6.3.0.Final
         Environment: Mac OS 10.10.5, Eclipse Mars Release, Java 1.8, Drools 6.3.0.Final
            Reporter: Artur Kronenberg
            Assignee: Mario Fusco
            Priority: Minor


Hi,

I ran into an issue yesterday that I believe to be a bug.

The persistence configuration through 

ks.getStoreServices().newKieSession(kieBase, ksConf, env);

does not seem to be considering the configuration set on the kmodule. The kieBase in question is taken from the kmodule.xml configuration. The ksConf and environment are set up to support persistence. 

I also wrote this up here with maybe some more detail and a workaround I am using: http://stackoverflow.com/questions/34134678/drools-kmodule-persistence-configuration/34152339#34152339 

It would be nice to be able to use Kmodule configuration (through xml) in combination with persistent sessions, and preferably maybe configure persistence on a per-session bases in the module. (I hope this makes sense, I am still fairly new to the drools world) 





--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list