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