Re: [rules-users] 6.0.1.F Defect(s) in DSL and Enumerations

2014-02-24 Thread Michael Anstis
Sound like bugs to me.

Please raise a JIRA for DROOLS and ideally submit a pull request to github
for a failing unit test (or at least attach one to the JIRA).

Thanks

Sent on the move
On 25 Feb 2014 00:06, "SrjTx"  wrote:

> The following works like you would think:
>
> [when]xxx {l:ENUM:MyBean.l} {x:ENUM:MyBean.x}
> {y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))
>
> Defect 1?
> If you remove the spaces between the "} {"
> [when]xxx
> {l:ENUM:MyBean.l}{x:ENUM:MyBean.x}{y:ENUM:MyBean.y}=eval($sep.foo("any",
> "any", "{l}", "{x}", "{y}", "", ""))
>
> l = ""
> x = ""
> y = l + x + y
>
> Defect 2?
> Even in the first case, if the Enumeration returns a value that has
> space(s)
> in it (which maybe should not be allowed?) it will make for odd
> substitutions as well.
>
>
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/6-0-1-F-Defect-s-in-DSL-and-Enumerations-tp4028283.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Failed to clone Repository java.lang.RuntimeException: Invalid remote when using org.kie.example.repositories

2014-02-24 Thread Michael Anstis
Hello,

Could you please run again with a log level INFO and paste a more complete
stack trace?

The download from http://www.jboss.org/drools/downloads for the workbench
should be ok (it includes a zip for the example repositories).

Thanks,

Mike

Sent on the move
when starting the WB using JBPM 6 full installer package and after download
the demo repository on my machine and using the system property
org.kie.example.repositories to point to the location of the repository im
getting this error at the start up of JBOSS and i cant figure out what is
the problem knwing that i've tried more than one example repository and all
of them failled !!

Failed to clone Repository 'processes': java.lang.RuntimeException: Invalid
remote: origin
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:76)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final]
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java)



--
View this message in context:
http://drools.46999.n3.nabble.com/Failed-to-clone-Repository-java-lang-RuntimeException-Invalid-remote-when-using-org-kie-example-repos-tp4028279.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Failed to clone Repository java.lang.RuntimeException: Invalid remote when using org.kie.example.repositories

2014-02-24 Thread rbesheer
i already did all of that and here is the properties in the server JBOSS 7
host.xml






and still i get the same exception every time , i downloaded more that one
repository example to try may be iam using a wrong repository ,

can you send me the link to download or do you have any idea why i keep
getting this error .





--
View this message in context: 
http://drools.46999.n3.nabble.com/Failed-to-clone-Repository-java-lang-RuntimeException-Invalid-remote-when-using-org-kie-example-repos-tp4028279p4028290.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Failed to clone Repository java.lang.RuntimeException: Invalid remote when using org.kie.example.repositories

2014-02-24 Thread rbesheer
i already did all of that and here is the properties in the server JBOSS 7
host.xml






and still i get the same exception every time , i downloaded more that one
repository example to try may be iam using a wrong repository ,

can you send me the link to download or do you have any idea why i keep
getting this error .





--
View this message in context: 
http://drools.46999.n3.nabble.com/Failed-to-clone-Repository-java-lang-RuntimeException-Invalid-remote-when-using-org-kie-example-repos-tp4028279p4028291.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] pre-load rules and performance

2014-02-24 Thread ismaximum
@ALL ON THE LIST

Laune, 

Please check this:
http://grepcode.com/file/repo1.maven.org/maven2/org.drools/drools-core/6.0.0.Final/org/drools/core/common/AgendaGroupQueueImpl.java#AgendaGroupQueueImpl.setFocus%28%29

In there I can see the exception is thrown in source code. I don't know
which version you're testing against but we are on version 6.0.0Final.

It's not that I'm not interested in fixing this... I'm working in a software
company and I have lots of other issues and tasks to work on. I tried to fix
this problem as minimum code change as possible. If you have worked in such
environment you should know that any change in application requires
regression testing and it costs the company and that the company will not do
it unless it's a major issue.

I was/am very interested to fix this and already spent on this during my
time off the work. 

I did post on stack over flow because I thought I get faster response than
here in mailing list. If you are willing to help people you shouldn't bother
if someone don't have time to go further, or changes his/her mind. If you
can't bear with people's situation, you shouldn't call it "uncooperative
behaviour"... 

