Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-16 Thread albertorugnone
I am here again! Somebody, can help me in some way? -- View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3914095.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rul

Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-06 Thread albertorugnone
you are right, I made this example only to have a self contained test (it should be better I know :-p). The problem anyway is still there -- View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3890180.html Sent from the Drools: User forum m

Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-06 Thread albertorugnone
This is what I have 11:36:48,888 [it.ipiu.drools.KnowledgeAgent.TestKnowledgeAgent] WARN TestKnowledgeAgent : START [2012-04-06 11:36:50,298:info] KnowledgeAgent applying ChangeSet [2012-04-06 11:36:50,316:debug] KnowledgeAgent subscribing to directory=[UrlResource path='file:/Z:/EXP/drools-test/

Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-05 Thread Esteban Aliverti
Could you append the log output of the Knowledge Agent? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Wed, Apr 4, 2012 at 4:12 PM, albertorugnone wrote: > Thank you every body for your a

Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-04 Thread albertorugnone
Thank you every body for your answer, unfortunately I was't able to reply to you until now because other stuff overwhelmed me literally at work. Anyway I was going ahead using KnowledgeAgent, following your comments and other suggestion. Now I am able to load rules applying change set with Knowledg

Re: [rules-users] KnowledgeAgent Changeset problems

2012-03-06 Thread drdaveg
I am also seeing an "unexpected global" in working code when built in the "buidling using code" paradigm when moved to use changesets and knowledgeagents. I also see this problem reported on another, non-Drools site. My global is a simple java.util.ArrayList and I can see it in the debugger i

Re: [rules-users] KnowledgeAgent Changeset problems

2012-03-01 Thread Herman Post
s.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Wolfgang Laun Sent: Wednesday, February 29, 2012 11:51 PM To: Rules Users List Subject: Re: [rules-users] KnowledgeAgent Changeset problems On 1 March 2012 01:18, Davide Sottara mailto:dso...@gmail.com>> wrote: @Alberto: the app

Re: [rules-users] KnowledgeAgent Changeset problems

2012-02-29 Thread Wolfgang Laun
On 1 March 2012 01:18, Davide Sottara wrote: > > > @Alberto: > the applyChangeSet method requires a ChangeSet resource. You should create > a > changeset xml which contains the URLresource pointing to your directory. > This URLresource will contain the "file://..." URL and the resourcetype of > th

Re: [rules-users] KnowledgeAgent Changeset problems

2012-02-29 Thread Davide Sottara
@Alberto, Herman, sorry, it seems that even the schemalocation I provided is outdated... The xsd is actually included in the droolsjbpm-knowledge api, so it's part of the distribution. It can also be found here https://raw.github.com/droolsjbpm/droolsjbpm-knowledge/master/knowledge-api/src/main/re

Re: [rules-users] KnowledgeAgent Changeset problems

2012-02-29 Thread Hrumph
For your issue #1, we were having the same problem. In org.drools.xml.ExtensibleXmlParser it appears that 'isValidating' defaults to true. This field is tied to the property 'drools.schema.validating'. The only way we have been able to avoid this error is by setting -Ddrools.schema.validating=fa

Re: [rules-users] KnowledgeAgent Changeset problems

2012-02-29 Thread albertorugnone
here again, I tried to change url in a directory in this way kagent.applyChangeSet(ResourceFactory.newUrlResource("file://Z:/WSP/drools-test/src/main/java/com/sample")); kagent.setSystemEventListener(new PrintStreamSystemEventListener()); StatefulKnowledgeSession

Re: [rules-users] KnowledgeAgent Changeset problems

2012-02-29 Thread albertorugnone
Thank you Davide, I will try soon your suggestion about point 4, yes the class is in the same package com.sample Best, Alberto -- View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3787251.html Sent from the Drools: User forum mailing list

Re: [rules-users] KnowledgeAgent Changeset problems

2012-02-29 Thread Davide Sottara
Hi Alberto 1) The XML parser is not validating, so that's not a real issue. If you want, the actual changeset file header is: ... 2) just use a "file:" URL pointing to the directory, but the folder will have to contain resources of the same type 3) when set to true, a new KnowledgeBase inst

[rules-users] KnowledgeAgent Changeset problems

2012-02-29 Thread albertorugnone
Hi all, I have some problem with KnowledgeAgent, maybe you can help me. I will list these in the following 1) during change set loading I have the following error (null: 1, 207): schema_reference.4: Failed to read schema document 'drools-change-set-5.0.xsd', because 1) could not find the document