Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-07-21 Thread dunnlow
We did not perform the migration largely due to scheduling and the volume of changes that would be needed (against our working system). We use Guvnor, the Drools Integration Server as well as a Camel application which incorporates Drools - a lot of moving parts to update. The big hurdle I ran in

[rules-users] Stop change set processing from within listener in v5.6

2014-04-16 Thread dunnlow
I added a KnowledgeAgentEventListener (Drools 5.6) to a knowledgeagent. My vision is to use one of the listener methods (beforeChangeSetApplied perhaps) to examine the change set and determine if I want to cancel its processing. I see that the documentation states that the event getters return im

[rules-users] Two Integration Servers sharing a single persisted session?

2014-03-11 Thread dunnlow
I'm using Drools 5.5 with Hibernate 4 and Spring 3.1. I am trying to implement the shared persisted session referenced (http://www.plugtree.com/making-a-non-persistent-ha-knowledge-session/) but I can not get it to work. I have two knowledge sessions (two instances of the drools integration serve

[rules-users] What is the 5.6_dynamic branch?

2014-02-26 Thread dunnlow
What is the difference between the 5.6.x and 5.6_dynamic branches in github? Thanks, -J -- View this message in context: http://drools.46999.n3.nabble.com/What-is-the-5-6-dynamic-branch-tp4028353.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-12 Thread dunnlow
manstis wrote > A more complete stack trace would be useful; or your repository.xml.. > either way there's not much to go on at the moment. Sorry, here's the stack trace: org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfigurat

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-12 Thread dunnlow
Getting there. Not sure what is up with my Guvnor repository, but if I export the repo from guvnor, then unzip the xml file and create a new jcr repository from it, the migration tool seems to (start to) work on that one (after I copy the repository.xml into the repository directory). The module

Re: [rules-users] Stateless session in drools server keeping classes around?

2014-02-12 Thread dunnlow
Hello, sorry, I do not remember if/how I resolved the issue. I currently use a persisted stateful session (Drools 5.5) retracting the facts I insert with a rule with high salience and everything works fine. I did bump into an issue recently where a rule with a bad mvel expression (a variable in a

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-10 Thread dunnlow
manstis wrote > We'd be interested in hearing how your use goes too. We've endeavoured to > cover everything in the migration tool; but there may be some dark corners > in older repositories. An update. I am running the migration tool, but it only seems to be including the default package. When

Re: [rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-10 Thread dunnlow
Ah, in the "migration" directory...go figure :) Thank you (will report back on process/progress if anyone else is interested) -- View this message in context: http://drools.46999.n3.nabble.com/Migration-to-Drools-6-and-Workbench-from-Guvnor-5-5-tp4028040p4028042.html Sent from the Drools: Use

[rules-users] Migration to Drools 6 and Workbench from Guvnor 5.5?

2014-02-10 Thread dunnlow
We are currently using Drools 5.5 with Guvnor and investigating ways to migrate to Drools 6 and workbench. Thus far, the only option I have found is to re-add each rule (i.e. no "Import Repository" option). Has anyone made this migration and what was your method? Is there any sort of migration g

Re: [rules-users] Uberfire jars missing for workbench?

2014-01-31 Thread dunnlow
Did as you suggested: unzipped the repositories directory and set the system property *org.kie.example.repositories* to the resulting main directory. Worked like a shot :) Thank you! -J -- View this message in context: http://drools.46999.n3.nabble.com/Uberfire-jars-missing-for-workbench-tp

Re: [rules-users] Uberfire jars missing for workbench?

2014-01-31 Thread dunnlow
manstis wrote > All JARs that are used exclusively by GWT to compile client-side Java > Script are excluded in the distributions as they are not needed at > runtime. Ok, so I hear you saying, "don't worry about them"i wont :) Thanks. Sorry also imagine this is a noob question. When I try to

[rules-users] Uberfire jars missing for workbench?

2014-01-31 Thread dunnlow
I'm trying to run the new workbench (6.0) in Tomcat 7. I loaded the distributed war for tomcat into eclipse but can not find several classes in the org.uberfire.client package. It seems like I need the uberfire-client-api jar, but it isn't included in the distribution? Where is the best place to

[rules-users] Intermittent startup error with Integration Server?