Like you I spent many time helping others in ExpertsExchange and other
forums in Nabble but never get upset because they couldn't understand or
didn't reply back.

Thanks for your time in replying to this post.



--
View this message in context: 
http://drools.46999.n3.nabble.com/pre-load-rules-and-performance-tp4028216p4028289.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] pre-load rules and performance

2014-02-24 Thread Wolfgang Laun
@ALL ON THE LIST

This question has been answered correctly (I have tested
it with 6.0.0) over there on stackoverflow but OP has claimed that an
"unsupported op exception" is thrown, which may be, but not due to
setFocus/fireAllRules. And now he states that he "can't spend more
time on this as he has other tasks to work on". - So why did he post
it in the first place?

I feel that this uncooperative behaviour (apart from cross posting and
hi-jacking threads) is not what people who try to help here and on
stackoverflow deserve to receive.

So let him solve his problems on his own.

-W

On 24/02/2014, ismaximum  wrote:
> That's the problem... that's what I've been trying to do since last week:
> http://stackoverflow.com/questions/21975213/fire-agenda-groups-separately-in-drools/21982794?noredirect=1#21982794
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/pre-load-rules-and-performance-tp4028216p4028281.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] NullPointerException with LeftTupleIndexHashTable.remove()

2014-02-24 Thread Mark Proctor
I’ve confirmed, and written a reduced test. Please monitor the new thread on 
drools-dev. Also don’t forget to make a JIRA.

Mark
On 24 Feb 2014, at 23:56, nxv  wrote:

