Sorry for wrong reply
Line 34 is
Object obj = factType.newInstance();
--
View this message in context:
http://drools.46999.n3.nabble.com/facing-problem-in-KnowledgeAgent-tp4023368p4023386.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
Hi,
If you know the reason and solution, please help me.
From: himansh [via Drools]
To: himansh
Sent: Thursday, 18 April 2013 10:30 AM
Subject: Re: [rules-users] facing problem in KnowledgeAgent
Hi,
System.out.println(ruleBase.getFactType("org.sample"
Hi,
System.out.println(ruleBase.getFactType("org.sample","NumberTest"));
In above line "org.sample" is package and "NumberTest" is fact type name
--
View this message in context:
http://drools.46999.n3.nabble.com/facing-problem-in-KnowledgeAgent-tp4023368p4023384.html
Sent from the Drools: Us
Hi Upal, I've been trying to model your use case in what seems the best
currently supported mode. (Un)fortunately this uncovered a little bug in
the engine,
I'll get it fixed and then I'll get back to you.
As for the fuzzy logic extension, I have a partially working PoC
https://github.com/droolsj
If you place the xls file inside src/main/resources it should be picked up
for both, the test and the spring configuration
On Wed, Apr 17, 2013 at 7:13 PM, Mauricio Salatino wrote:
> Great! Good luck!
>
>
> On Wed, Apr 17, 2013 at 6:53 PM, Charles Moulliard wrote:
>
>> Know the reason. Maven whe
Great! Good luck!
On Wed, Apr 17, 2013 at 6:53 PM, Charles Moulliard wrote:
> Know the reason. Maven when it copy it to the target directory modifies
> it. Will investigate why.
>
>
> On Wed, Apr 17, 2013 at 11:46 PM, Charles Moulliard wrote:
>
>> if i change the name (file tobe loaded) then it
Know the reason. Maven when it copy it to the target directory modifies it.
Will investigate why.
On Wed, Apr 17, 2013 at 11:46 PM, Charles Moulliard wrote:
> if i change the name (file tobe loaded) then it fails
>
> Caused by: java.io.FileNotFoundException:
> 'data/IntegrationExampleTesti.xls'
if i change the name (file tobe loaded) then it fails
Caused by: java.io.FileNotFoundException:
'data/IntegrationExampleTesti.xls' cannot be opened because it does not
exist
at
org.drools.core.io.impl.ClassPathResource.getURL(ClassPathResource.java:168)
at
org.drools.core.io.impl.ClassPathResource
Can you try pointing to a non existing location? to see if you get the same
error?
On Wed, Apr 17, 2013 at 6:30 PM, Charles Moulliard wrote:
> As the file exists under target/classes directory, that should be the case
>
> /target/classes/data/IntegrationExampleTest.xls
>
>
> On Wed, Apr 17
As the file exists under target/classes directory, that should be the case
/target/classes/data/IntegrationExampleTest.xls
On Wed, Apr 17, 2013 at 11:11 PM, Mauricio Salatino wrote:
> It could be related with the location of the file: classpath:data/
> IntegrationExampleTest.xls
>
> Are you
It could be related with the location of the file: classpath:data/
IntegrationExampleTest.xls
Are you sure that the file is being picked up?
On Wed, Apr 17, 2013 at 6:05 PM, Charles Moulliard wrote:
> Hi,
>
> When I try to instantiate an Excel Decision Table using Drools + Spring
> (kresource
Hi,
When I try to instantiate an Excel Decision Table using Drools + Spring
(kresource), I get this error :
REMARK: the file is the same as we have in Drools Unit Test (decision-table)
Error :
Caused by: java.lang.IllegalArgumentException: Your InputStream was neither
an OLE2 stream, nor an OOX
It turns out if a use a threaded file logger, it works (no idea why):
KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession,"krun",500)
--
View this message in context:
http://drools.46999.n3.nabble.com/Does-KnowledgeRuntimeLogger-work-with-persistence-tp4023372p4023374.html
Sent f
I am using Drools 5.5 with persistence. If I create a session like:
ksession = kbase.newStatefulKnowledgeSession(null,env);
My logger works as expected:
KnowledgeRuntimeLogger klogger =
KnowledgeRuntimeLogger.newFileLogger(ksession,"run")
HOWEVER, if I create the ksession like:
Hi everyone,
I'm relatively new at rule development and I'm having a problem tryin' to
implement one in particular.
I need to capture some events that they've got the same AttributeA and got
more than 9 AttributeB Objects (excluding one type in particular) in one or
more events.
*Model:*
Class Ev
What is line 34?
On 17 April 2013 14:04, himansh wrote:
> Hi,
>
> I am new in guvnor, please help me
>
> my code are bellow
>
> package com.sample;
>
> import org.drools.KnowledgeBase;
> import org.drools.RuleBase;
> import org.drools.WorkingMemory;
> import org.drools.agent.KnowledgeAgent;
> i
Hi,
I am new in guvnor, please help me
my code are bellow
package com.sample;
import org.drools.KnowledgeBase;
import org.drools.RuleBase;
import org.drools.WorkingMemory;
import org.drools.agent.KnowledgeAgent;
import org.drools.agent.KnowledgeAgentFactory;
import org.drools.agent.RuleAgent;
i
Hi Paul,
Can you copy paste your rule?
On 17-04-13 12:15, Paul T wrote:
> Requirement:Equip to tasks scheduling.Earlier tasks may not exceed a waittime
> to latest endtime for each job.
>
> 2 JOBs to plan each with 2 identical TASKs with only 1 EQUIPMENT anchor:
> J1 comprises T1,T2an
Requirement:Equip to tasks scheduling.Earlier tasks may not exceed a waittime
to latest endtime for each job.
2 JOBs to plan each with 2 identical TASKs with only 1 EQUIPMENT anchor:
J1 comprises T1,T2 and J2 comprises T1,T2.
problemFact:EQUIPMENT E1
planning Ent
19 matches
Mail list logo