[rules-users] drools5.2 integrate with JMS

2011-11-29 Thread DroolersEye
Hi, I would like to integrate JMS with drools 5.2. I have a confusion over
selecting right approach. 
I noticed from the mailing list drools pipeline is depricated so  I assume
that not recomended now. So ignored it than look for another option but not
using spring? when i check the user forum I not getting any right direction
insted more confusion selecting rigt tool. Can some one help me to provide
me some info about integration JMS with drools without using spring?i am
using drools5.2

thanks lot,

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/drools5-2-integrate-with-JMS-tp3546100p3546100.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] JMS with drools expert

2011-11-29 Thread DroolersEye
Is drools pipeline supported in drools5.2? can I use drools pipeline/smoke
for JMS integration?
(my use case=drools engine getting facts from JMS)
I hope Edson Tirelli/Salaboy Mauricio Salatino may help this.
thanks,

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/JMS-with-drools-expert-tp3547129p3547129.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] remote Guvnor access error

2011-11-21 Thread DroolersEye
I got unread data block error while try to  read the remote Guvnor package.
remote guvnor access ok, drl file ok, package building ok. but while trying
to build the knowledge base (add tokbuilder) I got this error.

Thanks in advance,

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/remote-Guvnor-access-error-tp3526611p3526611.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] Guvnor5.1.1 resource local cache

2011-10-13 Thread DroolersEye
set the system property along with other system properties...
drools.resource.urlcache=  /location/to/the/local/cache

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor5-1-1-resource-local-cache-tp3241162p3419773.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] droolsWithjbpm

2011-09-08 Thread DroolersEye
can I use drools-5.1.1 jar fils with jbpm5.1 project. What I mean is can
replace the drools5.2 jars in the jbpm5.1 binary folder.

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/droolsWithjbpm-tp3321150p3321150.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] Drools is written in Java, but able to run on Java and .NET ?

2011-08-30 Thread DroolersEye
check out drools server

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-is-written-in-Java-but-able-to-run-on-Java-and-NET-tp3296402p3297159.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] Guvnor5.1.1 resource local cache

2011-08-09 Thread DroolersEye
Hi,
I am trying to cache the remote guvnor resource locally for guvnor down time
availability to rules engine, I am confusing with two system properties...
1) drools.resource.urlcache
2) localCache
which one is applicable? guvnor documentation points to
drools.resource.urlcache than what is the use of localCache?
KnowledgeAgentConfiguration aconf =
KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
aconf.setProperty(drools.resource.urlcache, /local/dir/path);
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent(test
agent, null, aconf);
is anything wrong in the above code?
when I run I dont see any locally cached resource in referenced folder,
please help me to clear?

Thanks lot
 

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor5-1-1-resource-local-cache-tp3241162p3241162.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] drools-server Vs drools-grid

2011-08-04 Thread DroolersEye
Hi,

Please let me know what is the difference between drools-server and
drools-grid, when I read salaboy blog (great blog contains lots of useful
informations about drools, Hats off to him) and drools web site documents I
am not clear, Please provide some abstract details about these two
components. 

thanks  best regards,

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-server-Vs-drools-grid-tp3227204p3227204.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] drools-server Vs drools-grid

2011-08-04 Thread DroolersEye
Mark,

Thanks for the clarification, I really appreciate your quick reply.

best regards,


-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-server-Vs-drools-grid-tp3227204p3227357.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] changeset error