> Hello,
> 
> any news ?  Should I create an issue in JIRA ? 
> 
> Nicolas-Xavier
> 
> 
> nxv wrote
>> Here is another zip (I removed the test in relation with another issue:
>> DROOLS-421).  The right method method to execute is
>> testLeftTupleIndexHashTable() 
>> Drools-LeftTupleIndexHashTable-61b.zip
>> 
>>   
>> 
>> 
>> Here is the trace:
>> 
>> 2014-02-17 09:04:15,450 [main] INFO  Found kmodule:
>> file:/E:/Project/Haulogy/EnergyComm/IDE/workspace-kepler/drools-61-bug/target/classes/META-INF/kmodule.xml
>> 2014-02-17 09:04:15,454 [main] DEBUG KieModule URL type=file
>> url=/Project/Haulogy/EnergyComm/IDE/workspace-kepler/drools-61-bug/target/classes
>> 2014-02-17 09:04:15,521 [main] DEBUG Found and used pom.properties
>> \Project\Haulogy\EnergyComm\IDE\workspace-kepler\drools-61-bug\target\classes\META-INF\maven\org.test2\test\pom.properties
>> 2014-02-17 09:04:15,524 [main] DEBUG Discovered classpath module
>> org.test2:test:0.0.1-SNAPSHOT
>> 2014-02-17 09:04:15,527 [main] INFO  KieModule was added:FileKieModule[
>> ReleaseId=org.test2:test:0.0.1-SNAPSHOTfile=\Project\Haulogy\EnergyComm\IDE\workspace-kepler\drools-61-bug\target\classes]
>> 2014-02-17 09:04:16,618 [main] DEBUG Starting Engine in PHREAK mode
>> 2014-02-17 09:04:16,664 [main] TRACE Adding Rule Qualification##Supply
>> ToStart##Fact loader##DeliveryPeriod from DeliveryPoint
>> 2014-02-17 09:04:16,667 [main] TRACE Adding Rule Qualification##Supply
>> ToStart##Sply-ToStrt_q-Std_crDPo
>> 2014-02-17 09:04:16,726 [main] TRACE Insert [fact
>> 0:1:1391516304:1391516304:1:DEFAULT:NON_TRAIT:org.after.evaluate.Message@52f0da90]
>> 2014-02-17 09:04:16,733 [main] TRACE LinkNode notify=false nmask=1 smask=1
>> spos=0 rules=
>> 2014-02-17 09:04:16,734 [main] TRACE   LinkSegment smask=2 rmask=2
>> name=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo
>> 2014-02-17 09:04:16,738 [main] TRACE LinkNode notify=true nmask=1 smask=1
>> spos=0 rules=[RuleMem Qualification##Supply ToStart##Fact
>> loader##DeliveryPeriod from DeliveryPoint], [RuleMem Qualification##Supply
>> ToStart##Sply-ToStrt_q-Std_crDPo]
>> 2014-02-17 09:04:16,738 [main] TRACE Insert [fact
>> 0:2:528227185:528227185:2:DEFAULT:NON_TRAIT:org.leftTupleIndexHashTable.CommonPayloadData@1f7c1b71]
>> 2014-02-17 09:04:16,739 [main] TRACE BetaNode insert=1
>> stagedInsertWasEmpty=true
>> 2014-02-17 09:04:16,739 [main] TRACE LinkNode notify=true nmask=2 smask=3
>> spos=0 rules=[RuleMem Qualification##Supply ToStart##Fact
>> loader##DeliveryPeriod from DeliveryPoint], [RuleMem Qualification##Supply
>> ToStart##Sply-ToStrt_q-Std_crDPo]
>> 2014-02-17 09:04:16,739 [main] TRACE   LinkSegment smask=1 rmask=1
>> name=Qualification##Supply ToStart##Fact loader##DeliveryPeriod from
>> DeliveryPoint
>> 2014-02-17 09:04:16,739 [main] TRACE   LinkSegment smask=1 rmask=3
>> name=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo
>> 2014-02-17 09:04:16,739 [main] TRACE LinkRule
>> name=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo
>> 2014-02-17 09:04:16,750 [main] TRACE Queue RuleAgendaItem [Activation
>> rule=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo, act#=0,
>> salience=0, tuple=null]
>> 2014-02-17 09:04:16,750 [main] TRACE Queue Added 1 [Activation
>> rule=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo, act#=0,
>> salience=0, tuple=null]
>> 2014-02-17 09:04:16,750 [main] TRACE Rule[name=Qualification##Supply
>> ToStart##Sply-ToStrt_q-Std_crDPo] segments=2 TupleSets[insertSize=1,
>> deleteSize=0, updateSize=0]
>> 2014-02-17 09:04:16,750 [main] TRACE  1 [JoinNode(5) -
>> [ClassObjectType class=org.leftTupleIndexHashTable.CommonPayloadData]]
>> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
>> 2014-02-17 09:04:16,750 [main] TRACE  Segment 0
>> 2014-02-17 09:04:16,750 [main] TRACE  1 [JoinNode(5) -
>> [ClassObjectType class=org.leftTupleIndexHashTable.CommonPayloadData]]
>> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
>> 2014-02-17 09:04:16,754 [main] TRACE  rightTuples
>> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
>> 2014-02-17 09:04:16,755 [main] TRACE  Segment 1
>> 2014-02-17 09:04:16,755 [main] TRACE2 [NotNode(9) -
>> [ClassObjectType class=org.after.evaluate.DeliveryPoint]]
>> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
>> 2014-02-17 09:04:16,755 [main] TRACESegment 1
>> 2014-02-17 09:04:16,755 [main] TRACE2 [NotNode(9) -
>> [ClassObjectType class=org.after.evaluate.DeliveryPoint]]
>> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
>> 2014-02-17 09:04:16,755 [main] TRACErightTuples
>> TupleSets[insertSize=0, deleteSize=0, updateSize=0]
>> 2014-02-17 09:04:16,756 [main] TRACE  3 [RuleTerminalNode(10):
>> rule=Qualification##

Re: [rules-users] 6.0.1.F Defect(s) in DSL and Enumerations

2014-02-24 Thread SrjTx
Let me add that I hope spaces should be allowed. 



--
View this message in context: 
http://drools.46999.n3.nabble.com/6-0-1-F-Defect-s-in-DSL-and-Enumerations-tp4028283p4028284.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] 6.0.1.F Defect(s) in DSL and Enumerations

2014-02-24 Thread SrjTx
The following works like you would think:

[when]xxx {l:ENUM:MyBean.l} {x:ENUM:MyBean.x}
{y:ENUM:MyBean.y}=eval($sep.foo("any", "any", "{l}", "{x}", "{y}", "", ""))

Defect 1? 
If you remove the spaces between the "} {"
[when]xxx
{l:ENUM:MyBean.l}{x:ENUM:MyBean.x}{y:ENUM:MyBean.y}=eval($sep.foo("any",
"any", "{l}", "{x}", "{y}", "", ""))

l = ""
x = ""
y = l + x + y

Defect 2?
Even in the first case, if the Enumeration returns a value that has space(s)
in it (which maybe should not be allowed?) it will make for odd
substitutions as well.







--
View this message in context: 
http://drools.46999.n3.nabble.com/6-0-1-F-Defect-s-in-DSL-and-Enumerations-tp4028283.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] NullPointerException with LeftTupleIndexHashTable.remove()

2014-02-24 Thread nxv
Hello,

any news ?  Should I create an issue in JIRA ? 

Nicolas-Xavier


nxv wrote
> Here is another zip (I removed the test in relation with another issue:
> DROOLS-421).  The right method method to execute is
> testLeftTupleIndexHashTable() 
> Drools-LeftTupleIndexHashTable-61b.zip
> 
>   
>  
> 
> Here is the trace:
> 
> 2014-02-17 09:04:15,450 [main] INFO  Found kmodule:
> file:/E:/Project/Haulogy/EnergyComm/IDE/workspace-kepler/drools-61-bug/target/classes/META-INF/kmodule.xml
> 2014-02-17 09:04:15,454 [main] DEBUG KieModule URL type=file
> url=/Project/Haulogy/EnergyComm/IDE/workspace-kepler/drools-61-bug/target/classes
> 2014-02-17 09:04:15,521 [main] DEBUG Found and used pom.properties
> \Project\Haulogy\EnergyComm\IDE\workspace-kepler\drools-61-bug\target\classes\META-INF\maven\org.test2\test\pom.properties
> 2014-02-17 09:04:15,524 [main] DEBUG Discovered classpath module
> org.test2:test:0.0.1-SNAPSHOT
> 2014-02-17 09:04:15,527 [main] INFO  KieModule was added:FileKieModule[
> ReleaseId=org.test2:test:0.0.1-SNAPSHOTfile=\Project\Haulogy\EnergyComm\IDE\workspace-kepler\drools-61-bug\target\classes]
> 2014-02-17 09:04:16,618 [main] DEBUG Starting Engine in PHREAK mode
> 2014-02-17 09:04:16,664 [main] TRACE Adding Rule Qualification##Supply
> ToStart##Fact loader##DeliveryPeriod from DeliveryPoint
> 2014-02-17 09:04:16,667 [main] TRACE Adding Rule Qualification##Supply
> ToStart##Sply-ToStrt_q-Std_crDPo
> 2014-02-17 09:04:16,726 [main] TRACE Insert [fact
> 0:1:1391516304:1391516304:1:DEFAULT:NON_TRAIT:org.after.evaluate.Message@52f0da90]
> 2014-02-17 09:04:16,733 [main] TRACE LinkNode notify=false nmask=1 smask=1
> spos=0 rules=
> 2014-02-17 09:04:16,734 [main] TRACE   LinkSegment smask=2 rmask=2
> name=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo
> 2014-02-17 09:04:16,738 [main] TRACE LinkNode notify=true nmask=1 smask=1
> spos=0 rules=[RuleMem Qualification##Supply ToStart##Fact
> loader##DeliveryPeriod from DeliveryPoint], [RuleMem Qualification##Supply
> ToStart##Sply-ToStrt_q-Std_crDPo]
> 2014-02-17 09:04:16,738 [main] TRACE Insert [fact
> 0:2:528227185:528227185:2:DEFAULT:NON_TRAIT:org.leftTupleIndexHashTable.CommonPayloadData@1f7c1b71]
> 2014-02-17 09:04:16,739 [main] TRACE BetaNode insert=1
> stagedInsertWasEmpty=true
> 2014-02-17 09:04:16,739 [main] TRACE LinkNode notify=true nmask=2 smask=3
> spos=0 rules=[RuleMem Qualification##Supply ToStart##Fact
> loader##DeliveryPeriod from DeliveryPoint], [RuleMem Qualification##Supply
> ToStart##Sply-ToStrt_q-Std_crDPo]
> 2014-02-17 09:04:16,739 [main] TRACE   LinkSegment smask=1 rmask=1
> name=Qualification##Supply ToStart##Fact loader##DeliveryPeriod from
> DeliveryPoint
> 2014-02-17 09:04:16,739 [main] TRACE   LinkSegment smask=1 rmask=3
> name=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo
> 2014-02-17 09:04:16,739 [main] TRACE LinkRule
> name=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo
> 2014-02-17 09:04:16,750 [main] TRACE Queue RuleAgendaItem [Activation
> rule=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo, act#=0,
> salience=0, tuple=null]
> 2014-02-17 09:04:16,750 [main] TRACE Queue Added 1 [Activation
> rule=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo, act#=0,
> salience=0, tuple=null]
> 2014-02-17 09:04:16,750 [main] TRACE Rule[name=Qualification##Supply
> ToStart##Sply-ToStrt_q-Std_crDPo] segments=2 TupleSets[insertSize=1,
> deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,750 [main] TRACE  1 [JoinNode(5) -
> [ClassObjectType class=org.leftTupleIndexHashTable.CommonPayloadData]]
> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,750 [main] TRACE  Segment 0
> 2014-02-17 09:04:16,750 [main] TRACE  1 [JoinNode(5) -
> [ClassObjectType class=org.leftTupleIndexHashTable.CommonPayloadData]]
> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,754 [main] TRACE  rightTuples
> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,755 [main] TRACE  Segment 1
> 2014-02-17 09:04:16,755 [main] TRACE2 [NotNode(9) -
> [ClassObjectType class=org.after.evaluate.DeliveryPoint]]
> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,755 [main] TRACESegment 1
> 2014-02-17 09:04:16,755 [main] TRACE2 [NotNode(9) -
> [ClassObjectType class=org.after.evaluate.DeliveryPoint]]
> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,755 [main] TRACErightTuples
> TupleSets[insertSize=0, deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,756 [main] TRACE  3 [RuleTerminalNode(10):
> rule=Qualification##Supply ToStart##Sply-ToStrt_q-Std_crDPo]
> TupleSets[insertSize=1, deleteSize=0, updateSize=0]
> 2014-02-17 09:04:16,756 [main] TRACE  Segment 1
> 2014-02-17 09:04:16,756 [main] TRACE  3 [RuleTerminalNode(10):
> rule=Qualification##Supply ToStart##

Re: [rules-users] pre-load rules and performance

2014-02-24 Thread ismaximum
That's the problem... that's what I've been trying to do since last week:
http://stackoverflow.com/questions/21975213/fire-agenda-groups-separately-in-drools/21982794?noredirect=1#21982794




--
View this message in context: 
http://drools.46999.n3.nabble.com/pre-load-rules-and-performance-tp4028216p4028281.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Failed to clone Repository java.lang.RuntimeException: Invalid remote when using org.kie.example.repositories

2014-02-24 Thread Michael Anstis
Make sure you also set the system property to disable the automatic fetch
of example repositories from github (I forget the name, I am not at my
computer).

Sent on the move
On 24 Feb 2014 19:12, "rbesheer"  wrote:

> when starting the WB using JBPM 6 full installer package and after download
> the demo repository on my machine and using the system property
> org.kie.example.repositories to point to the location of the repository im
> getting this error at the start up of JBOSS and i cant figure out what is
> the problem knwing that i've tried more than one example repository and all
> of them failled !!
>
> Failed to clone Repository 'processes': java.lang.RuntimeException: Invalid
> remote: origin
> at
>
> org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:76)
> [uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final]
> at
>
> org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java)
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Failed-to-clone-Repository-java-lang-RuntimeException-Invalid-remote-when-using-org-kie-example-repos-tp4028279.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Failed to clone Repository java.lang.RuntimeException: Invalid remote when using org.kie.example.repositories

2014-02-24 Thread rbesheer
when starting the WB using JBPM 6 full installer package and after download
the demo repository on my machine and using the system property
org.kie.example.repositories to point to the location of the repository im
getting this error at the start up of JBOSS and i cant figure out what is
the problem knwing that i've tried more than one example repository and all
of them failled !!

Failed to clone Repository 'processes': java.lang.RuntimeException: Invalid
remote: origin
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:76)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final]
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java)
 



--
View this message in context: 
http://drools.46999.n3.nabble.com/Failed-to-clone-Repository-java-lang-RuntimeException-Invalid-remote-when-using-org-kie-example-repos-tp4028279.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] cant run the example repository after install on my machine and change system property org.kie.example.repositories

2014-02-24 Thread rbesheer
please im facing the same problem but when i installed the demo locally on my
machine and i modified the system properties to point to the root folder of
the repository but it seems that i have the wrong example sources cause it
keep getting me the same exception .. so can you please send me the right
URL to download the repository knowing that im using JBPM 6.0.1 final
installer jbpm-6.0.0.Final-installer-full.zip 

appreciate your help 

 Failed to clone Repository 'globals': java.lang.RuntimeException: Invalid
remote: origin 
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:76)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.RepositoryFactoryImpl.newRepository(RepositoryFactoryImpl.java:36)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.newRepository(RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.java)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final]



--
View this message in context: 
http://drools.46999.n3.nabble.com/cant-run-the-example-repository-after-install-on-my-machine-and-change-system-property-org-kie-examps-tp4028278.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2014-02-24 Thread rbesheer
please im facing the same problem but when i installed the demo locally on my
machine and i modified the system properties to point to the root folder of
the repository but it seems that i have the wrong example sources cause it
keep getting me the same exception .. so can you please send me the right
URL to download the repository knowing that im using JBPM 6.0.1 final
installer jbpm-6.0.0.Final-installer-full.zip 

appreciate your help 

 Failed to clone Repository 'globals': java.lang.RuntimeException: Invalid
remote: origin 
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:76)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.RepositoryFactoryImpl.newRepository(RepositoryFactoryImpl.java:36)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.newRepository(RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.java)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 



--
View this message in context: 
http://drools.46999.n3.nabble.com/Uberfire-jars-missing-for-workbench-tp4027958p4028277.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Kie-Workbench install error

2014-02-24 Thread gboro54
I turned off the demo stuff as we really didn't want that in our linux
environment.  As for the example I am not sure. I would start a new thread
and not high-jack an older thread in this case.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Kie-Workbench-install-error-tp4027840p4028276.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Kie-Workbench install error

2014-02-24 Thread rbesheer
please im facing the same problem but when i installed the demo locally on my
machine and i modified the system properties to point to the root folder of
the repository but it seems that i have the wrong example sources cause it
keep getting me the same exception .. so can you please send me the right
URL to download the repository knowing that im using JBPM 6.0.1 final
installer jbpm-6.0.0.Final-installer-full.zip 

appreciate your help 

 Failed to clone Repository 'globals': java.lang.RuntimeException: Invalid
remote: origin 
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:76)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.RepositoryFactoryImpl.newRepository(RepositoryFactoryImpl.java:36)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 
at
org.uberfire.backend.server.repositories.RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.newRepository(RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.java)
[uberfire-backend-server-0.3.0.Final.jar:0.3.0.Final] 