2014-01-29 Thread dunnlow
I'm using the Drools Integration server (5.5) (with a persisted stateful ksession) and a java client that is sending events via httpclient. Most of the time, things work fine. Sometimes, when I restart the integration server, when it comes back up I I start getting messages (all following msgs to

[rules-users] KnowledgeAgent fallback FROM local cache?

2014-01-15 Thread dunnlow
I am using drools 5.5 with Guvnor and the Integration Server. My integration server uses a knowledgeagent that pulls the package from guvnor and I have set the drools.resource.urlcache for a local cache in case Guvnor is unavailable. If Guvnor is available at startup, the KAgent sees any deploy

[rules-users] Best pattern for getting results OUT of Integration server?

2014-01-06 Thread dunnlow
I have some confusion about running rules in the Integration Server (v5.5). I am sending POJOs to the server from a camel (v2.10) Spring client app. The client inserts a POJO (via batchexecutioncommand) and the rules change an attribute on the POJO to return the value to the client. I know, I kn

Re: [rules-users] Insert to non-existing entry point causing NPE in drools server?

2013-12-11 Thread dunnlow
Hmm, whelp, no, nothing empirical. I think in my head I am combining a few things I've read. In the Developers Cookbook (pg130) there is a comment that entry points can help reduce cross products and can be used to partition memory. I remember reading that the entry points are built during com

[rules-users] Insert to non-existing entry point causing NPE in drools server?

2013-12-10 Thread dunnlow
I am sending events to drools integration server (5.5). I have a good number of rules so I am looking at using entry points to speed things up. My client app will send to an entry point based on the value of one of the event attributes. While I will typically know all possible attributes, I may

Re: [rules-users] Where is org.drools.server package for camel server?

2013-12-09 Thread dunnlow
Not 100% sure I understand your question, but I think in eclipse I just created the correct package and then added the class - then it will be included when you run. You could of course manually compile the class and put it in your ./WEB-INF/classes folder too. hth profversaggi wrote > I was ab

Re: [rules-users] Entry Point from parameter in Guvnor Decision Table?

2013-12-09 Thread dunnlow
manstis wrote > Are you using a XLS decision table or a web one? I'm using the Guvnor web-guided editor to build the decision table. Thanks, -J -- View this message in context: http://drools.46999.n3.nabble.com/Entry-Point-from-parameter-in-Guvnor-Decision-Table-tp4027132p4027179.html Sent fr

[rules-users] Entry Point from parameter in Guvnor Decision Table?

2013-12-06 Thread dunnlow
Hi, I'm using Guvnor 5.5. I have a decision table and I would like the entry point in each rule created to be based on the value in one of the table elements. I've tried $param in the "From Entry Point" field, but it always just substitutes the string (literal string "$param") in the rule rather

Re: [rules-users] Fusion 5.5 - Deterministically identifying event insert order?

