This is interesting. Here are some logs. Note the entry where it says that
the resource now has no subscribers. So it's like when the KnowledgeBase
building operation fails, the subscriber isn't hooked back up to the
resource. I presume it probably should be. I'll have a look in the code
and see what I can see.
Best,
Laird
[#|2011-02-15T09:42:08.103-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=16;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeScanner
modified resource=[UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl'] : 1297776756000
: 1297780925000|#]
[#|2011-02-15T09:42:08.103-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=16;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeNotifier
received ChangeSet notification|#]
[#|2011-02-15T09:42:08.103-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=16;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeScanner
thread is waiting for 20 seconds.|#]
[#|2011-02-15T09:42:08.103-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=17;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeNotification
processing ChangeSet|#]
[#|2011-02-15T09:42:08.104-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=17;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeNotification
ChangeSet modified resource=[UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl'] for
listener=com.edugility.drools.jca.JCACompliantKnowledgeAgent@14b2d46|#]
[#|2011-02-15T09:42:08.104-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=17;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|KnowledgeAgent
received ChangeSet changed notification|#]
[#|2011-02-15T09:42:08.104-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=17;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeNotification
thread is waiting for queue update|#]
[#|2011-02-15T09:42:08.104-0500|INFO|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;|KnowledgeAgent
applying ChangeSet|#]
[#|2011-02-15T09:42:08.113-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|KnowledgeAgent
removing mappings for resource=[UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl'] with
unsubscribe=true|#]
[#|2011-02-15T09:42:08.113-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|KnowledgeAgent
notifier unsubscribing to resource=[UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl']|#]
[#|2011-02-15T09:42:08.113-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeNotification
unsubscribing
listener=com.edugility.drools.jca.JCACompliantKnowledgeAgent@14b2d46 to
resource=[UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl']|#]
[#|2011-02-15T09:42:08.114-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeScanner
unsubcribing
notifier=com.edugility.drools.jca.JCACompliantResourceChangeNotifier@8dac48
to resource=[UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl']|#]
[#|2011-02-15T09:42:08.114-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeScanner
resource=[UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl'] now has no
subscribers|#]
[#|2011-02-15T09:42:08.114-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|KnowledgeAgent
rebuilding KnowledgeBase using ChangeSet|#]
[#|2011-02-15T09:42:08.114-0500|INFO|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;|KnowledgeAgent
performing an incremental build of the ChangeSet|#]
[#|2011-02-15T09:42:09.327-0500|WARNING|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;[4976,2]:
[ERR 102] Line 4976:2 mismatched input 'then' expecting ')' in rule
"AfterBINTK364_B";[5206,2]: [ERR 102] Line 5206:2 mismatched input
'then'
expecting ')' in rule "AfterBINTK365_A";|KnowledgeAgent has
KnowledgeBuilder
errors |#]
[#|2011-02-15T09:42:09.328-0500|WARNING|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;|KnowledgeAgent:
The resource didn't create any package: [UrlResource
path='file:/Users/ljnelson/Projects/lead/drl/LEADRules.drl']|#]
[#|2011-02-15T09:42:09.331-0500|INFO|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;|KnowledgeAgent
incremental build of KnowledgeBase finished and in use|#]
[#|2011-02-15T09:42:09.331-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=19;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|KnowledgeAgent
finished rebuilding KnowledgeBase using ChangeSet|#]
[#|2011-02-15T09:42:28.103-0500|FINER|glassfish3.1|com.edugility.drools.jca.LoggerSystemEventListener|_ThreadID=16;_ThreadName=Thread-1;ClassName=org.drools.core.util.DelegatingSystemEventListener;MethodName=debug;|ResourceChangeScanner
attempt to scan 0 resources|#]
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-5-1-What-happe...
Sent from the Drools - User mailing list archive at
Nabble.com.