Re: [rules-users] Plugging custom verification rules into Guvnor

2012-05-17 Thread Toni Rikkola
Hi, There is no way to do this in Guvnor right now. You can use custom rules with Verifier outside of Guvnor. You can even make the custom rules with Guvnor. What is missing is the ability to use the rules in Guvnor for the Source - Verify. This has been on the wish list for some time, but

Re: [rules-users] [Designer] Problem installing service from repository

2012-05-17 Thread Tihomir Surdilovic
Hi Cristiano, I think you may have a configuration issue between Guvnor and Designer. Please read chapter http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3136 in the docs and make sure that both your Guvnor and Designer are configured to be able to see eachother correctly..if this still

Re: [rules-users] [Designer] Problem installing service from repository

2012-05-17 Thread Tihomir Surdilovic
On 5/17/12 7:36 AM, Tihomir Surdilovic wrote: Hi Cristiano, I think you may have a configuration issue between Guvnor and Designer. Please read chapter http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3136 in the docs and make sure that both your Guvnor and Designer are configured to be

Re: [rules-users] [Designer] Problem installing service from repository

2012-05-17 Thread Cristiano GaviĆ£o
Hi Tihomir, I read the docs, and I don't think that I got out of the standard this time. At least this time I can create and save the diagrams and change the color theme properly... Guvnor is reached here: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.jsp?# And

[rules-users] Building Guvnor from source

2012-05-17 Thread anchi
Hi! I'm trying to build Guvnor from source. I have followed instructions listed here: https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md I am able to start the application. After clicking on URL in Development Mode tab, Guvnor app starts to load but after a few

Re: [rules-users] Guvnor REST API and XLS decision tables

2012-05-17 Thread anchi
Thanks, I'll listen to your advice and switch to downloading binary asset content. -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-REST-API-and-XLS-decision-tables-tp3985574p3999138.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Displaying BPM node names across lines (easy)

2012-05-17 Thread drdaveg
I can't seem to find this on the site and know I have done it - how do you wrap a node name in a ruleflow or BPMN graph so it displays on multiple lines? I would like This is a really long process name that I would like to be be wrapped on multiple lines to appear as This is a really long

Re: [rules-users] [Designer] Problem installing service from repository

2012-05-17 Thread Tihomir Surdilovic
Not sure why your server log has: 01:10:03,075 ERROR [org.jbpm.designer.web.server.JbpmServiceRepositoryServlet] (http--127.0.0.1-8080-1) Could not find the package for uuid: c3142f2a-084b-423f-8afa-640c84140075 Designer scans all Guvnor packages trying to find the one the UUID belongs to.

[rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread gboro54
I just updated to Drools 5.4 and I am not getting the following error on all my map accessors: 10:41:12,997 ERROR [stderr] (Thread-169) Exception in thread Thread-169 java.lang.RuntimeException: Exception jitting: feeKeys[1] == null 10:41:12,998 ERROR [stderr] (Thread-169)at

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread gboro54
rule Rule1 trade no-loop true when $tsc:TradeSideContext(trade!=null,primarySide!=null,contraSide!=null) $trade:Trade($tradeDate:tradeDate, tradeSource == O) from $tsc.trade $ps:TradeSide(capacity.capacityCode ==

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread gboro54
It looks like the rule executes(based on my unit test the proper element is placed in the list) and it always seems to happen on the my last execution. In addition I have noticed that the evaluations seem to be handled on other threads. Is this correct behavior? gboro54 wrote rule Rule1

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread Mario Fusco
In Drools 5.4 we added an optimization that JITs constraints (i.e. compile them in bytecode) after they have been evaluated for a given amount of times (currently 20). Moreover it is not true that constraints' evaluations is made in threads different from the main one. Instead it is that jitting

Re: [rules-users] Plugging custom verification rules into Guvnor

2012-05-17 Thread Wolfgang Laun
Joe, you might also consider adding your own rule to one of the existing verifyer DRL files. I think they are part of some .jar file, so all you'd need to do is de-jar, edit, re-jar, or just fiddle with class path if that's the way the verifiy locates the DRL resources. -W On 17/05/2012, Toni

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread gboro54
Mario, That is what i expected(just wanted to verify). Let me know if any additional information is needed... Mario Fusco wrote In Drools 5.4 we added an optimization that JITs constraints (i.e. compile them in bytecode) after they have been evaluated for a given amount of times

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread Mario Fusco
Ok, I've been able to reproduce your issue. I'll fix it asap and keep you updated on how I am progressing. The only (ugly) workaround I could find at the moment is to replace feeKeys[1] with feeKeys[new Integer(1)]. Let me know if it works for you. Mario -- View this message in context:

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread gboro54
Thanks Mario! That seems to have resolved the issue. I look forward to your fix. Mario Fusco wrote Ok, I've been able to reproduce your issue. I'll fix it asap and keep you updated on how I am progressing. The only (ugly) workaround I could find at the moment is to replace feeKeys[1] with

Re: [rules-users] Drools 5.4 Jitting Error

2012-05-17 Thread Mario Fusco
I have reported this issue here: https://issues.jboss.org/browse/JBRULES-3511 I have also already fixed it and pushed the fix on the master branch. Working on the fix I also found another workaround: even replacing feeKeys[1] with feeKeys[1+0] should work. I don't know if this is better or worse

Re: [rules-users] traits - don more than 3 pojos, got IllegalArgumentException

2012-05-17 Thread Davide Sottara
Thanks for reporting this, I'll double check and fix it as soon as possible Best Davide -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-traits-don-more-than-3-pojos-got-IllegalArgumentException-tp3788670p3999543.html Sent from the Drools: User forum mailing list

[rules-users] ProcessInstance from StartProcessCommand

2012-05-17 Thread Hrumph
I am using the StartProcessCommand through the BatchExecution interface, and it works fine, but I don't see any return information in the ExecutionResults, such as a ProcessInstanceId or ProcessState? Is there some way to acquire this information. I see a number of other Commands in the process

Re: [rules-users] ProcessInstance from StartProcessCommand

2012-05-17 Thread Mauricio Salatino
Hi Herm, You can use the out identifier to get some result.. On Thu, May 17, 2012 at 8:25 PM, Hrumph herman.p...@imail.org wrote: I am using the StartProcessCommand through the BatchExecution interface, and it works fine, but I don't see any return information in the ExecutionResults, such

Re: [rules-users] ProcessInstance from StartProcessCommand

2012-05-17 Thread Hrumph
What would one call with the outIdentifier to get a result? -- View this message in context: http://drools.46999.n3.nabble.com/ProcessInstance-from-StartProcessCommand-tp383p4000166.html Sent from the Drools: User forum mailing list archive at Nabble.com.