2013-09-25 Thread dunnlow
Thanks W. I understand your point about overusing salience -- I have read not to rely on it, but find that I pretty often "need" to order my rules. I seem to have two causes for this: a hierarchy of rules (a la, if then else); and, a number of actions I want to execute before any business rules (

[rules-users] Fusion 5.5 - Deterministically identifying event insert order?

2013-09-24 Thread dunnlow
I am testing with fusion (5.5) and running into an /intermittent /issue. I am trying to track transitions between two big events (BEvent) using a smaller event (SEvents) with the properties I care about. The idea is that I will maintain many SEvents in memory for the different kinds of BEvents.

Re: [rules-users] KnowledgeAgent with persistence?

2013-09-11 Thread dunnlow
Thanks David. Short answer is yes, I have it set to false. I am actually combining Spring and Java Configuration (I am doing this all in the drools-server). I create my KnowledgeAgent in Spring and then pass it (with the EntityManagerFactory, TransactionManager, and node) to an "Initializer" b

[rules-users] KnowledgeAgent with persistence?

2013-09-10 Thread dunnlow
I'm using Drools 5.5 (and guvnor) Can anyone point me to example where a knowledge agent is used with persistence. I am trying to understand how the knowledgeagent is used with a persisted session. Fundamentally when my app starts, I am trying to do one of two things: If a persisted session doe

[rules-users] Persisted stateful sessions and knowledge base changes (revisited)

2013-08-28 Thread dunnlow
I have an Drools 5.5. application that persists a stateful session to a database. While it was running, I made some changes to my rules (via Guvnor). When I restarted my application it was no longer able to reload the persisted session: *Caused by: java.lang.RuntimeException: Unable to load ses

[rules-users] Using KnowledgeAgent with loadStatefulKnowledgeSession?

2013-08-28 Thread dunnlow
Hello, I am using jBPM 5.4 with persistence and have long running processes and make make changes to the knowledge base periodically (via drools guvnor 5.5). I use JPAKnowlegeService.loadStatefulKnowledgeSession(...) to retrieve my existing knowledge session. When I make a change to the rule base

[rules-users] Timer in decision table from a different column?

2013-08-22 Thread dunnlow
I have a Drools 5.5 guided decision table (via guvnor). I am trying to populate both the timer value AND a value on the RHS with a value from a single column. For example, I'm trying to produce code that looks like: I want to have source like: rule "rule1" timer(*1d*) when $car : Car (name

Re: [rules-users] Duplicating template capability in decision table?

2013-08-15 Thread dunnlow
Aha! Thanks very much (not quite as "user friendly...looking" as I had hoped, but it works). -- View this message in context: http://drools.46999.n3.nabble.com/Duplicating-template-capability-in-decision-table-tp4025528p4025564.html Sent from the Drools: User forum mailing list archive at Nabb

[rules-users] Duplicating template capability in decision table?

2013-08-13 Thread dunnlow
My long lived templates have stopped working (I click the Load Template Data button and nothing happens) -- I have seen this issue in Jira spanning several versions (with associated "fixes"). Oh well. Anyway, I've decided to re-implement using a decision table, which I heard can duplicate the s

Re: [rules-users] how to enable and disable a rule

2013-06-26 Thread dunnlow
How about inserting an object when the rule files, then checking for the existence of that object before re-firing. (Or retracting the object to "enable" it)? -- View this message in context: http://drools.46999.n3.nabble.com/how-to-enable-and-disable-a-rule-tp4024550p4024574.html Sent from th

[rules-users] Using No-Loop and Activation-Group in .xls Decision tables?

2013-06-26 Thread dunnlow
I am using Drools 5.4 and trying to create an xls spreadsheet and upload it to Guvnor. I see in the documentation that I should be able to add a row for attributes: (http://docs.jboss.org/drools/release/5.4.0.Final/drools-expert-docs/html/ch02.html#d0e1298) However when I upload the spreadsheet

[rules-users] Guvnor gives HTTP Status 404 for /moduleService

2013-06-17 Thread dunnlow
I am trying to deploy Guvnor 5.5 in tomcat 7. Version 5.4. installs and runs fine. However, when I run version 5.5 Final I get a 404 error: "HTTP Status 404 - /guvnor/org.drools.guvnor.Guvnor/moduleService" So, a few questions. First, what is the moduleService? I see the class (http://grepcod

Re: [rules-users] Does KnowledgeRuntimeLogger work with persistence?

2013-04-17 Thread dunnlow
It turns out if a use a threaded file logger, it works (no idea why): KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession,"krun",500) -- View this message in context: http://drools.46999.n3.nabble.com/Does-KnowledgeRuntimeLogger-work-with-persistence-tp4023372p4023374.html Sent f

[rules-users] Does KnowledgeRuntimeLogger work with persistence?

2013-04-17 Thread dunnlow
I am using Drools 5.5 with persistence. If I create a session like: ksession = kbase.newStatefulKnowledgeSession(null,env); My logger works as expected: KnowledgeRuntimeLogger klogger = KnowledgeRuntimeLogger.newFileLogger(ksession,"run") HOWEVER, if I create the ksession like:

[rules-users] Add another "result" to execution results in Drools Server

2013-01-09 Thread dunnlow
Hi, I'm using Drools Server 5.4. I have a bean that I am sending to the drools execution server. The server is processing the object and modifying it as expected - I see the expected changes to the object in the XML (execution results) returned from the server. I would LOVE for my rules to be ab

Re: [rules-users] Drools: Using Declared Types in Decision Tables

2013-01-09 Thread dunnlow
I'm sure you have this by now, but I just ran into it again, so here it is for the next persion. Yes, you'll have a Declare column then the next column looks like: declare PmbDataType field1:String field2:String date: Date cost: float end (note, you need the *decl

[rules-users] How do you use packages in Guvnor?

2013-01-07 Thread dunnlow
I've been using Guvnor for a while (on v5.4) now. However, I've always had everything in one "package." As my project grows however I am looking to improve the organization of my assets - it is getting harder and harder for me to find in Guvnor the rule I am looking for. As I looked into this it

Re: [rules-users] Is Flow / jBPM dying on the vine?

2012-11-09 Thread dunnlow
Salaboy, the issue I have is that I want users to be able to see the process graphically, so I think that means I need one overall process (I may use a few sub-processes). Using rules however as you suggest is there a way to "pause" a process until a message (/signal) with certain criteria is inse

Re: [rules-users] Is Flow / jBPM dying on the vine?

2012-11-08 Thread dunnlow
Thank you for the information / update. I notice that almost all of the examples that I find are user task based (or more specifically, NOT event-based, which is my use case). I am planning to inform a process largely (but not entirely) with events. Short of having a signal and gateway for eve

[rules-users] Is Flow / jBPM dying on the vine?

2012-11-07 Thread dunnlow
Hi, I am considering using drools with Flow/jBPM as an integral part of a corporate solution. However, it seems to me like the project is dying on the vine. I understand the code is still being worked but overall interest seems to be waning; evidenced by things like, a (...the) jBPM 5 book due t

[rules-users] Event-based Drools jBPM example?

2012-10-22 Thread dunnlow
Hi, I am struggling with using a process with *rule-based* flow. I have seen looked at the canned ("evaluation") example but it is not rule-based. The other examples I have found are really simple (like a print "HELLO" example) where they just set up the "process," issue a fireallrules, then th

[rules-users] Issue with Drools Spring Integration documentation (v5.4)?

2012-09-10 Thread dunnlow
Isn't Example 2.3 (below) incorrect in the 5.4 Drools Spring integration doc? It looks like there are two problems. First, a typo "configurations" should be "configuration" (without the 's'). Secondly, according to the .xsd it looks to me like batch and configuration elements must be mutually ex

[rules-users] Insert global into working memory via Spring?

2012-08-31 Thread dunnlow
I am using the drools 5.4 Integration Server (with Guvnor). I have two instances of the Integration Server and (ideally) one instance of the rules in Guvnor. I would like to create some rules that depend on the instance of the Integration Server on which they are running. The vision is that I

[rules-users] Create a JPAKnowledgeService via Spring ?

2012-08-22 Thread dunnlow
I am using the drools integration server (v5.4) (thus Spring v3) and trying to configure a session that persists to a (mysql) database and reloads on startup. It seems like JPAKnowledgeService should fit the bill, except I'm at a loss as to how/if it can be used in a Spring environment. http://do

Re: [rules-users] Can two rules use the same template data?

2012-08-17 Thread dunnlow
Yes, correct; that was my question. Thanks for your response (and for adding to Jira). -J -- View this message in context: http://drools.46999.n3.nabble.com/Can-two-rules-use-the-same-template-data-Guvnor-5-4-tp4019207p4019252.html Sent from the Drools: User forum mailing list archive at Nabb

[rules-users] Can two rules use the same template data?

2012-08-16 Thread dunnlow
I have template data that has several attributes per row. I would like to have several rules that use the same template data. When I do a "Create New -> New Rule Template" I only see the ability to use a single rule against that data. Can I add a rule? (Obviously, I want to avoid having many du

[rules-users] Creating template column in guvnor for attribute value?

2012-08-13 Thread dunnlow
I'm using Guvnor 5.4 I find myself sometimes wanting to use templates to map a string to a metadata value or timer. For example, based upon a name, set a value for the timeout. As far as I can tell however, the only way to create a template column in guvnor is to include the column identifier in

[rules-users] Best design pattern for: Set of events with countdown timers?

2012-08-10 Thread dunnlow
Hi, I am receiving events from a group of about 15 different event producers - each with different names (located in the message). I want to make sure that I get at least one event from each of those 15 producers within a pre-determined period of time; the period can be different for each produce

[rules-users] Add calendars to knowledge session from Spring?

2012-08-01 Thread dunnlow
I am using the Drools 5.4 integration server in a stateless session. I have it running fine with the example. Now, I want to use custom Quartz calendars in my rules. The only way I could come up with to do this in Spring (a la integration server) was to create a bean that takes a ksession constr

Re: [rules-users] Where is org.drools.server package for camel server?

2012-07-16 Thread dunnlow
Also, for anyone needing it, I got it working with the CamelServerApp class here: http://grepcode.com/file/repo1.maven.org/maven2/org.drools/drools-camel-server/5.4.0.CR1/org/drools/server/CamelServerApp.java Then I added the direct endpoint in camel-server.xml: http://loca

Re: [rules-users] Where is org.drools.server package for camel server?

2012-07-16 Thread dunnlow
I turns out this is a known issue. https://issues.jboss.org/browse/JBRULES-3520 -- View this message in context: http://drools.46999.n3.nabble.com/Where-is-org-drools-server-package-for-camel-server-tp4018668p4018719.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

[rules-users] Where is org.drools.server package for camel server?

2012-07-13 Thread dunnlow
I downloaded and deployed the Drools 5.4 drools integration server ("drools-camel-server-5.4.0.Final.war") trying to run the test. However, there is a class referenced in test.jsp "org.drools.server.CamelServerApp" which I cannot find (actually, I found the source code for CR1 for that class in g

[rules-users] Best practice for using calendar-based rules?

2012-07-09 Thread dunnlow
Hi, I am using drools 5.4 via the web-based server (running in tomcat). My rulebase is stored (and created/maintained) in guvnor. I have a template rule (in guvnor) that I use to define alert conditions. The template has a few columns that allow users to specify several properties of an event o

Re: [rules-users] Bug with BatchExecutionHelper when using Log4j rootlogger?

2012-02-22 Thread dunnlow
answered: http://drools.46999.n3.nabble.com/Can-you-remove-logging-information-from-BatchExecutionCommand-td3377109.html -- View this message in context: http://drools.46999.n3.nabble.com/Bug-with-BatchExecutionHelper-when-using-Log4j-rootlogger-tp3293188p3767382.html Sent from the Drools: User f

Re: [rules-users] Yet another Schema question(s)...

2012-02-22 Thread dunnlow
OK, so I found the file here: http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.drools/drools-spring/5.1.0.M2/org/drools/container/spring/drools-service-spring.xsd So, I guess my first question above can be change to, "Is this the most recent version?" Questi

[rules-users] Yet another Schema question(s)...

2012-02-22 Thread dunnlow
Hi, I am configuring a drools server via spring and I need to execute a startup-command (as shown here http://lucazamador.wordpress.com/2010/05/27/drools-server-spring-configuration/). Seems straight forward until I started looking for .xsd files (specifically for http://drools.org/schema/drools

Re: [rules-users] Rule Execution Monitoring

2012-02-03 Thread dunnlow
I'm a noob - sorry if this is an oversimplification of your question - but the way I debug most often is to just put a System.out.println(...) in the rule (easy for me since I only currently have about a dozen rules and use a template). I've also started to take to JMX monitoring (which i found out

[rules-users] Where are JPA variablepersisters, in Drools 5.3?

2012-02-03 Thread dunnlow
Using Drools 5.3, I'm trying to set up a statefull knowledgesession that persists out to a database. With all of the examples on nabble and the documentation (Example 2.10. JPA configuration for StatefulKnowledgeSessions http://docs.jboss.org/drools/release/5.3.0.Final/droolsjbpm-introduction-docs

Re: [rules-users] null POJO attribute causing template issues -- is there a better way?

2012-01-30 Thread dunnlow
Sorry, I'm using Drools 5.3 -- View this message in context: http://drools.46999.n3.nabble.com/null-POJO-attribute-causing-template-issues-is-there-a-better-way-tp3701360p3701367.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] null POJO attribute causing template issues -- is there a better way?

2012-01-30 Thread dunnlow
Hi, I'm using a template to validate information in my POJO. I've got a row for the different valid possibilities. My template rule (in guvnor) looks like: WHEN There is a MyBean[$mb] with: itemname matches templateItemName cost greater than templateCost caveat matches templateCave

Re: [rules-users] Why isn't my rule firing??

2012-01-18 Thread dunnlow
Ok, still working on this, but I have more information from http://drools.46999.n3.nabble.com/fireAllRules-multiply-times-td1019111.html#a1019469 and http://drools.46999.n3.nabble.com/How-to-avoid-multiple-calls-to-fireAllRules-if-possible-td50345.html#a50349 apparently fireallrules() doesn't

[rules-users] Why isn't my rule firing??

2012-01-18 Thread dunnlow
First, my intent: 1) insert a pojo into a stateful session 2) based upon that pojo's attributes, create and insert a new fact (different type) 3) retract the initial pojo, but keep the newly created fact in memory for some period of time After some helpful insight from the forum, I thought

Re: [rules-users] Insert and Retract from drools server in one call?

2012-01-17 Thread dunnlow
Sorry for my terminology; I'm a noob, but I think I understand your suggestion. By "initial" facts, I just mean the facts that I insert within my batchexecution command. In reality, I am adding a pojo to that batchexecutioncommand and then my rules check the pojo's attributes. I don't want that

[rules-users] Insert and Retract from drools server in one call?

2012-01-13 Thread dunnlow
Hi. I've got a stateful session running in drools-server. A separate client is inserting facts using a batchexecutioncommand and reading/using the result returned from the service call. I need a stateful session because when I insert the facts from the client, some of the rules that trigger inser

Re: [rules-users] Enable Sequential Mode in Spring??

2011-12-16 Thread dunnlow
Also, the biggest reason I'm trying this is that the _stateless_ session doesn't seem to be calling dispose (at least the number of classes grows with each fact until I run out of memory). -- View this message in context: http://drools.46999.n3.nabble.com/Enable-Sequential-Mode-in-Spring-tp35923

Re: [rules-users] Enable Sequential Mode in Spring??

2011-12-16 Thread dunnlow
Mark, Thanks for your reply. I am using the drools server and have a stateless session configured but I need to run it in sequential mode (dont need inference and it is currently too slow and memory intensive). How do you should I turn on sequential mode in the server? -- View this message in c

[rules-users] Enable Sequential Mode in Spring??

2011-12-16 Thread dunnlow
I am using the drools server and want to use the knowledge base in sequential mode, but I can not figure out how/where to do this. I've looked at the Expert documentation, but no luck. Has anyone done this before? Thanks -J -- View this message in context: http://drools.46999.n3.nabble.com/Enab

[rules-users] I give up, where is drools:execution-node defined??

2011-12-13 Thread dunnlow
I see in the drools server knowledge-services.xml and throughout the documentation. But, my app can't compile because that is undefined. I looked in drools-spring.xsd and spring-beans.xsd (the two namespaces defined in that file), but no joy. Am I just blind?? Anyone know where it is defined?

Re: [rules-users] Stateless session in drools server keeping classes around?

2011-12-13 Thread dunnlow
You are using that in your drools application? I am basically trying to do the same thing but using the drools server. I'd really like the ksession as the server needs to have as good a turn around as possible. Anyone know how to configure sequential mode via Spring? Thanks -- View this messag

[rules-users] Stateless session in drools server keeping classes around?

2011-12-13 Thread dunnlow
Hi, I'm using drolls 5.3 server with one rule in a _stateless_ session. I am sending a POJO to the server, having it check a few attributes, modify the attributes of the bean as needed then return the result. I have this working and get back an execution results object like I need. The problem

Re: [rules-users] Can you remove logging information from BatchExecutionCommand?

2011-09-28 Thread dunnlow
Figured it out. In case anyone else sees this, the issue was that the bean that I was sending to the Drools server had a "logger" property, which XStream was trying to serialize. I didn't want to do a myBean.setLogger(null) because I wanted to actually do some logging in the bean. So, the soluti

[rules-users] Can you remove logging information from BatchExecutionCommand?

2011-09-28 Thread dunnlow
I am sending a batchexecution command to a drools server: 8<... MyBean mb = new MyBean(); List cmds = new ArrayList(); InsertObjectCommand insertCmd = (InsertObjectCommand) CommandFactory.newInsert(mb); insertCmd.setOutIdentifier("inserter"); insertCmd.setEntryPoint("Default"); cmds.ad

[rules-users] Bug with BatchExecutionHelper when using Log4j rootlogger?

2011-08-29 Thread dunnlow
Hi, I have a small drools client that sends a pojo to a Drools Server using xstream: MyBean mb = new MyBean(); List cmds = new ArrayList(); InsertObjectCommand insertCmd = (InsertObjectCommand) CommandFactory.newInsert(mb); insertCmd.setOutIdentifier("inserter"); insertCmd.setEntryPoint("Default")