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

Benson Fung benson.fung at redhat.com
Sat Dec 18 11:23:42 EST 2010


Yeah!!!!!  It works, Michael.   Thanks



2010/12/18 Michael Anstis <michael.anstis at gmail.com>

> AFAIK you'd need to run 5.1 against BRMS 5.1, as the code to handle sending
> authentication details wasn't introduced until 5.1...
>
> 2010/12/18 Benson Fung <benson.fung at redhat.com>
>
> Yes, I tried to put the URL on the browser, and I am prompted to download
>> the PKG file without any problem.  So that is the thing I am wondering.
>>
>> I am using Drools 5.0.2 version.
>>
>>
>> Thanks
>>
>>
>> 2010/12/18 Michael Anstis <michael.anstis at gmail.com>
>>
>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>
>>
>> --
>> Benson Fung
>> Solution Architect, Global Services, Greater China
>> | Redhat Hong Kong Limited || 45/F., The Lee Gardens, 33 Hysan Avenue,
>> Causeway Bay, Hong Kong || Office : 852-31802332 || Cell : 852-98369898 ||
>> benson.fung at redhat.com || http://www.hk.redhat.com||
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
Benson Fung
Solution Architect, Global Services, Greater China
| Redhat Hong Kong Limited || 45/F., The Lee Gardens, 33 Hysan Avenue,
Causeway Bay, Hong Kong || Office : 852-31802332 || Cell : 852-98369898 ||
benson.fung at redhat.com || http://www.hk.redhat.com||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101219/f4f5d0ac/attachment.html 


More information about the rules-users mailing list