--
View this message in context: 
http://drools.46999.n3.nabble.com/Kie-Workbench-install-error-tp4027840p4028275.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] "in" syntax breaking the Rete Tree

2014-02-24 Thread droolster
@Mark,

There is no need to take posts out of context and make misconstrued
inferences.

I have made my points crystal clear. I also now understand your attitude
perfectly clear.

If I have offended you and your team, please accept my sincere apologies. In
future, I will post to Stack Exchange, and avoid this one. Hopefully, I will
get a better response from the community there. 

Thank you for taking the time to reply to my posts.





--
View this message in context: 
http://drools.46999.n3.nabble.com/in-operator-breaking-the-Rete-Tree-tp4028148p4028273.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] "in" syntax breaking the Rete Tree

2014-02-24 Thread Mark Proctor
> 
> "We saw this message..." - then why wasn't the advice given to raise a bug
> earlier? Why did it take 8 posts to eventually get to that point? It's a
> waste of time and effort, and a lack of appreciation for people who are
> trying to promote your product in their industry and workplace.


When you tell people they are wasting your time, and you accuse them of not 
appreciating you, that is abusive behaviour. It adds nothing to the technical 
discussions in this list, and is simply venting of your frustrations. This is 
not acceptable, and it is my job to make sure it does not happen.

