Re: [rules-users] Kie Spring integration

2014-07-07 Thread vinodkiran
Annotations support for Kie-spring was introduced in 6.1. This was not part of the 6.0 release. -Vinod -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-integration-tp4030243p4030259.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Kie namespace

2014-07-06 Thread vinodkiran
We had users report this error while using Eclipse. I am assuming that this is an error reported by the IDE. Previously, I had debugged this issue with another user and realized that the code works just fine (despite the complaints by the IDE). This is due to certain IDE settings.

Re: [rules-users] Kie Spring integration

2014-07-06 Thread vinodkiran
If you are using kie-spring, you need a spring XML and not a kmodule.xml https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-spring/src/test/resources/org/kie/spring/beans-internal2.xml if you are using kie-spring-annotations, please look at

Re: [rules-users] Kie Spring integration

2014-07-06 Thread vinodkiran
if you are using a spring XML with annotations please ensure that the following declaration is available in the XML file bean id=kiePostProcessor class=org.kie.spring.annotations.KModuleAnnotationPostProcessor/ Sample:

Re: [rules-users] Kie Spring integration

2014-07-06 Thread vinodkiran
try changing your kiePostProcessor from org.kie.spring.KModuleBeanFactoryPostProcessor to the following and then check if the @Inject works. bean id=kiePostProcessor class=org.kie.spring.annotations.KModuleAnnotationPostProcessor/ -- View this message in context:

Re: [rules-users] Using dynamic package names with Drools 6.0 Spring integration.

2014-05-30 Thread vinodkiran
I have added this functionality and will be submitting a PR. All attributes of kbase are now capable of understanding SpEL expressions. --Thanks, Vinod -- View this message in context:

Re: [rules-users] No setter found for property 'kBaseName' in class 'org.kie.spring.factorybeans.KBaseFactoryBean'

2014-04-08 Thread vinodkiran
Can you take a look at this simple example, and check if this helps? https://github.com/vinodkiran/kie-springmvc -- View this message in context: http://drools.46999.n3.nabble.com/No-setter-found-for-property-kBaseName-in-class-org-kie-spring-factorybeans-KBaseFactoryBean-tp4029143p4029151

Re: [rules-users] No setter found for property 'kBaseName' in class 'org.kie.spring.factorybeans.KBaseFactoryBean'

2014-04-07 Thread vinodkiran
Are you having both kmodule.xml and your spring configuration file? With spring, you can configure all your kie resources without the need for a separate kmodule.xml. Can you provide me with the following? 1. Full stack trace 2. your spring configuration file and kmodule.xml -- View this

Re: [rules-users] Spring 4.0 Drools 6.0.1 Integration issue

2014-03-23 Thread vinodkiran
Can you provide the entire path of the pom.properties files in your application? -- View this message in context: http://drools.46999.n3.nabble.com/Spring-4-0-Drools-6-0-1-Integration-issue-tp4028052p4028923.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] kie-sprind xsd for spring 4

2014-02-28 Thread vinodkiran
Steve, Interesting approach. I am looking through your code. It seems to me that using the JavaConfig approach would miss some of the changes introduced in Drools 6.0. Look at this article by Mark, http://blog.athico.com/2013/10/configuration-and-convention-based.html -- Vinod --

Re: [rules-users] Spring 4.0 Drools 6.0.1 Integration issue

2014-02-10 Thread vinodkiran
try the following RulesServiceImpl.java @Inject ApplicationContext context; StatelessKieSession kieSession; KieBase kiebase; @PostConstruct public void postConstruct(){ kieSession = (StatelessKieSession) context.getBean(ksession1); kieBase = (KieBase)

Re: [rules-users] NullPointerException with kie-spring 6.0.1 and Spring 4.0

2014-01-27 Thread vinodkiran
https://github.com/droolsjbpm/droolsjbpm-integration/pull/80 -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NullPointerException-with-kie-spring-6-0-1-and-Spring-4-0-tp4027854p4027877.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] NullPointerException with kie-spring 6.0.1 and Spring 4.0

2014-01-26 Thread vinodkiran
Andrew, I am able to reproduce the NPE with spring-boot and Spring 4.0. I am running some tests locally to isolate the exact cause. --Vinod -- View this message in context:

Re: [rules-users] NullPointerException with kie-spring 6.0.1 and Spring 4.0

2014-01-26 Thread vinodkiran
://github.com/vinodkiran/kie-spring-boot) --Vinod PS: the reported NPE seems to be related to https://github.com/spring-projects/spring-boot/pull/41 -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NullPointerException-with-kie-spring-6-0-1-and-Spring-4-0-tp4027854p4027859

Re: [rules-users] DRL file not getting picked

2014-01-06 Thread vinodkiran
Dwipin, It is difficult to diagnose given the limited information. Can you take a sample (test) and try running it locally ? https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-spring/src/test/java/org/kie/spring/tests/KieSpringBasicsTest2.java - Vinod -- View this message

Re: [rules-users] DRL file not getting picked

2013-12-31 Thread vinodkiran
Dwipin - Can you post the contents of the log/console ? Also, is your test project a maven project? -Vinod -- View this message in context: http://drools.46999.n3.nabble.com/DRL-file-not-getting-picked-tp4027476p4027486.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] help with drools 6

2013-12-30 Thread vinodkiran
take a look at https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-spring/src/test/java/org/kie/spring/tests/KieSpringBasicsTest2.java -Vinod -- View this message in context: http://drools.46999.n3.nabble.com/help-with-drools-6-tp4027460p4027463.html Sent from the Drools:

Re: [rules-users] Location of ScoreCard Spreadsheet File?

2013-01-13 Thread vinodkiran
Did you have any luck with the Sample Spreadsheet Michael had pointed out? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Location-of-ScoreCard-Spreadsheet-File-tp4021435p4021492.html Sent from the Drools: User forum mailing list archive at Nabble.com.