Hi,<br>Thanks for the quick response and I apologize for posting this on a dev forum. I did not realize.<br><br>I am using Jboss- Brms version 5.0.2<br>Jboss -AS 4.3<br>Jdeveloper Studio version - 3.0.1.<br><br>I did post a problem I was facing with knowledge agent in the previous post. ( I am getting a java based error but I think that because my change-set is not in correct format but am not sure about it.).<br>
<br>Could you send me link of the update you have added?? Could I access it?<br><br>My code snippet for using knowledge agent is as follows ( added it in the previous post also)<br>KnowledgeBase kbase = KnowledgeBaseFactory.<div id=":2ag" class="ii gt">
newKnowledgeBase();<br>
        ResourceFactory.getResourceChangeScannerService().start();<br>   
     ResourceFactory.getResourceChangeNotifierService().start();<br>   
     <br>        // creating a knowledge agent<br>        
KnowledgeAgentConfiguration aconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration();<br>
<br>        KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent(
 &quot;MyAgent&quot;, kbase,aconf );<br>        kagent.applyChangeSet( 
ResourceFactory.newUrlResource(&quot;<a href="http://localhost:8280/jboss-brms/org.drools.guvnor.Guvnor/Guvnor.html" target="_blank">http://localhost:8280/jboss-brms/org.drools.guvnor.Guvnor/Guvnor.html</a>&quot;));<br>
        StatefulKnowledgeSession ksession = kagent.getKnowledgeBase().newStatefulKnowledgeSession();<br><br> 
 //      StatelessSession workingMemory = ruleBase.newStatelessSession();<br>       
 ArrayList&lt;Ip&gt; ipList = new ArrayList&lt;Ip&gt;();<br>
<br>        ksession.setGlobal(&quot;ipList&quot;, ipList);<br>        
ksession.insert(al); // al is my data to insert for firing rules on.<br>        ksession.fireAllRules();<br>        
ksession.dispose();</div><br><br>Thank you.<br><br>Jill<br><br><div class="gmail_quote">On Sun, Jun 27, 2010 at 5:59 PM, Esteban Aliverti <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Jill,<div>Which drools&#39; version are you using? I recently added DSL/DSLR support in knowledge agent. It would be great if you could use what I just did. Unfortunately you will need to use a SNAPSHOT or wait until 5.1 RC1. </div>


<div>I didn&#39;t understand if you are already using knowledge agent for brl files or not. When using DSL/DSLR files with the knowledge agent whenever you modify the DSL resource you will need to mark the DSLR file as modified too in order regenerate the rules.</div>


<div><br></div><div>More info about knowledge agent could be found in documentation (not yet DSL/DSLR support :P ).</div><div><br></div><div>By the way, this is not a dev question.</div>

<div><br></div><div>Best,</div><div><br><div class="gmail_quote"><div><div></div><div class="h5">On Sun, Jun 27, 2010 at 6:48 PM, jillika iyer <span dir="ltr">&lt;<a href="mailto:jillika@gmail.com" target="_blank">jillika@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">

hi,<br><br>I am creating dsl files using jboss-brms and importing them to my eclipse and adding them to the knowledge agent.<br><br>Now ideally we need to change a dsl or a brl file to a dslr file inorder for it to be processed by the knowledgebase.<br>



<br>So when we use the knowledge agent how does it parse the data and create these files???<br><br>Please help me out. I just am trying to add everythin directly to my knowledge base and its not working!<br><br>Thank you<br>



Jill<br>
<br></div></div>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br>