Mark

On 24 Feb 2014, at 15:56, droolster  wrote:

> @Mark, like I said in my previous post, "when you get off your high-horse"...
> you may see things differently.
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/in-operator-breaking-the-Rete-Tree-tp4028148p4028271.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] "in" syntax breaking the Rete Tree

2014-02-24 Thread droolster
@Mark, like I said in my previous post, "when you get off your high-horse"...
you may see things differently.




--
View this message in context: 
http://drools.46999.n3.nabble.com/in-operator-breaking-the-Rete-Tree-tp4028148p4028271.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] "in" syntax breaking the Rete Tree

2014-02-24 Thread Mark Proctor
We don’t know it’s a bug, without actually testing it, that takes time.

We prefer for the community to try supporting itself.

There are numerous other people on this list, not employees of Red Hat, who if 
they have the time and inclination, can also verify and confirm if it’s a bug 
or not.

Red Hat core developer time is limited, so we prefer the community to support 
it self, which it generally does extremely well - thanks to the efforts of some 
valiant individuals. In fact it’s often hard to tell who is and who is not 
employed by Red Hat, because of the success of our community - as you yourself 
found. And this is the way it should be, the less differentiation we can make 
between RHT people and non-RHT people, the better it is for  everyone, and the 
healthier the project.

I and others have no interest in you venting your personal frustrations against 
a group of people who all work very hard; we make that clear so you and others 
don’t continue to abuse the hard working people in our open source communities. 
Keep your arguments technical, and avoid embellishing your emails with 
frustrations that make demands of people and communities for which you have no 
right. Which you still continue to do
> All you or one of your team members had to do was to reply to my original
> post with four words only:


