can you capture the exception for reference?  Looks like I got similar exceptions before.<br><br><br><br><div class="gmail_quote">On Wed, Jan 12, 2011 at 12:31 AM, bob.breitling <span dir="ltr">&lt;<a href="mailto:bob.breitling@rrd.com">bob.breitling@rrd.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>
If I have a KnowledgeAgent and I create a URL Resource and set its<br>
basicAuthenication, username and password attributes then I call the agents<br>
applyChangeSet method I get a HTTPD 401 response from the Guvnor.  It does<br>
not happen to my resourse which has a valid username and password, but it<br>
happens to the resource in the changeSet xml tag.<br>
<br>
It would seem to me that the resources that are built from the resource I<br>
passed would inherit the basicAuthenication, username and password<br>
attributes that I set and know work, but they don&#39;t and I get this error.<br>
<br>
If I debug the code and filling in those values on the resource passed to<br>
the createPackageFromResource method before the resource stream is read the<br>
code works.<br>
<br>
I am using the NilAuthenicator in the Guvnor components.xml and that seems<br>
to be working.  I get access to the Guvnor without being asked for<br>
credentials.<br>
<br>
I tried to configure my jboss (4.2.0) in login-config.xml to allow access to<br>
everything as guest.  But no luck.<br>
<br>
Any suggestions?<br>
<br>
Bob<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeAgent-and-applyChangeSet-tp2235189p2235189.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeAgent-and-applyChangeSet-tp2235189p2235189.html</a><br>

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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Benson Fung<br>
Solution Architect, Global Services, Greater China<br>
| Redhat Hong Kong Limited || 45/F., The Lee Gardens, 33 Hysan Avenue, 
Causeway Bay, Hong Kong || Office : 852-31802332 || Cell : 852-98369898 
|| <a href="mailto:benson.fung@redhat.com" target="_blank">benson.fung@redhat.com</a> || <a href="http://www.hk.redhat.com/" target="_blank">http://www.hk.redhat.com</a>||<br>