OK.<br><br>A simple test.<br><br>(a) Download the PKG file using the URL in the change-set (just paste into a browser) and (b) add to a KnowledgeBuilder manually.<br><br>If (a) is slow ensure it has been built in Guvnor first. If it is still slow then I don't suspect the package compilation but something (not Drools) related.<br>
<br>If (b) is slow then that's how long it takes to load the binary package (but I suspect, and hope, this is not slow).<br><br><div class="gmail_quote">On 22 May 2012 17:12, mpgong <span dir="ltr"><<a href="mailto:michael.p.gong@lmco.com" target="_blank">michael.p.gong@lmco.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is what my change-set.xml looks like.<br>
<br>
<change-set xmlns='<a href="http://drools.org/drools-5.0/change-set" target="_blank">http://drools.org/drools-5.0/change-set</a>'<br>
xmlns:xs='<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>'<br>
xs:schemaLocation='<a href="http://drools.org/drools-5.0/change-set" target="_blank">http://drools.org/drools-5.0/change-set</a><br>
<a href="http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd" target="_blank">http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd</a>'<br>
><br>
<add><br>
<resource<br>
source='<a href="http://ibeserver:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.ibe.rules.CheckResults/LATEST" target="_blank">http://ibeserver:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.ibe.rules.CheckResults/LATEST</a>'<br>
type='PKG' /><br>
</add><br>
</change-set><br>
<br>
So i am using the PKG type. Now i can't believe that it is sending the<br>
300KB or so package over the network that is slow, though possible.<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-use-Guvnor-effectively-tp4006811p4006951.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-use-Guvnor-effectively-tp4006811p4006951.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum 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>