[rules-users] What do this output from Guvnor means?

Brody bach brodybach at yahoo.com
Thu Apr 16 09:23:49 EDT 2009


Hi all, 
while using Guvnor, I noticed several outputs on the console.
And I'm curious enough what does these lines mean, and how can I eventually
make them faster..(questions are below this code block)

..............
14:47:55,562 INFO  [STDOUT] [] [2009:04:106 14:04:562:debug] KnowledgeAgent
ChangeSet requires KnowledgeBuilder
14:47:55,562 INFO  [STDOUT] [] [2009:04:106 14:04:562:debug] KnowledgeAgent
rebuilding KnowledgeBase using ChangeSet
14:47:55,578 INFO  [STDOUT] [] [2009:04:106 14:04:578:debug] KnowledgeAgent
building resource=[UrlResource
path='http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/testRegulation/testRegulation']
14:47:55,578 INFO  [STDOUT] [] PackageName: testRegulation
14:47:55,578 INFO  [STDOUT] [] PackageVersion: testRegulation
14:47:55,578 INFO  [STDOUT] [] PackageIsLatest: false
14:47:55,578 INFO  [STDOUT] [] PackageIsSource: false
14:47:56,671 INFO  [STDOUT] [] PackageName: nationalRegulation
14:47:56,671 INFO  [STDOUT] [] PackageVersion: nationalRegulation
14:47:56,671 INFO  [STDOUT] [] PackageIsLatest: false
14:47:56,671 INFO  [STDOUT] [] PackageIsSource: false
14:47:57,609 INFO  [STDOUT] [] [2009:04:106 14:04:609:debug] KnowledgeAgent
adding KnowledgeDefinitionsPackage testRegulation
14:47:57,656 INFO  [STDOUT] [] [2009:04:106 14:04:656:info] KnowledgeAgent
new KnowledgeBase now built and in use

Several questions:

1. The lines in bold (PackageIsLatest) appears to take the most time. What
is actually happened there?
2. In the application, i usually have several of this code block and they
make the application slower.
Which instances (KnowledgeBase, (Stateless)KnowledgeSession,
KnowledgeAgentConfig, KnowledgeAgent) can I actually reuse (no
reinstantiating) without having the possibility that old rules package is
being used when I have a new one?

Thanks in advance!

Regards
BB
-- 
View this message in context: http://www.nabble.com/What-do-this-output-from-Guvnor-means--tp23077920p23077920.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list