[rules-users] BRL rule parsing

2013-02-05 Thread arup
Hi, is there any API using which we can create BRL in XML format and POST using REST API and vice versa, i.e an API that can parse the BRL and show it without any XML tags. -- View this message in context: http://drools.46999.n3.nabble.com/BRL-rule-parsing-tp4022060.html Sent from the Drools:

Re: [rules-users] Guvnor rule validation using Java Code?

2013-01-02 Thread arup
Thanks for your replies. Here is my requirement. We are developing an application where we can interact with Guvnor using REST API. We will use this application only to manage rules not the Guvnor. Now is there any way to validate the rules or validate the whole package as we do in Guvnor while b

[rules-users] Guvnor rule validation using Java Code?

2012-12-24 Thread arup
Hi All, I have a requirement where I need to validate my rules mainly drls from java code without using guvnor interface. Is there any way to do that? Any king of validation in Package level is also acceptable. Thanks in Advance. -- View this message in context: http://drools.46999.n3.nabbl

[rules-users] Customizing Drools Guvnor

2012-07-11 Thread arup
Hi all, Can u tell me how can i add a fresh rule using Rest api to the guvnor??? -- View this message in context: http://drools.46999.n3.nabble.com/Customizing-Drools-Guvnor-tp4018616.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

[rules-users] Data type and Date format vlidation

2012-04-30 Thread arup
Hi all, i have got some different situation. i need to validate data types in my drools rule. like need to find out that if a variable is integer or not etc. also need to check the date formats. like if the date format is like "dd-mm-yy" or "dd-mm-". Thanks in advance :) -- View this message

[rules-users] Guvnor 5.3 to Guvnor 5.2

2012-04-26 Thread arup
Hi all, I just wanted to know that what are the major changes made in Guvnor 5.3 that were not present in Guvnor 5.2. I need to move all my drls from Guvnor 5.3 to 5.2. Is there any chance of getting any versioning problem? also what is the best way to move all the drls from Guvnor 5.3 to 5.2?? th

Re: [rules-users] Unable to view drls in guvnor

2012-04-18 Thread arup
Thanks manstis... :) Yesuploaded the POJO jars. then in RAD --> R-Click--> guvnor--> add. its getting added to guvnor without any problems.even i can view then in url for package source. but not getting reflected in technical asset. also the same guvnor war worked perfectly in local but ge

[rules-users] Unable to view drls in guvnor

2012-04-17 Thread arup
Hi all, I have my guvnor deployed in WAS. Now i added the POJO model and drls from RAD(rational app developer) to my guvnor. I'm able to fire the rules from guvnor by using url for package source. But the problem is i'm not able to view any rules inside technical rule asset. but if i open the url

Re: [rules-users] Need drl help for arraylist

2012-04-04 Thread arup
no did not tried that as i was not getting contains option by default. Thanks a lot laune. its working now. :) -- View this message in context: http://drools.46999.n3.nabble.com/Need-drl-help-for-arraylist-tp3883683p3883736.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Need drl help for arraylist

2012-04-04 Thread arup
Hi all, i need to write a rule to compare a String with a list of Strings (say String[] nameList). Person() { String name; } Values() { String[] nameList = new String[]{ "abc", "abcdef" } } how can i write the rule?? when name of the person is same as any names in the nameList then do .

Re: [rules-users] drl problem

2012-04-02 Thread arup
ok...then you are saying that this code should work on RAD perfectly...sorry i'm asking so silly questions because i dont have the required files to run the code at present...so cant check it myself -- View this message in context: http://drools.46999.n3.nabble.com/drl-problem-tp3877814p38780

Re: [rules-users] drl problem

2012-04-02 Thread arup
Thanks againg for replying so quickly. 1. view source: #created on: Mar 27, 2012 2. | 3. | #list any import classes here. 4. | 5. | import com.gpm.domain.*; 6. | import com.gpm.rules.vo.*; 7. | 8. | 9. | #declare any global variables here 10. | global DataDifferenceVO dataDiffer

Re: [rules-users] drl problem

2012-04-02 Thread arup
thanks manstis. i tried as u said. but when i'm adding this rule to guvnor and trying to validate it im getting this errors: Unable to create reader for 'phoneTC .tc':[Error: no such identifier: phoneTC ] [Near : {... phoneTC .tc }] ^[Line: 1, Column: 1] [DataDifference] Unable

[rules-users] drl problem

2012-04-02 Thread arup
Hi, i'm having some problems(more like i'm just getting confused) while creating a rule for my project. I have 2 classes say Phone() and PhoneTC() like below: Phone() { String number; } PhoneTC() { String tc; } also PhoneTC() is inside the Phone() class. like: Phone()--String number

Re: [rules-users] drl execution problem

2012-04-02 Thread arup
Thanks manstis. it was really helpful -- View this message in context: http://drools.46999.n3.nabble.com/drl-execution-problem-tp3866929p3877788.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing li

Re: [rules-users] drl execution problem

2012-03-29 Thread arup
Hi laune Thanks for the solution. but i am confused a bit with point (b). how to add a constraint asserting an ordering between Persons in drl. sorry it may seem silly Qs but i'm new to drools and really want to know that. Can u explain in detail. Thanks again for the solution. -- View this mess

Re: [rules-users] drl execution problem

2012-03-29 Thread arup
Thanks manstis. Yes i think u r right. but how can i get it working for only once??? -- View this message in context: http://drools.46999.n3.nabble.com/drl-execution-problem-tp3866929p3866995.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