So I repeat my offer, which you have not taken up yet. If you want that level 
of service, then I can have someone from sales contact you. You will then have 
our undivided attention, with service level agreements, and time monitored 
interactions. Your suspected bugs and issues will be verified, promptly, by a 
crack team and your waiting time kept to a minimum.

Mark


On 24 Feb 2014, at 14:51, droolster  wrote:

> @Mark,
> 
> Thank you for your rant. When you get off your 'high-horse', you may want to
> consider the point which I was trying to make all along which is:
> 
> All you or one of your team members had to do was to reply to my original
> post with four words only:
> 
> "This is a bug".
> 
> This would have saved a lot of your precious time and effort which you
> mention. It certainly is a lot quicker than writing your current heroic post
> and the repeated posts made by @laune. This would have cleared up my
> confusion as I did not know there was a disconnect between the code written
> in the text editor tab and the Rete Viewer tab. As far as I know, this fact
> is not documented anywhere either. If you had done that, I would have been
> satisfied and I could explain to others that this is a bug instead of "I
> don't know" and Drools Expert looking like a below enterprise-level product.
> 
> I originally posted this bug on StackExchange so that I would capture a
> wider audience and get faster help but it was at the request of @laune that
> StackExchange was not the right place and that I should post it on this
> forum, which I duly did.
> 
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/in-operator-breaking-the-Rete-Tree-tp4028148p4028269.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] "in" syntax breaking the Rete Tree

