Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-12 Thread Michael Anstis
"Doesn't like it" is a bit vague. You should be able to use any URL from within kie-wb as you could from the CLI. An indication of the error and your some details about your network would help. Are any proxies involved? Have you tried google'ing for git and the error I assume receive for "not be

[rules-users] Drools 5.5.0.Final : Rule Trigger Issue

2013-12-12 Thread Zahid Ahmed
Hi, I am new to Rules and having following issues in different rules. Rule 1 : Issue I have a process definition in which I create and insert into Session a REQUEST.java object before the rule-flow node. Insert is done using script node. In rule condition section I am fil

Re: [rules-users] Drools 5.5.0.Final : Rule Trigger Issue

2013-12-12 Thread Wolfgang Laun
Rule 1: This could result from not updating the WorkflowProcessInstance after creating the Variable "piRequest". Hard to tell without seeing all of the code... Rule 2: Simply incorrect syntax. Either use $r: Request( ADV == "N" ) or $r: Request() eval( $r.getADV().equals( "N" ) ) Make su

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread vimalkansal
Thanks manstis. Also can you please clarify that how does consuming application come to know of settings.xml file? By looking at org.kie.scanner.embedder.MAvenSettings.java, I believe either M2_HOME environment variable needs to be setup or "kie.maven.settings.custom" ? Is that a correct understand

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread Mario Fusco
Hi Vimal, By default maven reads 2 settings.xml files: the one located in your M2_HOME and the one in your local repository that usually is under ${user_home}/.m2, so yes, to make this works you should set the M2_HOME environment variable. However you can override this default using the kie.maven

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread vimalkansal
Thanks a lot Marion, that is exactly what I was looking for. Vimal -- View this message in context: http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027247.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread Mark Proctor
just a reminder —— There is problem, fixed in master, for remote jars. The KieRepository currently, when using kie-ci, doesn’t obey the settings.xml active profiles. This means it is not recognising the remote configured repositories. While this is fixed, and we’ll have binaries out in about 2

[rules-users] Null pointer when inserting data (5.5.0.Final)

2013-12-12 Thread Anders Henriksson
Hi! We're running drools in a multi-server setup, with a pretty basic scenario: 1. When the first session is needed, we load the rulebase once. The rulebase is never changed after this (no rule removal or addition). 2. Each call spawns a new StatefulKnowledgeSession which is used for firing the

Re: [rules-users] InstantiationError during condition evaluation in Drools 6.0.0.Final

2013-12-12 Thread Loïc Albertin
Hi Mario, Thank you a lot for your reactivity. Regards, Loïc Le 10/12/2013 14:07, Mario Fusco a écrit : > Thanks a lot for your reproduced. I just fixed that problem. > > Cheers, > Mario > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/rules-users-InstantiationErro

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-12 Thread anjana.ackroyd
Sorry for not giving the exact error . Here is what I see on the console as a pop-up . Although no logs get written to server.log Can't clone repository. java.lang.RuntimeException:Exception caught during execution of fetch command Here is how I know my GIT URL $* git config --get remote.orig

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-12 Thread Alexandre Porcelli
Your git URL seems to have username on it, try to remove it from your URL and use the proper field on form. Other thing that I notice is that your `port` points to "com.enterprise.service" is it correct? Here is a quick reference of GIT URL: http://www.pushok.com/help/gitscc/basic/git.html Re

[rules-users] [Optaplanner] Filter values

2013-12-12 Thread Mats Norén
Hi, I've got a domain with the following entities: - Person (planning entity) - Desk (planning variable) - DeskAssignment (solution) All persons should be assigned to a desk according to some rules. What I would like to do is to make certain Persons and their Desk immovable, ie, they are assigned

[rules-users] Sending Java Objects Through Camel, received by Drools 6