[rules-users] drl execution problem

2012-03-29 Thread arup
i have one drl like below: rule "FirstNameDifference" no-loop true lock-on-active true when person1: Person( $firstName1: firstName ) person2: Person( firstName != $firstName1 ) then dataDifferenceVO.getDataDiffArray(

[rules-users] Guvnor Problem

2012-03-01 Thread arup
Hi all, I have deployed guvnor 5.1 in WAS 6.1. i get no errors while deploying. the guvnor link is working fine. but after uploading any pojo model when i'm trying to validate it, its saying that it cannot find the Class inside the package. but if i download the model from the guvnor, i'm getting

Re: [rules-users] Deployment Problem

2012-03-01 Thread arup
Solved the above problems. but getting something new. The errors are as follow: Could not instantiate Seam component: repositoryConfiguration org.apache.xalan.processor.TransformerFactoryImpl incompatible with javax.xml.transform.TransformerFactory java.lang.VerifyError: class loading constraint

Re: [rules-users] Deployment Problem

2012-02-29 Thread arup
Thanks for ur reply. I checked the lib of WAS its not having any such jar files. However i then removed the JBoss-seam.jar from the WAS lib and only included it in the WAR. Now, after deployment i'm getting new exceptions like below: The statement was aborted because it would have caused a duplica

[rules-users] Deployment Problem

2012-02-29 Thread arup
Hi all, while deploying my guvnor to WAS 6.1 in getting the following error: two packages with the same @Namespace: http://jboss.com/products/seam/security Can u please help me to solve this. my components.xml is as follow: http://jboss.com/products/seam/components"; xmlns:core="ht

[rules-users] Problem while running the project

2012-02-22 Thread arup
Hi all, when i deployed my EAR in the websphere application server it's deployed successfully without any errors. But when i'm trying to run my project by passing a request xml i'm getting some errors as shown below. I'm using drools 5.1 and WAS 6.1. java.lang.UnsupportedClassVersionError: (com/i

Re: [rules-users] Unable to save or validate facts in Guvnor

2012-02-08 Thread arup
Guvnor 5.1 and it's running on Websphere application server 6.1. The error is coming when i'm trying to save or validate anything. I tried to export thr repository and got this in the console: [2/9/12 11:58:02:401 IST] 0023 SystemOut O DEBUG 09-02 11:58:02,401 (RepositoryBackupServlet

[rules-users] Unable to save or validate facts in Guvnor

2012-02-08 Thread arup
Hi, I can't save or validate any facts or pojo models in my guvnor. The guvnor console is coming and i can browse through it but when i'm trying to save or validate any items i'm getting some errors as below. Is there any repository related problem??... how can i solve it?? 039 SystemEr

[rules-users] Unable to start guvnor with no initial repository

2012-01-31 Thread arup
Hi all, I'm running my Guvnor 5.2 on WAS 6.1. But after deploying the war file when i'm trying to hit the guvnor link i'm getting the following errors: [2/1/12 12:41:04:483 IST] 0028 SystemOut O ERROR 01-02 12:41:04,483 (LoggingHelper.java:error:69)Service method 'public abstract java

Re: [rules-users] Guvnor deployment problem on websphere 6.1

2012-01-24 Thread arup
Getting this errors when I'm trying to hit the link "http://localhost:9080/drools-guvnor/index.jsp"; How to solve this??? Deployed guvnor 5.2 on WAS 6.1. [1/24/12 16:15:00:744 IST] 0025 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\Pro

[rules-users] Which version of Guvnor is compatible with Websphere Application Server 6.1 ???

2012-01-23 Thread arup
I can't able deploy guvnor 5.1 in WAS 6.1. getting lots of error. can u please let me khon which version of guvnor is most compatible with WAS 6.1??? Erros: [1/23/12 18:51:26:015 IST] 0022 WebAppE [Servlet Error]-[/index.jsp]: java.lang.NullPointerException at org.jboss.seam

[rules-users] Guvnor deployment problem on websphere 6.1

2012-01-19 Thread arup
I have modified the pom.xml as mentioned in "https://community.jboss.org/wiki/DeployingGuvnor5OnWebSphere"; . also created the custom propertied in WAS. but after installing the guvnor 5.1 war when i'm trying to get the login page hitting the url i'm just getting a blank page. I'm new to drools and

Re: [rules-users] Drools Guvnor 5.1 in WAS 6.1 server

2012-01-18 Thread arup
Hi, I'm not able to open this link to adjust guvnor settings. https://zuxho14:9045/ibm/help/index.jsp?topic=/com.ibm.ws.console.appmanagement/urun_rapp_classload.html Looks like the site is not available now. Please share some alternative link. or if u have the informations shared in this link p

Re: [rules-users] Drools Guvnor 5.1 in WAS 6.1 server

2012-01-18 Thread arup
Thanks a lot Jervis Liu. I followed the link provided by u. But one of the link(to adjust the Guvnor settings) is not working. please provide me some info about this. I need to complete this task by 2day. anyone having experiance in installing Guvnor in WAS 6.1 please help. Thanks in advance -- V

[rules-users] Drools Guvnor 5.1 in WAS 6.1 server

2012-01-18 Thread arup
Hi all, I'm new to Drools and facing some difficulties to run Guvnor in websphere 6.1 server. I'm not finding any specific doc or guideline that i can follow to deploy Guvnor 5.1 in WAS 6.1 server. Can you please guide me step by step to deploy guvnor in WAS. It's very urgent and I need to do it a