2014-02-24 Thread droolster
@Mark,

Thank you for your rant. When you get off your 'high-horse', you may want to
consider the point which I was trying to make all along which is:

All you or one of your team members had to do was to reply to my original
post with four words only:

"This is a bug".

This would have saved a lot of your precious time and effort which you
mention. It certainly is a lot quicker than writing your current heroic post
and the repeated posts made by @laune. This would have cleared up my
confusion as I did not know there was a disconnect between the code written
in the text editor tab and the Rete Viewer tab. As far as I know, this fact
is not documented anywhere either. If you had done that, I would have been
satisfied and I could explain to others that this is a bug instead of "I
don't know" and Drools Expert looking like a below enterprise-level product.

I originally posted this bug on StackExchange so that I would capture a
wider audience and get faster help but it was at the request of @laune that
StackExchange was not the right place and that I should post it on this
forum, which I duly did.




--
View this message in context: 
http://drools.46999.n3.nabble.com/in-operator-breaking-the-Rete-Tree-tp4028148p4028269.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Multuple AgendaFilter is not possible

2014-02-24 Thread Wolfgang Laun
You'll have to run two fireAllRules.
-W

On 24/02/2014, ismaximum  wrote:
> Thanks... but I don't need to combine two filters... it doesn't help.
>
> We have a list of Commands and eventually we pass those list to
> CommandFactory.newBatchExecution(cmds) and this one will be passed to
> session.execute(...)
>
>
> What I am after is to execute filter1 and then execute filter2 not
> together,
> I want to define an order:
>
> List cmds = 
> cmds.add(CommandFactory.newStartProcess(processName));
> FireAllRulesCommand pre = new FireAllRulesCommand(new
> PreAgendaFilter());
> FireAllRulesCommand post = new FireAllRulesCommand(new
> PostAgendaFilter());
> cmds.add(pre);
> cmds.add(post);
>
> result = ksession.execute(CommandFactory.newBatchExecution(cmds))
>
>
> after running the code, I can see rules filtered out by 'pre' being fired
> but the second filter doesn't match anything. If I swap the order of 'pre'
> and 'post'
>
> cmds.add(post);
> cmds.add(pre);
>
>  it only executes rules matched with 'post' and ignores 'pre'
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Multuple-AgendaFilter-is-not-possible-tp4028261p4028267.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Multuple AgendaFilter is not possible

