You&#39;ll need to give a little more information.<br><br>How does your server call &quot;fireAllRules&quot; on those created in Guvnor?<br><br>I suspect you&#39;re using a ChangeSet.xml and KnowledgeAgent somewhere but aren&#39;t telling us?<br>
<br>The HTTP401 suggests this is the case, as your problem sounds like one well documented on the Internet about needing to include authentication parameters in your ChangeSet.xml file.<br><br>With kind regards,<br><br>Mike<br>
<br><div class="gmail_quote">On 2 February 2011 11:32, tsarkar <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;">
Hi,<br>
   I have my application running in one instance of jboss server and guvnor<br>
running in another.<br>
   When my application code tries to fireAllRules created in guvnor, the<br>
following error comes:<br>
16:00:12,131 INFO  [STDOUT] java.lang.RuntimeException: KnowledgeAgent exception<br>
while trying to deserialize KnowledgeDefinitionsPackage<br>
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL:<br>
<a href="http://pcbng100:18080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.drools/LATEST" target="_blank">http://pcbng100:18080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.drools/LATEST</a><br>
When I use same code within a java file with main method &amp; run as java<br>
application in eclipse, the rules fire properly.Any suggestions would be<br>
appreciated.<br>
<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>
</blockquote></div><br>