Re: [rules-users] Start of Guvnor 5.4.0.CR1 results in javax.naming.NamingException

2012-05-10 Thread FlyingEagle
I have found the solution for the problem! The problem is solved with JBOSS AS 7.0.2. So don't use for deployment of Guvnor 5.4.0, the JBOSS AS 7.0.0, but JBOSS AS 7.0.2. -- View this message in context:

Re: [rules-users] Is there a faster way of doing this in Drools ?

2012-05-10 Thread Vincent LEGENDRE
ok thanks. seems dangerous anyway .. and you said should be possible, which is (according to what I know in english) not really sure ? - Mail original - De: Davide Sottara dso...@gmail.com À: rules-users@lists.jboss.org Envoyé: Mercredi 9 Mai 2012 23:50:54 Objet: Re: [rules-users] Is

Re: [rules-users] Is there a faster way of doing this in Drools ?

2012-05-10 Thread Davide Sottara
should as in bugs/regressions apart :) -- View this message in context: http://drools.46999.n3.nabble.com/Is-there-a-faster-way-of-doing-this-in-Drools-tp3973888p3976439.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

[rules-users] Decision table call external method

2012-05-10 Thread SuperGG
Hi, I'm being stuck this past days with a little problem that I hope you will be able to help me out. I'm trying to call a non static method from a class in the action part. I have tried to import it, to put it as a variable or to insert it into the ksession but I wasn't able to make it work.

Re: [rules-users] Decision table call external method

2012-05-10 Thread Michael Anstis
In Guvnor, or just using drools-decisiontables? On 10 May 2012 13:05, SuperGG jerome-m.pe...@thalesgroup.com wrote: Hi, I'm being stuck this past days with a little problem that I hope you will be able to help me out. I'm trying to call a non static method from a class in the action part.

Re: [rules-users] Drools 5.4.0.Final and jBPM 5.3.0.Final are being released

2012-05-10 Thread Cristiano Gavião
Tony, Do you mean that won't exists a pre-release (CR) of JBPM 5.3 as have occurred with Drools 5.4 ? What is the target date ? regards, Cristiano On 09/05/12 04:04, Toni Rikkola wrote: Only blocker bugs can stop the release process. It is now too late to cherry pick bug fixes or

[rules-users] Does Guvnor support calendar definitions

2012-05-10 Thread FlyingEagle
Hi, I have a rule, which only may be fired at night. So I have defined in the drl the following: rule MyRule calendars night-hours // defines daily interval from 0am to 6am when ... then ... end How can I define this in Guvnor? Thx -- View this message in context:

[rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Hi, I'm trying to write a function in guvnor like function int applyThresholds(ListInteger thresholdList, int totalPoints) It says the ListInteger ClassNotFound even though I've java.util.List in the imports. when i remove Integer generic it works fine. I'm using drools and guvnor 5.4 CR1. Am

Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread FlyingEagle
Hi Sumatheja, bad news... Guvnor doesn't support generics. I had the same problem and now I am working without type safe definitions. I am working with the newest version 5.4.0, but this feature is missing. Sorry for not having better news. -- View this message in context:

Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Thanks for the response. so I guess I need to typecast and use it. :) On Thu, May 10, 2012 at 4:44 PM, FlyingEagle elisabeth.wi...@wincor-nixdorf.com wrote: Hi Sumatheja, bad news... Guvnor doesn't support generics. I had the same problem and now I am working without type safe

Re: [rules-users] Why is solving a partial puzzle much slower than generating one from scratch?

2012-05-10 Thread Qchevalier
Hello aitchnyu, Can you share your source code about the Planner implementation on sudoku game? To train myself on Planner, I tried to implement a sudoku solver based on Planner, but I didn't manage to go through. Thank you in advance, Quentin -- View this message in context:

Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread Michael Anstis
AFAIK Drools doens't support generics, so Guvnor can't be expected to either. Waiting for somebody to correct me... and having a heap of work to do on Guvnor. ;) On 10 May 2012 16:56, sumatheja sumath...@gmail.com wrote: Thanks for the response. so I guess I need to typecast and use it. :)

Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Hi Michael, When I try to add a global variable like *global java.util.ListInteger tresholdList;* the package build properly without issues. On Thu, May 10, 2012 at 5:30 PM, Michael Anstis michael.ans...@gmail.comwrote: AFAIK Drools doens't support generics, so Guvnor can't be

[rules-users] Use of ruleflows in Guvnor

2012-05-10 Thread dollanitri
Hi All, Currently i'm trying to do a small POC on drools and ruleflows integrating with Java Custom Application. Here below are the details: -- Created decision tables in Guvnor Web based UI and ruleflows in Eclipse using jBPM plugin. -- Exposed Drools API into one of the java helper class and

[rules-users] Knowledge Base and Multiple Sessions

2012-05-10 Thread gboro54
If you have multiple sessions running on different threads against the same knowledge base, is there any performance hit during evaluation? -- View this message in context: http://drools.46999.n3.nabble.com/Knowledge-Base-and-Multiple-Sessions-tp3977702.html Sent from the Drools: User forum

Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread Michael Anstis
Please raise a JIRA for Guvnor (not Drools) so we have a record of this requirement and can schedule for future consideration. Thanks. sent on the move On 10 May 2012 17:45, sumatheja sumath...@gmail.com wrote: Hi Michael, When I try to add a global variable like *global

Re: [rules-users] unable to write a function in guvnor with generic List as a parameter

2012-05-10 Thread sumatheja
Can you send me a link which guides through the process... I haven't raised one before. On Thu, May 10, 2012 at 7:08 PM, Michael Anstis michael.ans...@gmail.comwrote: Please raise a JIRA for Guvnor (not Drools) so we have a record of this requirement and can schedule for future consideration.

Re: [rules-users] Use of ruleflows in Guvnor

2012-05-10 Thread Michael Anstis
AFAIK rule flows are deprecated in lieu of BPMN2 processes and jBPM integration. I don't believe we've ever had a web-based rule flow editor unless the jBPM Process Designer supports them. Tiho, for your comment? sent on the move On 10 May 2012 17:49, dollanitri dollani...@gmail.com wrote:

Re: [rules-users] Use of ruleflows in Guvnor

2012-05-10 Thread Tihomir Surdilovic
On 5/10/12 2:13 PM, Michael Anstis wrote: AFAIK rule flows are deprecated in lieu of BPMN2 processes and jBPM integration. I don't believe we've ever had a web-based rule flow editor unless the jBPM Process Designer supports them. Tiho, for your comment? The jBPM Designer is specific for