2014-02-24 Thread ismaximum
Thanks... but I don't need to combine two filters... it doesn't help.

We have a list of Commands and eventually we pass those list to
CommandFactory.newBatchExecution(cmds) and this one will be passed to
session.execute(...) 


What I am after is to execute filter1 and then execute filter2 not together,
I want to define an order:

List cmds = 
cmds.add(CommandFactory.newStartProcess(processName));
FireAllRulesCommand pre = new FireAllRulesCommand(new
PreAgendaFilter());
FireAllRulesCommand post = new FireAllRulesCommand(new
PostAgendaFilter());
cmds.add(pre);
cmds.add(post);
   
result = ksession.execute(CommandFactory.newBatchExecution(cmds))


after running the code, I can see rules filtered out by 'pre' being fired
but the second filter doesn't match anything. If I swap the order of 'pre'
and 'post'  
 
cmds.add(post);
cmds.add(pre);

 it only executes rules matched with 'post' and ignores 'pre'



--
View this message in context: 
http://drools.46999.n3.nabble.com/Multuple-AgendaFilter-is-not-possible-tp4028261p4028267.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Multuple AgendaFilter is not possible

2014-02-24 Thread Wolfgang Laun
There's no FireAllRulesCommand in the stable API. I would not
go beyond that.

It's not exactly rocket science to combine two or n filters into
another filter. Do you need the Java code in full?

class CombinedAgendaFilter implements AgendaFilter {
CombinedAgendaFilter( AgendaFilter... filters ){ ... }
boolean accept(Match match)
   //...
}
}

-W

On 24/02/2014, ismaximum  wrote:
> Hi
>
> I'm trying to add multiple FireAllRulesCommand, each with different
> AgendaFilter:
>
> for(Object obj: objs) {
> cmds.add(CommandFactory.newInsert(obj));
> }
> cmds.add(CommandFactory.newStartProcess(processName));
> FireAllRulesCommand pre = new FireAllRulesCommand(new
> PreAgendaFilter());
> FireAllRulesCommand post = new FireAllRulesCommand(new
> PostAgendaFilter());
> cmds.add(pre);
> cmds.add(post);
>
>
> but it seems ksession.execute() only executes the first FireAllRulesCommand
> and ignores the subsequent ones in the list. In this case only 'pre' ...
> and
> if I change the order and add the 'post' before 'pre' it only executes the
> 'post' command...
>
> Is this a bug or something else behind it?
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Multuple-AgendaFilter-is-not-possible-tp4028261.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] pre-load rules and performance

2014-02-24 Thread abhinay_agarwal
I don't understand what is the problem in this scenario. You can always fire
one set of rules, in the same agenda group.



--
View this message in context: 
http://drools.46999.n3.nabble.com/pre-load-rules-and-performance-tp4028216p4028265.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] pre-load rules and performance

2014-02-24 Thread Wolfgang Laun
Answered on Stackoverflow! I don't have the time for cross-postings
-W

On 23/02/2014, ismaximum  wrote:
> We are using Drools 6.
> Wondering, is that possible to define two agenda-groups, say PreRules and
> MAIN.
> Then from outside where we fire all the rules, we could say, somehow, fire
> agenda group 'PreRules' and then MAIN (or perhaps mainRules, a name
> different than the default) and still share the context between the two?
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/pre-load-rules-and-performance-tp4028216p4028260.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Drools-Guvnor

2014-02-24 Thread sravan k

Date: Mon, 24 Feb 2014 13:58:14 +0530




Hello everyone ,
Hope you are doing good , I am having following queries please give me a 
solution for the same 
>Which version of Drools is stabled ?>For every rule configuration we are 
>restarting tomcat ,because rules are not getting effected that is the reason 
>we are restarting it .If we use 5.5 will this problem can be resolved ?>how to 
>implement Dynamic update of knowledge base ?



---Regards,Sravan.

  ___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users