2011-08-03 Thread DroolersEye
Hi, I am using Guvnor 5.1.1, when I try to connect knowledge pkg in the local
guvnor using changeset, I got the following warning (but still reading and
working*)/schema_reference.4: Failed to read schema document
'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the
document could not be read; 3) the root element of the document is not
xsd:schema./*
My changset is as follows...

?xml version=1.0 encoding=UTF-8?
change-set xmlns=http://drools.org/drools-5.0/change-set;
xmlns:xs=http://www.w3.org/2001/XMLSchema-instance;
xs:schemaLocation=http://drools.org/drools-5.0/change-set
drools-change-set-5.0.xsd
add
resource
source=http://localhost:9082/guvnorApps/org.drools.guvnor.Guvnor/package/RulesPKG/LATEST;
type=PKG basicAuthentication=enabled username=admin password=admin/
/add
/change-set


Thanks,

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/changeset-error-tp3223138p3223138.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] Delete action in Guvnor

2011-08-03 Thread DroolersEye
I am using Guvnor 5.1.1, not using 5.2 , In my production version is 5.1.1,
so I have to comply that...Thanks for the feed back let me try with 5.2,
before that is any possibilities in 5.1.1 for delete.

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Delete-action-in-Guvnor-tp3220947p3223141.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] Delete action in Guvnor

2011-08-02 Thread DroolersEye
Hi,
I am tring to delete the created catagory in Guvnor but unable to delete, it
always complains can not delete, it is used by some other resource (but no
assets added, it is new, just created catagory).
Is any idea, why this happpen?

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Delete-action-in-Guvnor-tp3220947p3220947.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] 答复: Can someone help me ?

2011-07-27 Thread DroolersEye
(using Guvnor)
In Guvnor manual, section 14.2. Configuring Guvnor to use an external
RDBMS explains configuring external RDBMS. 
or 
(manual way)
You may take a copy of required repository.xml (there are many
repository.xml files available ) file from the Guvnor war(extract it and
find the required one for your RDBMS specific) and provide your userid 
password informationand replace this file with the existing one. It works
fine.



-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Can-someone-help-me-tp3202551p3203515.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] 答复: Can someone help me ?

2011-07-27 Thread DroolersEye
version Guvnor 5.2 Final

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Can-someone-help-me-tp3202551p3203530.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] Java 1.4 Application

2011-07-27 Thread DroolersEye

Drools5 works with JDK1.5 and above.

Drools 5.0 will split up into 4 main sub projects, 

Drools Guvnor (BRMS/BPMS)

Drools Expert (rule engine),

Drools Flow (process/workflow)

Drools Fusion (cep/temporal reasoning)

the above projects are not available in drools 4.0 except drools rule engine
even drools expert 5.x is a major update over the previous Drools 4.
Drools4 works fine with jdk 1.4.
selecting drools 4.version based on the jdk version may not be good idea, we
may lose lots of advanced functionalities provided by drools current
versions. Current version is 5.2 Final (Auguest 2011 Mark team going to
release 5.3).


-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Java-1-4-Application-tp3199965p3203906.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] How to use OR-Operator

2011-07-25 Thread DroolersEye
you can create two rule...

rule or_conjunction_one 
when 
   eventA :  EventA(status == true) from entry-point 
StreamA 
then 
   System.out.println(A); 
end 

rule or_conjunction_two 
when 
   eventB :  EventB(status == true) from entry-point 
StreamB 
then 
   System.out.println(B); 
end 


-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-use-OR-Operator-tp3197784p3198114.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] Editing Changeset xml file by Guvnor 5.1

2011-07-23 Thread DroolersEye
Hi,
Thanks for the reply, 
My question is how to add the basic authentication details in the remote
changeset.xml file (which is generated by Guvnor and stored in Guvnor
repository)?

note: local changeSet test ok, no issue...the problem raise while adding the
remote changeset.xml file to knowledge agent.




-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Editing-Changeset-xml-file-by-Guvnor-5-1-tp3192759p3194498.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] Editing Changeset xml file by Guvnor 5.1

2011-07-23 Thread DroolersEye
The idea is I do not want to make a copy of the changeset xml file since it
is already generated by Guvnor and available in Guvnor repo, I  want to use
that remote changset file as input to my knowledgeagent by telling the
remote location of the xml file in Guvnor, the same way how we use the
knowledge packages created by remote Guvnor  and using changeset we tell the
Kagent to find resource location to build the Kbase, the same approach.

thanks,

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Editing-Changeset-xml-file-by-Guvnor-5-1-tp3192759p3194531.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] Editing Changeset xml file by Guvnor 5.1

2011-07-22 Thread DroolersEye
Hi,
I am trying to connect  changeset xml file located in the remote Guvnor 5.1
running in WAS7 server in a solaris box.
When I try to integrate the Guvnor using the KnowledgeAgent+Changeset but it
fails to read the changeset xml. It throws parser exception and 401
exception. 
Remote Guvnor authentication enabled(using LDAP), I can successfully log in
to Guvnor and create or edit rules files but in run time throws this
error...
Kagent.addChangeset(remote_location_of_the_changeset_file_url).
1. Is it possible to edit the changeset xml file by Guvnor like other assets
(to add the authentication details)?
2. It is not good idea to reveal the user id and password to hard code in
the src level (Guvnor can manage like RDBMS connection in 5.2 version)?
3. The above 2 questions not having immediate solution, what is the
suggestion?

best regards,

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/Editing-Changeset-xml-file-by-Guvnor-5-1-tp3192759p3192759.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] Using functions to derive values in accumulate (LHS)

2011-07-21 Thread DroolersEye
Hi,
rule Total Cost
when
$trip : Trip( $cost : cost)
$totalCost : Number() from 
accumulate( 
Person( trip== $trip, 
maxMoney:maxMoney ),
sum( $cost ) 
)
then
//take action
end

-
with kind regards,

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Using-functions-to-derive-values-in-accumulate-LHS-tp3187694p3188561.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] drools-JBPM integration

2011-07-16 Thread DroolersEye
Hi,
Thanks for your reply and I am sorry for the late response. 
Guvnor running good now in WAS 7
(after a small battle between WAS7 and me, finally I won). 
Now, I tried to integrate drools rules engine with JBPM 5, so I tried the
sample drools-camel-server to test but  I am getting CXF, Spring and WS
related errors.
(I did change  WAS class loader PARENT_LAST option, but no use...)

If any one succesfully running drools-JBPM integration in WAS7 environment,
please share with us your experince...

Thanks,

-

with kind regards,
Prabakar
--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-JBPM-integration-tp3167306p3175938.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] Drools Planner Solver Type

2011-07-15 Thread DroolersEye
Geoffrey,

Please help me to understand clearly, 
1. What are the solver type drools planner currently support or use?
2. From the examples I learned Local search(SA, tabu..), is this type
applicable to all kind of problems?
3. How to select or build a solver? (eg.scenario.100 doctors 1000
patients, administrator needs to schedule an appoinment with doctors based
on the patient type and doctor specialization)

Thanks,

-

with kind regards,
Prabakar
--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-Solver-Type-tp3172464p3172464.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] drools-JBPM integration

2011-07-14 Thread DroolersEye
Hi,

Tahnks for your reply, I tried to deploy drools-camel server in websphere
application server, but I am kep getting lots of class not found exception
neverthless i copy all the drools related jars from the binary folder to WAS
lib folder ...still I am getting class not found exception...I spent lots of
time in it but no progress. any help would be appriciated...(eg
sl4j.someclassjohan...etc)

Thanks,

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-JBPM-integration-tp3167306p3169131.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] drools-JBPM integration

2011-07-14 Thread DroolersEye
Yes, I tried in jboss and tomcat servers, it is working fine, also i use some
commercial rdbms(oracle, db2) for guvnor repository too. all fine except WAS
server. The very first time i installed and run woking fine, for some
reasons I uninstalled the websphere and try to do the whole process again, I
got stuck with this class not found exceptionsI suspect this is due to
some jar files conflicting version issue or may be jar or not recoganised by
the WAS server class loader. 

Thanks, 

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-JBPM-integration-tp3167306p3169780.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] Drools Planner examples applications running more than 10 minutes?

2011-07-14 Thread DroolersEye
Hi Geoffrey De Smet,

thanks lot for your reply,

I almost try all the examples in the examples GUI main page. Now I
understand why it takes long time...to get the best out of best (I spend
some time to understand the algoritms like tabu search, simulated
annealing).
Here I have the suituation like this, In my process flow (using JBPM5), one
of the node providing input(pojo) to the Drools Planner and the process
waiting for the result from from the Drools Planner(pojo) that output pojo
is the input data for the next node in the process flow. 
In the above scenario what is your advise to me, Is Drools Planner is good
in this flow? I worried for the time taken by the planner to complete the
task. This will affect the whole process time.

Please advise me,


-

with kind regards,
Prabakar
--
View this message in context: 
http://drools.46999.n3.nabble.com/Re-rules-users-Drools-Planner-examples-applications-running-more-than-10-minutes-tp3168326p3170133.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] Drools Planner examples applications running more than 10 minutes?

2011-07-13 Thread DroolersEye
drools planner example programmes running long time (eg. more than 10
minutes...and keep running stopped half way). Is my installation wrong or is
this the intended behavior? pls advise me. The documentation (user guide is
bit abstract for me ...the examples screen shots are not the updated
one(expected 5.2)) . Do you have any developer guide or any rference
material to understand more.

thanks,
Prabakar

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-examples-applications-running-more-than-10-minutes-tp3166674p3166674.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] Drools Planner examples applications running more than 10 minutes?

2011-07-13 Thread DroolersEye
drools planner example programmes running long time (eg. more than 10
minutes...and keep running stopped half way). Is my installation wrong or is
this the intended behavior? pls advise me. The documentation (user guide is
bit abstract for me ...the examples screen shots are not the updated
one(expected 5.2)) . Do you have any developer guide or any rference
material to understand more. 


Thanks,
Prabakar

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-examples-applications-running-more-than-10-minutes-tp3166681p3166681.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] Mvel versus java dialect

2011-07-13 Thread DroolersEye
I hope this link will help you...
http://drools.46999.n3.nabble.com/Java-vs-mvel-dialects-td56748.html

thanks,
drooler

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Mvel-versus-java-dialect-tp3164860p3166701.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] drools-JBPM integration

2011-07-13 Thread DroolersEye
Hi,

Please let me understand (not understand completely using the
documentation), regarding drools integration I have two questions
1. Why do we need to use Spring, can I ignore spring in this integration
process, if so what is the alternative for that?

2. Is the there any simple way for this integration process, It seems bit
difficult for me to see lots of technologies involved in this process
(drools, JBPM, REST, CFX, spring and Camal than some ESB..)


thanks,

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-JBPM-integration-tp3167306p3167306.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] Drools Planner intro

2011-07-12 Thread DroolersEye
thanks you very much Salaboy

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-intro-tp3164587p3164602.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] Drools Planner intro

2011-07-12 Thread DroolersEye
Is RedHat providing official support like other drools product?

-
Drooler
--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-intro-tp3164587p3164619.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