Re: [rules-users] Persistence issue using Oracle

2010-03-02 Thread Gerret Hansper
wytten dale.wyttenbach at gmail.com writes: The tables will be created depending on how you have persistence.xml configured (I used hibernate.hbm2ddl.auto value 'create') However, I did experience a problem with the eventTypes member of ProcessInstanceInfo: 'create table

Re: [rules-users] Drools memory usage issue

2010-03-02 Thread Pavel Tavoda
At first start with tuning JVM. Xms, Xmx parameters. How much physical memory you have? If above 3.xx GB you need 64 bit JVM. If this is not enough just kick Profiler. Pavel 2010/3/2 Shah, Malay malay.s...@morganstanley.com: Hi, We have an drools 5.0.1 application that uses StatelessSession

Re: [rules-users] Unable to see Rules Debugging info in Drools IDE

2010-03-02 Thread Gerret Hansper
H.C. canterburry at gmail.com writes: Hey, I am having the same problem. I have tried dubugging both as a Drools Application and a Drools Unit Test and in either case, I get no agenda, working memory or globals in the views even when I select an data item from Variables view in the

Re: [rules-users] KnowledgeAgent

2010-03-02 Thread david_nabble
Hi! I had the same problem: My solution was: 1) Generate a ChangSet (XML Document) with the URL(s) 2) write it to a temporary File (java.io.File.createTempFile). 3) Create a UrlResource out of this File Alternative: 2) write it to a Stream 3) Create a InputStreamResource As far as i know,

[rules-users] Adding an optional condition without using eval()

2010-03-02 Thread djb
Hi, My rule template project is finally working, more-or-less. I've got 5 lines of conditions, the last 2 of which are evals. One of them compares dates, and has to be an eval(). The other though, I think I should be able to convert to non-eval DRL, but I am not sure how, because it is an

Re: [rules-users] KnowledgeAgent

2010-03-02 Thread Esteban Aliverti
David, you are right. That is the best approach I can imagine. Indeed, that is the way used by KnowledgeAgent's unit tests. String xml = ; xml += change-set xmlns='http://drools.org/drools-5.0/change-set'; xml += xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'; xml +=

Re: [rules-users] Unable to see Rules Debugging info in Drools IDE

2010-03-02 Thread Kris Verlaenen
I've recently created a screencast that shows you how to get the debug views working for the hello world example. Could you try doing the same thing as this screencast and let me know whether reproducing this still does give you empty debug views?

Re: [rules-users] Using DeadLines in Human Task

2010-03-02 Thread Kris Verlaenen
Caused by: java.lang.ClassNotFoundException: org.hibernate.PersistentObjectException You have this class on the client side as well? Anyway, this class contains some tests on how to use deadlines in human tasks:

Re: [rules-users] Drools memory usage issue

2010-03-02 Thread Shah, Malay
Pavel, I don't want to profile my application, as I am sure that there is no memory leak happening either on the drools side or in my code, and I know that memory for the app is not enough. I am running my app on 10G memory with 75000 objects/facts (taking about 600 MB heap), and running about

Re: [rules-users] ClassCastException when debugging as a drools unit test with a ruleflow

2010-03-02 Thread Kris Verlaenen
That is strange ... Only thing I can image is that you are using the internal drools jars that are shipped as part of the eclipse plugin in the Drools JUnit case and not in the normal JUnit case. Could you try updating to the latest snapshot version of the Eclipse plugin (this will update your

Re: [rules-users] Drools Flow / Declarative process definition

2010-03-02 Thread Kris Verlaenen
Jaroslav, Yes, if you execute your processes in advanced mode, we are translating procedural constructs like sequence into a more declarative rule like the one you described as an example. Note we are currently not doing that for all procedural constructs (like branch / joins) but we plan to

Re: [rules-users] Unable to see Rules Debugging info in Drools IDE

2010-03-02 Thread H.C.
Hmm...your are right. I was using a stateless session. I switched to stateful and things seem to work. Did I miss that in the docs somewhere? Thanks so much -- View this message in context: http://n3.nabble.com/Unable-to-see-Rules-Debugging-info-in-Drools-IDE-tp73243p424221.html Sent from the

Re: [rules-users] Process with subprocesses don't continue after finish work items in the subprocesses

2010-03-02 Thread Kris Verlaenen
Dirk, I tested out your example and I think this is working with the latest trunk, below is the output I received. Could you try your test case with the latest snapshot release, as this might be related to an issue that has already been fixed?