Re: [rules-users] How to access Guvnor Rules based on versions from Java?

2012-10-16 Thread Ravikiran
Hi Jarvis, Thanks for your reply. Looks like i have posted my intension unclearly. To elaborate bit more, currently i am using Rest API to create KnowledgeBase from my java client. I have changeset-loans.xml, where my guvnor package with drl is defined. My java client will this to fire all rules

Re: [rules-users] 5.5 Beta1 Guvnor Issue 500 The call failed on the server

2012-10-15 Thread Ravikiran
It may be not the corrent way of doing it.Let's do like this. If you are using file based JCB for your repository, why can't you try copying the full repository manually to your new location...It may work...but i am not sure. It worked for me when i do it migrate the repository between two

[rules-users] How to access Guvnor Rules based on versions from Java?

2012-10-15 Thread Ravikiran
Hi, I have got a business requirement to access specific version of a rule and process them accordingly. My rules are stored in file based JCB based guvnor repository. For example, i have a rule in a package created, having more than one version varying with rule definition for each version. How

Re: [rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-09-26 Thread Ravikiran
Drools Guvnor v5.3 5.4 onwards uses weld and seam frameworks causing this error. Though i do not have any clue about the given exception, But Guvnor v5.2.0 works perfectly in Websphere AS7 without any issues. But remember, it works only in Firefox browser. You'll end up ing seeing blank screen

Re: [rules-users] Drools Guvnor 5.2 Issue on Websphere AS 7

2012-08-22 Thread Ravikiran
Hi All, Drools Guvnor 5.2.0 Final successfully working on Websphere AS 7. As described in my earlier posts, I was not getting blank screen displayed after the new repository is created when i launch Guvnor for the first time. I didn't have any clue about this behavior because it wasn't throwing

Re: [rules-users] Drools Guvnor 5.2 Issue on Websphere AS 7

2012-07-24 Thread Ravikiran
Hi Joffrey, I was almost there to start using guvnor with Websphere 7, but i am struck now with the situation explained earlier. That to, no exceptions have been thrown on server logs as well. Just blank screen with header part displayed after the repository is created Appreciate any help or

Re: [rules-users] Drools Guvnor 5.2 Issue on Websphere AS 7

2012-07-24 Thread Ravikiran
Hi, Drools Guvnor 5.4.0 Final - I came to know that this version may not work successfully in Websphere because IBM Websphere uses OpenWebBeans as CDI implementation. Where as JBoss uses weld and this seems to differ. Not very sure about the implementation of two sides...is it? Drools Guvnor

[rules-users] Drools Guvnor 5.2 Issue on Websphere AS 7

2012-07-23 Thread Ravikiran
Hi Drools gurus, I am back again. As most of you know that i had many 'weld' related issues for deploying Drools Guvnor 5.4 in Webspere 7. After all my trails, i have decided to go for Guvnor 5.2 (which doesn't have weld+seam dependancies) deployment on Websphere As7. This time, I was able to

Re: [rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-07-20 Thread Ravikiran
Hi, Still no resolotion found. Whatever the tweaking i do, getting the same error...no change at all. To be more precise, My Websphere7 server was started successfully, but i get the server 500 error dialog resulting to below same error. [20/07/12 20:12:02:063 SGT] 008d SystemOut O ERROR

Re: [rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-07-19 Thread Ravikiran
Hi Joffrey, I have downloaded guvnor-5.4.0.Final-tomcat-6.0.war and deployed into Websphere AS7. Still i am getting the same exception. [19/07/12 17:23:36:125 SGT] 0025 webappI com.ibm.ws.webcontainer.webapp.WebApp log SRVE0296E:

Re: [rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-07-19 Thread Ravikiran
Hi Joffrey/Gurus, Anybody can suggest how to resolve the below error. Before i get the above exception, i found that there was another exception during the server startup. Which is below, [19/07/12 17:33:49:360 SGT] 0025 webappE com.ibm.ws.webcontainer.webapp.WebApp

Re: [rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-07-18 Thread Ravikiran
Hi Geoffrey, I couldn't find any weld related jar files available in guvnor-5.3.0.Final-tomcat-6.0.war. Also i have tried wild card search like weld*, but i couldn't find it. Could you please check whether the below line from the error message might give you some idea, Service method 'public

Re: [rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-07-18 Thread Ravikiran
Hi Geoffrey Other Gurus To throw more light on the above error message, please find below the getCurrentUser() method snippet that i have taken from the source of SecurityServiceServlet.java. Please tell me in what cases the securityService comes as null for causing this exception. public

Re: [rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-07-18 Thread Ravikiran
Hi Joffrey, I have downloaded the distribution shows Drools-guvnor 5.3.0, but when i see the Guvnor version from web UI (Adminstration--About) it shows the version as SNAPSOT 5.4.0. Now i too suspect that my Guvnor is of version 5.4.0 only, that's why all those errors were coming. I feel that

[rules-users] Drools-Guvnor integration with Webshere- Exception during startup...Please help!!!

2012-07-17 Thread Ravikiran
Hi, I am deploying drools-guvnor.war (version 5.3.0) into Websphere AS 7. The war file was working perfectly fine in JBoss AS 7. But i am getting below exception when launching the guvnor from browser... [18/07/12 12:09:02:101 SGT] 0032 SystemOut O ERROR 18-07 12:09:02,101

[rules-users] Drools Guvnor 5.4.0 - Rules integration with database (Oracle)

2012-07-16 Thread Ravikiran
Hi, I working on creating a POC by creating set of web based rules within a package using drools Guvnor and accessing them from my Java client. Currently, my drools uses Jackrabbit repository (2 foldersrepository and scripts and 1 file repository.xml) which is created within bin folder of my JBoss

[rules-users] Drools Guvnor-Decison Tables - Rule is not being fired!!! Please help

2012-07-16 Thread Ravikiran
Hi, I'm using default Guvnor package mortgages decision table as example for my POC. Below is the rules from the decision table. No rule is being fired from my JAVA client out of 3 rules given below. //from row number: 1 rule Row 3 Pricing loans dialect mvel when

Re: [rules-users] Drools Guvnor-Decison Tables - Rule is not being fired!!! Please help

2012-07-16 Thread Ravikiran kakarla
when there are no insert() calls except the two in your Java code? -W On 16/07/2012, Ravikiran ravikiran.kaka...@gmail.com wrote: Hi, I'm using default Guvnor package mortgages decision table as example for my POC. Below is the rules from the decision table. No rule is being fired from

Re: [rules-users] Drools Guvnor-Decison Tables - Rule is not being fired!!! Please help

2012-07-16 Thread Ravikiran
Thanks Esteban. It works fine after inserting the Fact instead of FactType...!!! But still i have one basic question in mind...if there are many rules defined in my package, How would i know that which is rule has got fired when i call fireAllRules() method whithout passing AgendaFilter. Also i

Re: [rules-users] Drools Guvnor 5.4.0 - Rules integration with database (Oracle)

2012-07-16 Thread Ravikiran
Hi Drools gurus, Further to my earlier post in the same thread, 1) please clarify whether the respository folder still exists after the database integration? 2) If the repository folder still exists even after database integration, then there is something wrong with my process. 3) After the

Re: [rules-users] Drools Guvnor-Decison Tables - Rule is not being fired!!! Please help

2012-07-16 Thread Ravikiran
Hi Davide, I can write the listener to know what is happening underneath that will be printed in a log, but when it comes to my biz. scenario i should have a simple way that i can derive it from my java code. Because i have multiple biz.flows based on certain biz.policies...those policies have to

[rules-users] How to Access Rule RHS (THEN Part) from JAVA?

2012-07-13 Thread Ravikiran
Hi Drools Gurus, One more newbie here for Drools Guvnor. I have chosen guvnor-distribution-5.3.0.Final (I could see version as SNAPSHOT 5.4.0 within Guvnor--Administration--About) to start with. After reading through the complete user manual, I was able to setup and deploy Drools Guvnor war in

[rules-users] Drools Guvnor - question on mortgages package in guvnor-distribution-5.4.0.Final

2012-07-13 Thread Ravikiran
Hi, I have deployed drools-guvnor.war version 5.4.0 in Jboss AS 7. When i launch the guvnor for the first time, it also loads the defalult packages, one package is called mortgages is also loaded. Mortgages package contans totally 7 diff. rules, but when i go see the model of the mortgages i do

Re: [rules-users] How to Access Rule RHS (THEN Part) from JAVA?

2012-07-13 Thread Ravikiran
Thanks Lane. Since i am new to this Area, could you please help me with some sample code how to query the objects that are involved in a rule. Please consider above my example, on successful execution of Rule 1, i want to access the value of Percent from Class LoanFormula. Thanks a lot. -- View

Re: [rules-users] Drools Guvnor - question on mortgages package in guvnor-distribution-5.4.0.Final

2012-07-13 Thread Ravikiran
It's very clear now. Thanks a lot Mike. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-question-on-mortgages-package-in-guvnor-distribution-5-4-0-Final-tp4018653p4018658.html Sent from the Drools: User forum mailing list archive at Nabble.com.