<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><P>Hi Jarek,</P><P>I believed I am using the same version, 5.1.0.M1, for guvnor, eclipse plugins, bin(cores).</P><P>Thanks..</P><DIV><BR></DIV><FONT color=#990099>-----rules-users-bounces@lists.jboss.org wrote: -----<BR><BR></FONT><BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">To: Rules Users List &lt;rules-users@lists.jboss.org&gt;<BR>From: Jaroslaw Kijanowski &lt;kijanowski@gmail.com&gt;<BR>Sent by: rules-users-bounces@lists.jboss.org<BR>Date: 02/04/2010 04:28PM<BR>Subject: Re: [rules-users] Error deserialize KnowledgeDefinitionsPackage<BR><BR><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">Hi,<BR>&nbsp;&nbsp;what's the version of Guvnor in your 'existing project'? Can you make <BR>sure it is the same as your agent's version?<BR><BR>Cheers,<BR>&nbsp;&nbsp;Jarek<BR><BR>Jian Feng Ng wrote:<BR>&gt; I am facing this error of knowledgeagent trying to deserialize <BR>&gt; knowledgedefinitionspackage. Actually I am not too sure what caused this <BR>&gt; problem..<BR>&gt; I have successfully deployed my rules in guvnor, and running a sample <BR>&gt; test case on one of the ruleflow works fine. However, when I tried to <BR>&gt; integrate into an existing project, using the same code of initializing <BR>&gt; knowledgeagent from the sample test, the error occurred. I am using <BR>&gt; drools 5.1.0.m1. Below is the error messages..<BR>&gt; <BR>&gt; &nbsp;<BR>&gt; <BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,312 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:312:info] ResourceChangeScanner creat<BR>&gt; ed with default interval=60<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,312 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:312:info] ResourceChangeScanner recon<BR>&gt; figured with interval=15<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,531 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:531:info] ResourceChangeNotification<BR>&gt; created<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,531 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:531:debug] ResourceChangeNotification<BR>&gt; &nbsp;monitor added <BR>&gt; monitor=org.drools.io.impl.ResourceChangeScannerImpl@160498d <BR>&gt; &lt;<A href="mailto:monitor=org.drools.io.impl.ResourceChangeScannerImpl@160498d" target=blank>mailto:monitor=org.drools.io.impl.ResourceChangeScannerImpl@160498d</A>&gt;<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,531 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:531:info] KnowledgAgent created, with<BR>&gt; &nbsp;configuration:<BR>&gt; jvm 1 &nbsp; &nbsp;| monitorChangeSetEvents=true scanResources=true <BR>&gt; scanDirectories=true<BR>&gt; jvm 1 &nbsp; &nbsp;| Thread-17 11:35:59,531 INFO &nbsp;[STDOUT line:152] [2010:02:35 <BR>&gt; 11:02:531:info] KnowledegAgent has started listeni<BR>&gt; ng for ChangeSet notifications<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] (null: <BR>&gt; 3, 92): schema_reference.4: Failed to read schem<BR>&gt; a document 'drools-change-set-5.0.xsd', because 1) could not find the <BR>&gt; document; 2) the document could not be read; 3) th<BR>&gt; e root element of the document is not &lt;xsd:schema&gt;.<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] (null: <BR>&gt; 3, 92): cvc-elt.1: Cannot find the declaration o<BR>&gt; f element 'change-set'.<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] (null: <BR>&gt; 4, 10): schema_reference.4: Failed to read schem<BR>&gt; a document 'drools-change-set-5.0.xsd', because 1) could not find the <BR>&gt; document; 2) the document could not be read; 3) th<BR>&gt; e root element of the document is not &lt;xsd:schema&gt;.<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] (null: <BR>&gt; 5, 132): schema_reference.4: Failed to read sche<BR>&gt; ma document 'drools-change-set-5.0.xsd', because 1) could not find the <BR>&gt; document; 2) the document could not be read; 3) t<BR>&gt; he root element of the document is not &lt;xsd:schema&gt;.<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:609:info] KnowledgAgent applying Chan<BR>&gt; geSet<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:609:debug] KnowledgeAgent subscribing<BR>&gt; &nbsp;to resource=[UrlResource <BR>&gt; path='http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATES<BR>&gt; T']<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:609:debug] ResourceChangeNotification<BR>&gt; &nbsp;subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@a0fdd1 <BR>&gt; &lt;<A href="mailto:listener=org.drools.agent.impl.KnowledgeAgentImpl@a0fdd1" target=blank>mailto:listener=org.drools.agent.impl.KnowledgeAgentImpl@a0fdd1</A>&gt; to <BR>&gt; resource=[UrlResource path='http://localhost:80<BR>&gt; 80/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST']<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:609:debug] ResourceChangeScanner subc<BR>&gt; ribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@615dc4 <BR>&gt; &lt;<A href="mailto:notifier=org.drools.io.impl.ResourceChangeNotifierImpl@615dc4" target=blank>mailto:notifier=org.drools.io.impl.ResourceChangeNotifierImpl@615dc4</A>&gt; <BR>&gt; to resource=[UrlResource path='http://localhost:808<BR>&gt; 0/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST']<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:609:debug] KnowledgeAgent ChangeSet r<BR>&gt; equires KnowledgeBuilder<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:609:debug] KnowledgeAgent rebuilding<BR>&gt; KnowledgeBase using ChangeSet<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,609 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:609:debug] KnowledgeAgent building re<BR>&gt; source=[UrlResource <BR>&gt; path='http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST']<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:843:exception]<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] <BR>&gt; java.lang.RuntimeException: KnowledgeAgent exception wh<BR>&gt; ile trying to deserialize KnowledgeDefinitionsPackage<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.drools.agent.impl.KnowledgeAgentImpl.rebu<BR>&gt; ildResources(KnowledgeAgentImpl.java:418)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.drools.agent.impl.KnowledgeAgentImpl.appl<BR>&gt; yChangeSet(KnowledgeAgentImpl.java:120)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.drools.agent.impl.KnowledgeAgentImpl.appl<BR>&gt; yChangeSet(KnowledgeAgentImpl.java:109)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.dsta.smart.util.DroolsRuleEngine.init(Dro<BR>&gt; olsRuleEngine.java:48)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.dsta.smart.util.DroolsRuleEngine.&lt;init&gt;(D<BR>&gt; roolsRuleEngine.java:24)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.dsta.smart.util.RuleEngineManager.init(Ru<BR>&gt; leEngineManager.java:28)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.dsta.smart.util.RuleEngineManager.getInst<BR>&gt; ance(RuleEngineManager.java:20)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.dsta.smart.mdb.FilterAnomaliesIndicatorMD<BR>&gt; B.onMessage(FilterAnomaliesIndicatorMDB.java:118)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(<BR>&gt; Native Method)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(N<BR>&gt; ativeMethodAccessorImpl.java:39)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at sun.reflect.DelegatingMethodAccessorImpl.invo<BR>&gt; ke(DelegatingMethodAccessorImpl.java:25)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.lang.reflect.Method.invoke(Method.java:5<BR>&gt; 85)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aop.joinpoint.MethodInvocation.invo<BR>&gt; keNext(MethodInvocation.java:112)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.interceptor.InvocationContextI<BR>&gt; mpl.proceed(InvocationContextImpl.java:166)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.interceptor.EJB3InterceptorsIn<BR>&gt; terceptor.invoke(EJB3InterceptorsInterceptor.java:63)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aop.joinpoint.MethodInvocation.invo<BR>&gt; keNext(MethodInvocation.java:101)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.entity.TransactionScopedEntity<BR>&gt; ManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aop.joinpoint.MethodInvocation.invo<BR>&gt; keNext(MethodInvocation.java:101)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.AllowedOperationsInterceptor.i<BR>&gt; nvoke(AllowedOperationsInterceptor.java:47)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aop.joinpoint.MethodInvocation.invo<BR>&gt; keNext(MethodInvocation.java:101)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aspects.tx.TxPolicy.invokeInCallerT<BR>&gt; x(TxPolicy.java:126)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aspects.tx.TxInterceptor$Required.i<BR>&gt; nvoke(TxInterceptor.java:195)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aop.joinpoint.MethodInvocation.invo<BR>&gt; keNext(MethodInvocation.java:101)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.stateless.StatelessInstanceInt<BR>&gt; erceptor.invoke(StatelessInstanceInterceptor.java:62)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.aop.joinpoint.MethodInvocation.invo<BR>&gt; keNext(MethodInvocation.java:101)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.mdb.MessagingContainer.localIn<BR>&gt; voke(MessagingContainer.java:249)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.mdb.inflow.MessageInflowLocalP<BR>&gt; roxy.delivery(MessageInflowLocalProxy.java:268)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,843 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.ejb3.mdb.inflow.MessageInflowLocalP<BR>&gt; roxy.invoke(MessageInflowLocalProxy.java:138)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at $Proxy119.onMessage(Unknown Source)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.resource.adapter.jms.inflow.JmsServ<BR>&gt; erSession.onMessage(JmsServerSession.java:178)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.mq.SpyMessageConsumer.sessionConsum<BR>&gt; erProcessMessage(SpyMessageConsumer.java:906)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.mq.SpyMessageConsumer.addMessage(Sp<BR>&gt; yMessageConsumer.java:170)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.mq.SpySession.run(SpySession.java:3<BR>&gt; 23)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.resource.adapter.jms.inflow.JmsServ<BR>&gt; erSession.run(JmsServerSession.java:237)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.resource.work.WorkWrapper.execute(W<BR>&gt; orkWrapper.java:204)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.jboss.util.threadpool.BasicTaskWrapper.ru<BR>&gt; n(BasicTaskWrapper.java:275)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at EDU.oswego.cs.dl.util.concurrent.PooledExecut<BR>&gt; or$Worker.run(PooledExecutor.java:756)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.lang.Thread.run(Thread.java:595)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] Caused <BR>&gt; by: java.io.InvalidClassException: org.drools.ba<BR>&gt; se.ClassFieldAccessorStore; local class incompatible: stream classdesc <BR>&gt; serialVersionUID = 400, local class serialVersion<BR>&gt; UID = 487535245723988666<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectStreamClass.initNonProxy(Object<BR>&gt; StreamClass.java:546)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readNonProxyDesc(Ob<BR>&gt; jectInputStream.java:1552)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readClassDesc(Objec<BR>&gt; tInputStream.java:1466)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readOrdinaryObject(<BR>&gt; ObjectInputStream.java:1699)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readObject0(ObjectI<BR>&gt; nputStream.java:1305)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.skipCustomData(Obje<BR>&gt; ctInputStream.java:1873)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readExternalData(Ob<BR>&gt; jectInputStream.java:1767)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readOrdinaryObject(<BR>&gt; ObjectInputStream.java:1717)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readObject0(ObjectI<BR>&gt; nputStream.java:1305)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,921 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at java.io.ObjectInputStream.readObject(ObjectIn<BR>&gt; putStream.java:348)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,937 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.drools.util.DroolsStreamUtils.streamIn(Dr<BR>&gt; oolsStreamUtils.java:189)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,937 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.drools.util.DroolsStreamUtils.streamIn(Dr<BR>&gt; oolsStreamUtils.java:158)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,937 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; at org.drools.agent.impl.KnowledgeAgentImpl.rebu<BR>&gt; ildResources(KnowledgeAgentImpl.java:408)<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,937 INFO &nbsp;[STDOUT line:152] &nbsp; &nbsp; &nbsp; &nbsp;<BR>&gt; ... 37 more<BR>&gt; jvm 1 &nbsp; &nbsp;| WorkManager(2)-4 11:35:59,937 INFO &nbsp;[STDOUT line:152] <BR>&gt; [2010:02:35 11:02:937:info] KnowledgeAgent new Knowledg<BR>&gt; eBase now built and in use<BR>&gt; jvm 1 &nbsp; &nbsp;| Thread-18 11:35:59,937 INFO &nbsp;[STDOUT line:152] [2010:02:35 <BR>&gt; 11:02:937:info] ResourceChangeNotification has sta<BR>&gt; rted listening for ChangeSet publications<BR>&gt; jvm 1 &nbsp; &nbsp;| Thread-18 11:35:59,937 INFO &nbsp;[STDOUT line:152] [2010:02:35 <BR>&gt; 11:02:937:debug] ResourceChangeNotification thread<BR>&gt; &nbsp;is waiting for queue update<BR>&gt; jvm 1 &nbsp; &nbsp;| Thread-19 11:35:59,937 INFO &nbsp;[STDOUT line:152] [2010:02:35 <BR>&gt; 11:02:937:info] ResourceChangeNotification scanner<BR>&gt; &nbsp;has started<BR>&gt; jvm 1 &nbsp; &nbsp;| Thread-19 11:35:59,937 INFO &nbsp;[STDOUT line:152] [2010:02:35 <BR>&gt; 11:02:937:debug] ResourceChangeScanner attempt to<BR>&gt; scan 1 resources<BR>&gt; jvm 1 &nbsp; &nbsp;| Thread-19 11:35:59,953 INFO &nbsp;[STDOUT line:152] [2010:02:35 <BR>&gt; 11:02:953:debug] ResourceChangeScanner thread is w<BR>&gt; aiting for 15<BR>&gt; <BR>&gt; &nbsp;<BR>&gt; <BR>&gt; And this are the codes I used to init drools..<BR>&gt; <BR>&gt; &nbsp; ResourceChangeScannerConfiguration sconf = <BR>&gt; ResourceFactory.getResourceChangeScannerService().newResourceChangeScannerConfiguration();<BR>&gt; &nbsp; sconf.setProperty( "drools.resource.scanner.interval", "15" );<BR>&gt; &nbsp; ResourceFactory.getResourceChangeScannerService().configure( sconf );<BR>&gt; &nbsp; <BR>&gt; &nbsp; KnowledgeAgentConfiguration kaconf = <BR>&gt; KnowledgeAgentFactory.newKnowledgeAgentConfiguration();<BR>&gt; &nbsp; kaconf.setProperty( "drools.agent.scanDirectories", "true" );<BR>&gt; &nbsp; kaconf.setProperty( "drools.agent.scanResources", "true" );<BR>&gt; &nbsp; kaconf.setProperty( "drools.agent.newAgent", "true" );<BR>&gt; &nbsp; KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "test <BR>&gt; agent", &nbsp;kaconf );<BR>&gt; &nbsp; <BR>&gt; &nbsp; kagent.applyChangeSet(ResourceFactory.newUrlResource(new <BR>&gt; URL("<A href="http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST/ChangeSet.xml" target=blank>http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST/ChangeSet.xml</A>")));<BR>&gt; &nbsp; <BR>&gt; &nbsp; ResourceFactory.getResourceChangeNotifierService().start();<BR>&gt; &nbsp; ResourceFactory.getResourceChangeScannerService().start();<BR>&gt; &nbsp; <BR>&gt; &nbsp; KnowledgeBase kbase = kagent.getKnowledgeBase();<BR>&gt; &nbsp; <BR>&gt; &nbsp; ksession = kbase.newStatefulKnowledgeSession();<BR>&gt; &nbsp; logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "test");<BR>&gt; <BR>&gt; &nbsp;<BR>&gt; <BR>&gt; Anyone helps??<BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; rules-users mailing list<BR>&gt; rules-users@lists.jboss.org<BR>&gt; <A href="https://lists.jboss.org/mailman/listinfo/rules-users" target=blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>_______________________________________________<BR>rules-users mailing list<BR>rules-users@lists.jboss.org<BR><A href="https://lists.jboss.org/mailman/listinfo/rules-users" target=blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR></FONT></BLOCKQUOTE><BR></FONT>