2013-12-12 Thread jordan.brown
Hi, We're currently testing sending XML/JSON (including a message and drools commands) through Camel and Drools receiving it (using the documentation given--Part IV Drools Integration in the Doc), but we're curious if it's possible to just send a Java Object (e.g., Person Object) through Camel and

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-12 Thread anjana.ackroyd
Thanks adding port 22 helped! GIT URL I used ssh://gitolite@vlslcdapp01:22/com.enterprise.service/service-rules-dsl -- View this message in context: http://drools.46999.n3.nabble.com/Re-rules-users-Kie-Work-Bench-missing-repositories-menu-option-tp4027198p4027257.html Sent from the Drools: U

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread vimalkansal
Thanks a lot Mark. -- View this message in context: http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027258.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules

[rules-users] daily builds available

2013-12-12 Thread Mark Proctor
Daily builds can currently be found here, http://download.jboss.org/drools/release/snapshot/6.0.x/ Anyone wanting to try 6.0, but meeting some issues already discussed - such as remote repositories, and settings.xml not working - should try the snapshots builds there. Mark

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread Mark Proctor
all fixed in the daily build, give it a try please. http://download.jboss.org/drools/release/snapshot/6.0.x/ Mark On 12 Dec 2013, at 19:08, vimalkansal wrote: > Thanks a lot Mark. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-k

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-12 Thread vimalkansal
Thanks Mark. -- View this message in context: http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208p4027262.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-user

Re: [rules-users] Sending Java Objects Through Camel, received by Drools 6

2013-12-12 Thread Mark Proctor
At the moment it requires command wrapper objects, which map the object to the method. This allows batch interactions. There was some work for more RPC type interactions, i.e. maps camel route only to “insert” and doesn’t need a command wrapper. But I don’t think that made 6.0. If you know that

[rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread anjana.ackroyd
I was able to do all my steps successfully on the work bench , Cloned my repository, added a new project, package,drl file, build and deployed it. I see wb created the repositories on my local machine which is good but I dont see a way to push those changes to my cloned reposity Git Push? I am

Re: [rules-users] Null pointer when inserting data (5.5.0.Final)

2013-12-12 Thread Davide Sottara
Could you please try version 5.6.CR1 ? It's not available for download on the main web site, but maven will be able to retrieve it. It has many fixes, including some multi threading issues. If you still experience the problem, we'll try and find a way to fix it in 5.6.Final, or test it with 6.x Tha

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread Mark Proctor
You want to sync the changes you’ve done with a remote git repo? The WB has a git server. What you’ll need to do from command line is clone, so that you have a local copy you can play with. That local copy you can then push to your remote repo, you might need to reconfigure origin, in order to d

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread vimalkansal
Hi Mark, What is the URL for git server in WB? Thx Vimal -- View this message in context: http://drools.46999.n3.nabble.com/How-to-push-changes-to-cloned-repo-on-Kie-Workbench-tp4027264p4027268.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] NPE when combining rules

2013-12-12 Thread sumantp
Hi again, I had previously posted an issue with event re-evaluation when using accumulate - http://drools.46999.n3.nabble.com/Prevent-re-evaluation-of-events-in-stream-mode-tp4027171.html I resolved the issue by using a flag to ensure that an event is evaluated just once. I used two rules, one th

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread vimalkansal
Never mind, figured it out. Vimal -- View this message in context: http://drools.46999.n3.nabble.com/How-to-push-changes-to-cloned-repo-on-Kie-Workbench-tp4027264p4027269.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ r

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread anjana.ackroyd
I was under the impression that under Authoring->Administration-> Repositories->Clone Repository is actually making a local copy for me to put my jar files into? I cloned my repository GIT URL I used ssh://gitolite@vlslcdapp01:22/ com.enterprise.service/service-rules-dsl After I wrote my DRL etc

Re: [rules-users] Drools 6 support for changeset

2013-12-12 Thread wtang
you mentioned that I have to: "build jars and update to the latest jar". My question is do I have to write code to detect the changes in the rule first or Drool 6.0 can detect this for me? It seems that nothing is automatic. Again my goal is change a rule and be able to have the rule change tak

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread Michael Anstis
You'd need to build kie-cli-config and use the distribution (or download from the drools downloads page - it's part of the workbench download). Furthermore; in response to your other questions, once you've built a project containing rules etc in the workbench a consuming application should use the