[rules-users] BRMS 5.1 change-set.xml

Michael Anstis michael.anstis at gmail.com
Sat Dec 18 08:31:50 EST 2010


Have you tried accessing the URL from a browser to confirm you are prompted
for a username and password and that the credentials you show can be
confirmed as valid?

What version of Drools are you running client side too?

2010/12/18 Benson Fung <benson.redhat at gmail.com>

> Hi
>
> I am using the BRMS 5.1 with the following change-set.xml at the client
> side.
>
> <change-set xmlns='http://drools.org/drools-5.0/change-set'
>     xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
>     xs:schemaLocation='http://drools.org/drools-5.0/change-set
> http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd'
> >
>     <add>
>          <resource source='
> http://192.168.11.8:8080/jboss-brms/org.drools.guvnor.Guvnor/package/axaDemoPackage/LATEST'
> type='PKG' basicAuthentication="enabled" username="admin" password="admin"/>
>     </add>
> </change-set>
>
>
> Howerver, I still get the following exceptions.  Please help
>
> Caused by: java.io.IOException: Server returned HTTP response code: 401 for
> URL:
> http://192.168.11.8:8080/jboss-brms/org.drools.guvnor.Guvnor/package/axaDemoPackage/LATEST
>     at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
>     at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:76)
>     at
> org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:407)
>     ... 3 more
>
>
> Thanks
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101218/aa01dd24/attachment.html 


More information about the rules-users mailing list