Sorry, I forgot to mention, the Mortgages-example I have contains the following:-<br><br>    <span style="font-family: courier new,monospace;">private static KnowledgeBase readKnowledgeBase() throws Exception {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        KnowledgeAgent kagent = KnowledgeAgentFactory</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                .newKnowledgeAgent( &quot;MortgageAgent&quot; );</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        kagent.applyChangeSet( ResourceFactory</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                .newClassPathResource( &quot;changeset.xml&quot; ) );</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        KnowledgeBase kbase = kagent.getKnowledgeBase();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        kagent.dispose();</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        return kbase;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    }</span><br><br>You can see it loads the changeset.xml file (no sight of a properties file?!?!). <br>
<br>This file you will note is in the src folder which is on the classpath defined in the Eclipse .classpath file (assuming you run mvn eclipse:eclipse to create these).<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">
On 3 February 2011 09:48, drools10 <span dir="ltr">&lt;<a href="mailto:tsarkar@professionalaccess.com">tsarkar@professionalaccess.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;">
<br>
Hi Mike,<br>
          I went through the mortgage example. I saw the guvnor generated<br>
url accessed through a properties file there. I had tried a similar approach<br>
before. But the issue of username/password had cropped up, even when ran as<br>
a simple java application. By creating my own changeset xml only I was able<br>
to resolve the issue.<br>
        Could you please elaborate how I can add the ChangeSet to my<br>
classpath, as you suggested earlier?<br>
Or could you tell me which jar files the &#39;con&#39; entry in .classpath file<br>
refers to : &lt;classpathentry kind=&quot;con&quot; path=&quot;DROOLS/Drools&quot;/&gt; ?<br>
        Thanks.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/guvnor-integration-gives-401-error-tp2404740p2412058.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/guvnor-integration-gives-401-error-tp2404740p2412058.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>