<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div> </div></blockquote>
<div>Hi there,</div>
<div> </div>
<div>First of all I have got to say that I tried the following :</div>
<div> </div>
<div>Jboss 4.0.5</div>
<div>Jboss 4.2.2</div>
<div>jbrms 4.0.2</div>
<div>jbrms 4.0.3</div>
<div>jbrms 4.0.4</div>
<div>jbrms 4.0.x (SVN first days of march)</div>
<div> </div>
<div>I tried all the possible combinations between those above.</div>
<div> </div>
<div>Then let me show u my scenario.</div>
<div> </div>
<div>I have got a client which sends a "contract id" to a queue.</div>
<div> </div>
<div>Then an MDB is invoked to pass that "id" to an deserializer which builds up</div>
<div>a "contract object".</div>
<div> </div>
<div>Once I have got the "contract object" I pass it to Drools in order</div>
<div>to perform some reasoning over it and to get back a reply from</div>
<div>the engine.</div>
<div> </div>
<div><u>Let me show you how my application "Uses drools":</u></div>
<div> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><font size="2">
<p align="left"></p></font><b><font color="#7f0055" size="2">public</font></b><font size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font size="2"> </font><b><font color="#7f0055" size="2">synchronized</font></b><font size="2"> </font><b><font color="#7f0055" size="2">final</font></b><font size="2"> WorkingMemoryEventManager getSession(</font><b><font color="#7f0055" size="2">boolean</font></b><font size="2"> statefull) {
<p align="left"></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"></p></blockquote></font><i><font color="#0000c0" size="2">log</font></i><font size="2">.info(</font><font color="#2a00ff" size="2">"Getting Agent Singleton from: "</font><font size="2">+Thread.<i>currentThread</i>().getName());</font></div>
</blockquote>
<p align="left"></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"><b><font color="#7f0055" size="2">if</font></b><font size="2"> ( </font><i><font color="#0000c0" size="2">ruleagent</font></i><font size="2"> == </font><b><font color="#7f0055" size="2">null</font></b><font size="2"> ) { </font></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"><b><font color="#7f0055" size="2">try</font></b><font size="2"> {</font></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"><i><font color="#0000c0" size="2">ruleagent</font></i><font size="2"> = <i>BRMS_RuleAgent</i>();</font></p></blockquote></blockquote></blockquote>
<p align="left"></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left">} <b><font color="#7f0055" size="2">catch</font></b><font size="2"> (Exception e) {</font><font color="#3f7f5f" size="2"></font></p><font size="2">
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left">e.printStackTrace();</p></blockquote>
<p align="left">}</p></font></blockquote>
<p dir="ltr" align="left">}</p></blockquote>
<p align="left"></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"><b><font color="#7f0055" size="2">if</font></b><font size="2"> (statefull){ </font></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"><i><font color="#0000c0" size="2">rulebase</font></i><font size="2"> = </font><i><font color="#0000c0" size="2">ruleagent</font></i><font size="2">.getRuleBase();</font></p>
<p align="left"><i><font color="#0000c0" size="2">session</font></i><font size="2"> = </font><i><font color="#0000c0" size="2">rulebase</font></i><font size="2">.newStatefulSession();</font></p></blockquote>
<p align="left">}</p>
<p align="left"><b><font color="#7f0055" size="2">else</font></b><font size="2"> {</font></p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"><i><font color="#0000c0" size="2">rulebase</font></i><font size="2"> = </font><i><font color="#0000c0" size="2">ruleagent</font></i><font size="2">.getRuleBase();</font></p>
<p align="left"><i><font color="#0000c0" size="2">session</font></i><font size="2"> = </font><i><font color="#0000c0" size="2">rulebase</font></i><font size="2">.newStatelessSession();</font></p></blockquote>
<p align="left">}</p>
<p align="left"><i><font color="#0000c0" size="2">log</font></i><font size="2">.info(</font><font color="#2a00ff" size="2">"Releasing Agent Singleton from: "</font><font size="2">+Thread.<i>currentThread</i>().getName());</font></p>
<p align="left"></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font size="2"> </font><i><font color="#0000c0" size="2">session</font></i><font size="2">;</font></p></blockquote>
<p>} </p>
<p> </p>
<p dir="ltr">As You can see I can get either a statefull session or a stateless one in a thread-safe way.</p>
<p dir="ltr">Let's say i always get a stateless one.</p>
<p dir="ltr"><u>The Ruleagent is used as follows:</u></p><font size="2">
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left"></p></blockquote></font><b><font color="#7f0055" size="2">private</font></b><font size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font size="2"> RuleAgent BRMS_RuleAgent() </font><b><font color="#7f0055" size="2">throws</font></b><font size="2"> Exception {
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p align="left">RuleAgent agent = RuleAgent.<i>newRuleAgent</i>(</p></blockquote></font><font color="#2a00ff" size="2">"/brmsdeployedrules.properties"</font><font size="2">);
<p align="left"></p></font><font color="#3f7f5f" size="2">//add the package to a rulebase (deploy the rule package).</font><font size="2">
<p align="left"></p></font><b><font color="#7f0055" size="2">return</font></b><font size="2"> agent;
<p>} </p>
<p dir="ltr"><strong>I configured the ruleagent to "newInstance=true", with a refresh of 5 secs and localcachedir=.</strong></p>
<p dir="ltr">So, everytime the contract comes to be evaluated i call a <em>getSession</em>() in order</p>
<p dir="ltr">to load the rulebase.</p>
<p dir="ltr">In EVERY AServer and with EACH JBRMS version, the the RuleAgent seems can't connect</p>
<p dir="ltr">to the rulebase and so it simply loads the rules from the cache.</p>
<p dir="ltr">Furthermore if I change the jbrms rules, the RuleAgent really DOES NOT CARE</p>
<p dir="ltr">about it and we know that after 5 seconds it should AUTOMATICALLY refresh the</p>
<p dir="ltr">rulebase but at the end IT DOES NOT DO ANYTHING!</p>
<p dir="ltr"><u>After a while I also get back the following error message:</u></p>
<div dir="ltr"></div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><em>11:17:06,219 ERROR [[/drools-jbrms]] Exception while dispatching incoming RPC call</em></div>
<div>11:17:09,997 ERROR [[GWTRemotingServlet]] Servlet.service() for servlet GWTRemotingServlet threw exc</div>
<div>eption</div>
<div>java.lang.OutOfMemoryError: PermGen space</div>
<div>11:17:10,005 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml</div>
<div>11:17:10,890 ERROR [CoyoteAdapter] An exception or error occurred in the container during the reques</div>
<div>t processing</div>
<p dir="ltr"><strong>And after it the AS REALLY CRASHES and one more of my hairs BECOMES WHITE !!!! :( :(</strong></p></blockquote>
<p dir="ltr"><u>To be more clear let me show you what happens if I execute drools</u></p>
<p dir="ltr"><u>with jboss 405 and jbrms 404, without the ruleagent cache activated:</u></p>
<p dir="ltr"><em>11:50:18,275 INFO [DroolsServiceProvider] Getting Agent Singleton from: JMS SessionPool Worker-0<br>11:50:18,331 ERROR [STDERR] RuleAgent(RuleAgentMassi) INFO (Sat Aug 04 11:50:18 CEST 2007): Configuring with newInstance=true, secondsToRefresh=5<br>
11:50:18,336 ERROR [STDERR] RuleAgent(RuleAgentMassi) INFO (Sat Aug 04 11:50:18 CEST 2007): Configuring package provider : URLScanner monitoring URLs: </em><a href="http://127.0.0.1:8080/drools-jbrms/org.drools.br"><em><a href="http://127.0.0.1:8080/drools-jbrms/org.drools.brms.JBRMS/package/com.spyd.rules.initAction/initAction">http://127.0.0.1:8080/drools-jbrms/org.drools.br</a></em></a><em>ms.JBRMS/package/com.spyd.rules.initAction/initAction </em><a href="http://127.0.0.1:8080/drools-jbrms/org.drools"><em>http://127.0.0.1:8080/drools-jbrms/org.drools</em></a><em>.<br>
brms.JBRMS/package/com.spyd.rules.ConsolidateData/ConsolidateData </em><a href="http://127.0.0.1:8080/drools-jbrms"><em><a href="http://127.0.0.1:8080/droolsjbrms/org.drools.brms.JBRMS/package/com.spyd.rules.DetermineConnection/DetermineConnection">http://127.0.0.1:8080/droolsjbrms</a></em></a><em>/org.drools.brms.JBRMS/package/com.spyd.rules.DetermineConnection/DetermineConnection<br>
11:50:19,840 INFO [STDOUT] PackageName: com.spyd.rules.initAction<br>11:50:19,841 INFO [STDOUT] PackageVersion: initAction<br>11:50:19,841 INFO [STDOUT] PackageIsLatest: false<br><font color="#ff6666"><strong>11:50:20,559 ERROR [STDERR] RuleAgent(RuleAgentMassi) EXCEPTION (Sat Aug 04 11:50:20 CEST 2007): org<br>
.drools.base.dataproviders.MVELDataProvider; local class incompatible: stream classdesc serialVersio<br>nUID = 6980593313545470049, local class serialVersionUID = 1901006343031798173. Stack trace should f<br>ollow.11:50:20,563 ERROR [STDERR] java.io.InvalidClassException: org.drools.base.dataproviders.MVELDataPro<br>
vider; local class incompatible: stream classdesc serialVersionUID = 6980593313545470049, local class serialVersionUID = 1901006343031798173<br>11:50:20,564 ERROR [STDERR] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)<br>
11:50:20,565 ERROR [STDERR] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)<br>11:50:20,566 ERROR [STDERR] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)</strong><br>
</font>...<br>11:50:20,581 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:20,583 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>
11:50:20,583 ERROR [STDERR] at java.util.HashMap.readObject(HashMap.java:1029)<br>11:50:20,584 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>11:50:20,584 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
11:50:20,585 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>11:50:20,586 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)<br>11:50:20,587 ERROR [STDERR] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)<br>
11:50:20,588 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)<br>11:50:20,589 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>...<br>
11:50:20,604 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:20,605 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>11:50:20,605 ERROR [STDERR] at java.util.HashMap.readObject(HashMap.java:1029)<br>
11:50:20,606 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>11:50:20,606 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>11:50:20,607 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
11:50:20,608 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)<br>11:50:20,609 ERROR [STDERR] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)<br>11:50:20,610 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)<br>
11:50:20,611 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>11:50:20,612 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:20,613 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>
11:50:20,614 ERROR [STDERR] at org.drools.rule.Package.readExternal(Package.java:194)<br>11:50:20,615 ERROR [STDERR] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)<br>11:50:20,616 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)<br>
11:50:20,617 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:20,618 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>11:50:20,618 ERROR [STDERR] at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:54)<br>
11:50:20,619 ERROR [STDERR] at org.drools.agent.URLScanner.readPackage(URLScanner.java:137)<br>11:50:20,620 ERROR [STDERR] at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:109)<br>11:50:20,621 ERROR [STDERR] at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:88)<br>
11:50:20,622 ERROR [STDERR] at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:330)<br>11:50:20,622 ERROR [STDERR] at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:298)<br>11:50:20,623 ERROR [STDERR] at org.drools.agent.RuleAgent.configure(RuleAgent.java:284)<br>
11:50:20,623 ERROR [STDERR] at org.drools.agent.RuleAgent.init(RuleAgent.java:208)<br>11:50:20,624 ERROR [STDERR] at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:176)<br>11:50:20,624 ERROR [STDERR] at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:148)<br>
11:50:20,625 ERROR [STDERR] at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:216)<br>11:50:20,626 ERROR [STDERR] at com.spyd.ruleEngine.DroolsServiceProvider.BRMS_RuleAgent(DroolsServiceProvider.java:75)<br>
11:50:20,627 ERROR [STDERR] at com.spyd.ruleEngine.DroolsServiceProvider.getSession(DroolsServiceProvider.java:48)<br>11:50:20,628 ERROR [STDERR] at com.spyd.ruleEngine.DroolsService.executeRules(DroolsService.java:29)<br>
11:50:20,629 ERROR [STDERR] at com.spyd.ruleEngine.RuleServiceManager.executeRules(RuleServiceManager.java:13)<br>...<br>11:50:20,649 ERROR [STDERR] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)<br>
11:50:20,650 ERROR [STDERR] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)<br>11:50:20,652 ERROR [STDERR] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)<br>
11:50:20,653 ERROR [STDERR] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)<br>11:50:20,654 ERROR [STDERR] at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)<br>
11:50:20,655 ERROR [STDERR] at org.jboss.mq.SpySession.run(SpySession.java:323)<br>11:50:20,655 ERROR [STDERR] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)</em></p>
<p dir="ltr"><em>11:50:20,657 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)<br>11:50:20,658 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)<br>11:50:20,679 INFO [DroolsServiceProvider] Releasing Agent Singleton from: JMS SessionPool Worker-0<br>
11:50:20,793 INFO [SPYDBusinessController] [BENCH]RULE-SERVICE REPLIED</em><em><br>11:50:20,813 INFO [SPYDBusinessMDB] [BENCH]SPYDBusinessController returned - ok<br>11:50:20,942 WARN [JDBCExceptionReporter] SQL Error: 1400, SQLState: 23000<br>
</em><em>11:50:21,985 WARN [DLQHandler] Message resent too many times; sending it to DLQ; message id=ID:5-11862210130371<br>11:50:25,784 INFO [STDOUT] PackageName: com.spyd.rules.ConsolidateData<br>11:50:25,784 INFO [STDOUT] PackageVersion: ConsolidateData<br>
11:50:25,785 INFO [STDOUT] PackageIsLatest: false<br><font color="#ff6666"><strong>11:50:26,008 ERROR [STDERR] RuleAgent(RuleAgentMassi) EXCEPTION (Sat Aug 04 11:50:26 CEST 2007): org<br>.drools.base.dataproviders.MVELDataProvider; local class incompatible: stream classdesc serialVersio<br>
nUID = 6980593313545470049, local class serialVersionUID = 1901006343031798173. Stack trace should follow.<br>11:50:26,010 ERROR [STDERR] java.io.InvalidClassException: org.drools.base.dataproviders.MVELDataPro<br>vider; local class incompatible: stream classdesc serialVersionUID = 6980593313545470049, local clas<br>
s serialVersionUID = 1901006343031798173</strong><br></font>11:50:26,012 ERROR [STDERR] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)<br>11:50:26,014 ERROR [STDERR] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)<br>
11:50:26,014 ERROR [STDERR] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)<br>...<br>11:50:26,038 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>
11:50:26,039 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:26,040 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>...<br>11:50:26,054 ERROR [STDERR] at org.drools.rule.Package.readExternal(Package.java:176)<br>
11:50:26,055 ERROR [STDERR] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)<br>11:50:26,056 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)<br>
11:50:26,057 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:26,058 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>11:50:26,059 ERROR [STDERR] at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:54)<br>
11:50:26,060 ERROR [STDERR] at org.drools.agent.URLScanner.readPackage(URLScanner.java:137)<br>11:50:26,060 ERROR [STDERR] at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:109)<br>11:50:26,061 ERROR [STDERR] at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:88)<br>
11:50:26,062 ERROR [STDERR] at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:330)<br>11:50:26,063 ERROR [STDERR] at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:298)<br>11:50:26,063 ERROR [STDERR] at org.drools.agent.RuleAgent$2.run(RuleAgent.java:438)<br>
11:50:26,064 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)<br>11:50:26,064 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)<br>11:50:30,781 INFO [STDOUT] PackageName: com.spyd.rules.DetermineConnection<br>
11:50:30,781 INFO [STDOUT] PackageVersion: DetermineConnection<br>11:50:30,782 INFO [STDOUT] PackageIsLatest: false<br>11:50:30,903 ERROR [STDERR] RuleAgent(RuleAgentMassi) EXCEPTION (Sat Aug 04 11:50:30 CEST 2007): org<br>
.drools.base.dataproviders.MVELDataProvider; local class incompatible: stream classdesc serialVersio<br>nUID = 6980593313545470049, local class serialVersionUID = 1901006343031798173. Stack trace should follow.<br>11:50:30,905 ERROR [STDERR] java.io.InvalidClassException: org.drools.base.dataproviders.MVELDataPro<br>
vider; local class incompatible: stream classdesc serialVersionUID = 6980593313545470049, local clas<br>s serialVersionUID = 1901006343031798173<br>11:50:30,908 ERROR [STDERR] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)<br>
11:50:30,909 ERROR [STDERR] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)<br>11:50:30,910 ERROR [STDERR] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)<br>11:50:30,911 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)<br>
11:50:30,912 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:30,913 ERROR [STDERR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br>11:50:30,915 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br>
11:50:30,917 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>11:50:30,918 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:30,919 ERROR [STDERR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br>
11:50:30,920 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br>11:50:30,921 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>11:50:30,922 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>
11:50:30,923 ERROR [STDERR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br>11:50:30,924 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br>11:50:30,926 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>
11:50:30,927 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:30,928 ERROR [STDERR] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)<br>11:50:30,928 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)<br>
11:50:30,930 ERROR [STDERR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)<br>11:50:30,931 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)<br>11:50:30,932 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>
11:50:30,933 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:30,934 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>11:50:30,935 ERROR [STDERR] at java.util.HashMap.readObject(HashMap.java:1029)<br>
11:50:30,935 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)<br>11:50:30,936 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
11:50:30,937 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)<br>11:50:30,937 ERROR [STDERR] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)<br>11:50:30,938 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)<br>
11:50:30,939 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)<br>11:50:30,941 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:30,942 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>
11:50:30,942 ERROR [STDERR] at org.drools.rule.PackageCompilationData.readExternal(PackageCompilationData.java:149)<br>11:50:30,943 ERROR [STDERR] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)<br>
11:50:30,944 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)<br>11:50:30,946 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:30,947 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>
11:50:30,947 ERROR [STDERR] at org.drools.rule.Package.readExternal(Package.java:176)<br>11:50:30,948 ERROR [STDERR] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)<br>11:50:30,949 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)<br>
11:50:30,950 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)<br>11:50:30,951 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)<br>11:50:30,952 ERROR [STDERR] at org.drools.agent.HttpClientImpl.fetchPackage(HttpClientImpl.java:54)<br>
11:50:30,953 ERROR [STDERR] at org.drools.agent.URLScanner.readPackage(URLScanner.java:137)<br>11:50:30,953 ERROR [STDERR] at org.drools.agent.URLScanner.getChangeSet(URLScanner.java:109)<br>11:50:30,954 ERROR [STDERR] at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:88)<br>
11:50:30,955 ERROR [STDERR] at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:330)<br>11:50:30,955 ERROR [STDERR] at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:298)<br>11:50:30,956 ERROR [STDERR] at org.drools.agent.RuleAgent$2.run(RuleAgent.java:438)<br>
11:50:30,957 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)<br>11:50:30,957 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)<br>11:50:47,012 INFO [STDOUT] ERROR 04-08 11:50:47,009 (Log4JLogger.java:error:119) Servlet.service() for servlet default threw exception<br>
java.lang.IllegalStateException: Cannot create a session after the response has been committed<br> at org.apache.catalina.connector.Request.doGetSession(Request.java:2214)<br> at org.apache.catalina.connector.Request.getSession(Request.java:2024)<br>
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)<br> at org.jboss.seam.servlet.ServletRequestSessionMap.put(ServletRequestSessionMap.java:87)<br> at org.jboss.seam.servlet.ServletRequestSessionMap.put(ServletRequestSessionMap.java:25)<br>
at org.jboss.seam.contexts.BasicContext.set(BasicContext.java:80)<br> at org.jboss.seam.Component.newInstance(Component.java:1980)<br> at org.jboss.seam.Component.getInstance(Component.java:1878)<br>
at org.jboss.seam.Component.getInstance(Component.java:1857)<br> at org.jboss.seam.Component.getInstance(Component.java:1834)<br> at org.jboss.seam.web.Session.getInstance(Session.java:122)<br> at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:375)<br>
at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:132)<br> at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65)<br> at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)</em></p>
<p dir="ltr"><em> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)</em></p>
<p dir="ltr"><em> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)<br>
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)<br> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br>
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)</em><em> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br>
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)<br> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)<br> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<br>
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)<br> at java.lang.Thread.run(Thread.java:619) could not discover transaction status<br></em></p>
<p dir="ltr"><em></em> </p>
<p dir="ltr">Why DO I get the "<font color="#ff6666"><strong>MVELDataProvider</strong></font>" issue?</p>
<p dir="ltr">The horrible thing is that until 1 week ago It WORKED!</p>
<p dir="ltr"><strong>I also HAD a BACKUP version where I copied all the Jboss directory!</strong></p>
<p dir="ltr"><strong>The crazy thing is that if I just restore the Backup dir and i use "As it was"</strong></p>
<p dir="ltr"><strong>it DOES NOT WORK!!! I mean, it is the exact copy which worked perfectly until</strong></p>
<p dir="ltr"><strong>last week.....Why the hell it does not work now???</strong></p>
<p dir="ltr">I have always got the same OS (VISTA) and i did not update any</p>
<p dir="ltr">sensible component of my pc.</p>
<p dir="ltr">What Heppened then? Did I get the first drools virus ever? :(</p>
<p dir="ltr">Please help me. I really feel defeated.</p>
<p dir="ltr">ThankYou anyway.</p>
<p dir="ltr">Massi</p></font>