Re: [rules-users] How to read XML using XMLPackageReader-Drools-compiler.5.2.1.final?
Though the post is very old, it may help someone to know the solution public static void XMLtoDRL() { try { PackageBuilderConfiguration conf = new PackageBuilderConfiguration(); final XmlPackageReader xmlPackageReader = new XmlPackageReader( conf.getSemanticModules()); xmlPackageReader.read(new InputStreamReader(XMLtoDRLConverter.class .getResourceAsStream(Sample.xml))); final PackageDescr pkg = xmlPackageReader.getPackageDescr(); final DrlDumper drlDumper = new DrlDumper(); final String drlResult = drlDumper.dump(pkg); System.out.println(drlResult); } catch (SAXException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } -- View this message in context: http://drools.46999.n3.nabble.com/How-to-read-XML-using-XMLPackageReader-Drools-compiler-5-2-1-final-tp3515778p4030481.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
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] Seting up test scenarios for Excel Decision Table with a map of data coming in
Hi Laune, When you say /If you can insert data for the declared incomingData and make a rule fire for each fact, the consequence could create the map from the fields of the incomingData fact and insert it/ I don't understand, how will the map be created automatically. Can you give an example or sscce http://sscce.org - AA -- View this message in context: http://drools.46999.n3.nabble.com/Seting-up-test-scenarios-for-Excel-Decision-Table-with-a-map-of-data-coming-in-tp4027995p4028005.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] Seting up test scenarios for Excel Decision Table with a map of data coming in
ahh.. now I get it. You just wanted the map to be created and inserted through the rules itself. :) -- View this message in context: http://drools.46999.n3.nabble.com/Seting-up-test-scenarios-for-Excel-Decision-Table-with-a-map-of-data-coming-in-tp4027995p4028007.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] infinite loop rule execution
You can either break down the big hash maps and use different classes instead of it or You can change your conditions, so as whenever the hashMap changes, only the rule that is to be fired gets fired. -AA -- View this message in context: http://drools.46999.n3.nabble.com/infinite-loop-rule-execution-tp4027980p4027996.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] Seting up test scenarios for Excel Decision Table with a map of data coming in
/We would like to create a test scenario for each decision table (job type) which have varying number of condition columns, which contain between 5 to 25 different conditions./ This is pretty easy stuff, if you are using guvnor, you can directly create a test scenario inside the package where the model and rules are present In case you are not using guvnor, you will have to write JUnit test cases /What we are having trouble determining is how to pass a map of data to the test scenario via a declarative model/ You can directly insert a map object to your session -AA -- View this message in context: http://drools.46999.n3.nabble.com/Seting-up-test-scenarios-for-Excel-Decision-Table-with-a-map-of-data-coming-in-tp4027995p4027997.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-examples zip file location?
you can download the examples from https://github.com/droolsjbpm/drools/tree/master/drools-examples https://github.com/droolsjbpm/drools/tree/master/drools-examples or you can find them inside examples folder of drools-distribution-6.0.1.Final http://download.jboss.org/drools/release/6.0.1.Final/drools-distribution-6.0.1.Final.zip http://download.jboss.org/drools/release/6.0.1.Final/drools-distribution-6.0.1.Final.zip -- View this message in context: http://drools.46999.n3.nabble.com/drools-examples-zip-file-location-tp4027976p4027998.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 both Drop Down(Enumeration) and Text Field for a field in guvnor
Hi mike, I am using advanced enum concepts, and my drop down values from the database for a field lets say location. When i use simple rule, it works fine. But, lets suppose I have a rule in which I have to find if a particular string is inside location. LOCATION like %USA%; So inside guvnor i can write LOCATION matches .*USA.* But, while using enumerations, I don't get an option to write that. I can just write: LOCATION matches USA which I guess is wrong. Please let me know, if I can achieve what I want through guvnor or is it out of the scope of the application. Furthermore, if this functionality doesn't exists, I guess it would be a great idea to allow user to decide if he wants to select data from list or type something, because one rule may want the former and the second rule the latter. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656p4027666.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 both Drop Down(Enumeration) and Text Field for a field in guvnor
My data is getting loaded from Database, so I may not be able to alter the enum. I guess this is the limited scope of the tool. Anyways, this is a good functionality that can be added to the tool :) Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656p4027668.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 both Drop Down(Enumeration) and Text Field for a field in guvnor
I want the rules to be written by the business users, not by the developers. In my scenario, the developers have no idea about the conditions that the business user may write. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656p4027671.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 both Drop Down(Enumeration) and Text Field for a field in guvnor
Hi Steve, I don't see the point how this would resolve my issue ? Suppose I have name and i have few data in database as John, Frank, Joseph, John Mc Guin. Now, to make work easy for business users and to be sure they don't make a mistake, I want to provide these data as enums in guvnor. So, the user can check for data like : name equals John etc. But, the user has a scenario where he wants to check if John is present in a name or not. So the condition should be name equals .*John.* But, coz I am using enum, no .* functionality is available. The only scenario which I can see is (dont know whether it wud work or not) setName(String name) { this.name = .* + name + .*; } But how do I make things easy for business users, I can't just overpopulate the list. Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656p4027673.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] Using both Drop Down(Enumeration) and Text Field for a field in guvnor
Heya, Is it possible to use both drop downs and text field for the same field in guvnor. For what I see now, is once I have made an enumeration for a field of a fact, I am bound to choose values from the drop down, which makes it difficult to use functionality of matches and using *. in guvnor. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656.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 Advanced Enumeration Concepts in guvnor
Hi Stephen, One quick question, what is the best approach to add these java classes into guvnor. I am able to work it out by adding the class files into the WEB-INF/classes folder. Is there any other easy way out, because I will be adding a lot of files. The properties file, if used, should also be placed inside the war ? It that practically correct ? N.B. I have practically no idea how Maven Shade plugin works. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-Advanced-Enumeration-Concepts-in-guvnor-tp4027563p4027601.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 Advanced Enumeration Concepts in guvnor
Hi Mantis, Can't I establish a database connection for enumerations and authentication in guvnor, without making any code change in the war ? Because, code change always makes the application less stable and is less preferred. So, it would be great if these functionality are provided before hand by drools. :) Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-Advanced-Enumeration-Concepts-in-guvnor-tp4027563p4027605.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] Using Advanced Enumeration Concepts in guvnor
The following sentences are taking directly from the user guide: / 'Person.age' : (new com.yourco.DataHelper()).getListOfAges() This assumes you have a class called DataHelper which has a method getListOfAges() which returns a List of strings (and is on the classpath). You can of course mix these dynamic enumerations with fixed lists. You could for example load from a database using JDBC. The data enumerations are loaded the first time you use the guided editor in a session./ Now, I would like to know how guvnor would connect to the database ? Inside the getListOfAges(), I want to hit the database and get the list of ages, put it inside a MapString, Listlt;String. The example that is shown in the user guide is again hard coding the values. From the user guide : /public class SampleDataSource2 { public MapString, ListString loadData() { Map data = new HashMap(); List d = new ArrayList(); d.add(value1); d.add(value2); data.put(Fact.field, d); return data; } }/ AFAIK, the jar of this class SampleDataSource2 will be uploaded to guvnor, so should I keep the connection details to database inside the same class ? If yes, 1. How will guvnor be able to directly connect to the database ? 2. Should I add the jars for database connectivity as well ? 3. Is keeping the connection details inside the jar, not a security threat ? I am not sure if I understand completely how this enumeration works, please feel free to guide me, if I am wrong somewhere. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-Advanced-Enumeration-Concepts-in-guvnor-tp4027563.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 Advanced Enumeration Concepts in guvnor
Why doesn't this approach work in 5.5 ? -- View this message in context: http://drools.46999.n3.nabble.com/Using-Advanced-Enumeration-Concepts-in-guvnor-tp4027563p4027567.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 migration
Have you checked that the jars have been downloaded in your local repository ? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-drools-migration-tp4024691p4024707.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 match a string in LHS ?
AFAIK, you would like to match the string ok with someother string. I don't see any other string here. Can you be a bit more clear with your question.. Abhi -- View this message in context: http://drools.46999.n3.nabble.com/How-to-match-a-string-in-LHS-tp4024157p4024158.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] Url Resource Guvnor connection + ProtocolException
Is there a way to shut down the basic authetiaction that guvnor asks for in 5.5.0 Final. I know this was not mandatory prior to 5.4.0. Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Url-Resource-Guvnor-connection-ProtocolException-tp4024145p4024159.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] Guvnor-5.5
hey steve, Yes the 5.3 works perfectly with was 7, just a few warning, but works fine. 5.3 has problem running on was 8. 5.5 has problem running on all WAS servers. never tried 6. Regards, Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-5-5-tp4022096p4024160.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] Error during fetching rules via REST API
Hi, I am trying to access guvnor(on tomcat) through my application(on websphere) through a rest API call using HttpURLConnection, but when i use connection.connect(); it throws me the following error. Any idea about this error or which jar might I be missing, java.lang.NoClassDefFoundError: org.drools.util.ServiceRegistryImpl (initialization failure) at java.lang.J9VMInternals.initialize(J9VMInternals.java:145) at org.drools.builder.KnowledgeBuilderFactory.loadServiceFactory(KnowledgeBuilderFactory.java:130) at org.drools.builder.KnowledgeBuilderFactory.getKnowledgeBuilderServiceFactory(KnowledgeBuilderFactory.java:124) at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46) Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Error-during-fetching-rules-via-REST-API-tp4024048.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] Reading a Guvnor PKG from drools API
Hey, I was trying to read a package(ResourceType.PKG), which i downloaded from Guvnor, using KnowledgeBuilder, but I consistently get the following error while trying to access the file. Here's my code and the error, **Code** KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add( ResourceFactory.newClassPathResource( Goal Creation Charges.pkg, getClass() ), ResourceType.PKG ); if ( kbuilder.hasErrors() ) { System.err.println( kbuilder.getErrors().toString() ); } kbase = KnowledgeBaseFactory.newKnowledgeBase(); kbase.addKnowledgePackages( kbuilder.getKnowledgePackages() ); **Error** java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header: 7061636B at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:724) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:40) at com.infosys.fps.drools.adapter.DroolsAdapter.readKnowledgeBase(DroolsAdapter.java:80) at com.infosys.fps.drools.adapter.DroolsAdapter.main(DroolsAdapter.java:20) Caused by: java.io.StreamCorruptedException: invalid stream header: 7061636B at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.init(ObjectInputStream.java:280) at org.drools.common.DroolsObjectInputStream.init(DroolsObjectInputStream.java:68) at org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:205) at org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:189) at org.drools.compiler.PackageBuilder.addPackageFromInputStream(PackageBuilder.java:819) at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:711) ... 4 more I have tried using both binary and source from guvnor, but neither of them works. I get the same error. Is there something m doing wrong ? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Reading-a-Guvnor-PKG-from-drools-API-tp4023921.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] Reading a Guvnor PKG from drools API
Yes, all the jars are just fine, the above code works perfectly if I just replace the ResourceType.PKG to ResoureType.DRL, but dunno why PKG doesnt works. Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Reading-a-Guvnor-PKG-from-drools-API-tp4023921p4023924.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] Reading a Guvnor PKG from drools API
I got the problem, if I Download the source of a package then it returns the DRL file of the package and hence the resource type is PKG. While if i download the binary form then the file contains the actual package and hence the .PKG works here. Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Reading-a-Guvnor-PKG-from-drools-API-tp4023921p4023934.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] error while deploying drools guvnor 5.5 on was8
Were you able to run it successfully ? -- View this message in context: http://drools.46999.n3.nabble.com/error-while-deploying-drools-guvnor-5-5-on-was8-tp4023627p4023894.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] Deployment on websphere
Can you please tell me if I am installing guvnor-war through administrative console, then what I am supposed to write in JNDI name. I am not using database to store my rules/repostory, they are stored by default as objects. http://drools.46999.n3.nabble.com/file/n4023890/Untitled.jpg -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800p4023890.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] Jboss Business Rules Management System (BRMS)
May I know which version of drools is bundled in Jboss Business Rules Management System (BRMS) ? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-Business-Rules-Management-System-BRMS-tp4023870.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] Jboss Business Rules Management System (BRMS)
The latest one is 5.3.1, I guess. You can tell me about 5.3.0/5.3.1. Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-Business-Rules-Management-System-BRMS-tp4023870p4023874.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] Jboss Business Rules Management System (BRMS)
I am sorry I wanted to know about guvnor version, which version of guvnor do i get ? -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-Business-Rules-Management-System-BRMS-tp4023870p4023875.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] Using Java Rule Engine JSR-94
Hey, I read about JSR-94 and found it quite useful, so was trying to do a POC on its usage. These are the steps which i followed. 1. Made a new java application. 2. Added the JSR-94 api jars in its build path. 3. Made a rule as myRuleFile.drl 4. Wrote a RuleAdapter class as shown in drools expert document Chapter 5. The Java Rule Engine API (JSR94). But when i tried to run the piece of code, it kept giving me errors related to Class missing related to drools. Are are the drools jar required to run this example,if yes, then what is the avantage of using jsr-94 api ? If any specific jars, can you please list them out? If I am doing anything wrong, then, can you please point me to the correct direction. Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Using-Java-Rule-Engine-JSR-94-tp4023852.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 Java Rule Engine JSR-94
you mean to say, if i switch the api, I ll have to rewrite all my DRL files/ the rules i have in guvnor ? Abhi -- View this message in context: http://drools.46999.n3.nabble.com/Using-Java-Rule-Engine-JSR-94-tp4023852p4023859.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] Deployment on websphere
I get that, ll try to resolve dependencies myself. Thanks for the help though. -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800p4023809.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] Problem migrating from newClassPathResource to newUrlResource
No help. It throws me the same exception SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:796) at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1103) at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:844) at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:684) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:207) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:186) at com.infosys.fps.drools.adapter.DroolsAdapter.readKnowledgeBase(DroolsAdapter.java:61) at com.infosys.fps.drools.adapter.DroolsAdapter.main(DroolsAdapter.java:17) Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://bbsrprd02:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/Goal%20Creation%20Charges/LATEST at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.drools.io.impl.UrlResource.grabStream(UrlResource.java:210) at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:146) at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:759) ... 7 more -- View this message in context: http://drools.46999.n3.nabble.com/Problem-migrating-from-newClassPathResource-to-newUrlResource-tp4023490p4023818.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] Unexpected, Unclear, Unperiodic error
I have a piece of code which builds the kbase, when i run it from my local system as a java application with guvnor deployed, the code works fine. When i try and access from the admin module, it calls the same method readKnowledgeBase(), it works. But, when i call the same piece of code (the same method readKnowledgeBase()) from user module, no extra parameter, the same changeset is being used, it throws the following exception. java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:796) at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1103) at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:844) at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:684) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:207) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:186) at com.infosys.fps.drools.adapter.DroolsAdapter.readKnowledgeBase(DroolsAdapter.java:58) at com.infosys.fps.feecommission.helper.GoalFeeCommissionHelper.calculateFee(GoalFeeCommissionHelper.java:189) at com.infosys.fps.feecommission.helper.GoalFeeCommissionHelper.processFee(GoalFeeCommissionHelper.java:167) at com.infosys.fps.feecommission.helper.GoalFeeCommissionHelper.processFeeCalculation(GoalFeeCommissionHelper.java:126) at com.infosys.fps.feecommission.helper.GoalFeeCommissionHelper.chargeGoalCreation(GoalFeeCommissionHelper.java:77) at com.infosys.fps.feecommission.helper.GoalFeeCommissionHelper.chargeFee(GoalFeeCommissionHelper.java:55) at com.infosys.fps.client.goal.service.EduGoalNeedsService.saveEducationNeeds(EduGoalNeedsService.java:932) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy57.saveEducationNeeds(Unknown Source) at com.infosys.fps.client.goal.delegate.EducationGoalDelegate.saveEducationNeeds(EducationGoalDelegate.java:217) at com.infosys.fps.client.goal.controller.EduGoalNeedsController.saveAfterGoalId(EduGoalNeedsController.java:865) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at
Re: [rules-users] Problem migrating from newClassPathResource to newUrlResource
Hey David, I have already done that, look at the code that m using. For your reference: KnowledgeAgentConfiguration kaconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration(); kaconf.setProperty( drools.agent.scanDirectories, false ); KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( test agent, kaconf ); UrlResource urlResource = (UrlResource) ResourceFactory.newUrlResource(http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/Goal%20Creation%20Charges/LATEST/ChangeSet.xml;); urlResource.setResourceType(ResourceType.PKG); // used ResourceType.CHANGE_SET after mark's reply urlResource.setBasicAuthentication(enabled); urlResource.setUsername(admin); urlResource.setPassword(admin); kagent.applyChangeSet(urlResource); kbase=kagent.getKnowledgeBase(); -- View this message in context: http://drools.46999.n3.nabble.com/Problem-migrating-from-newClassPathResource-to-newUrlResource-tp4023490p4023821.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] Deployment on websphere
Has any1 sucessfully deployed Guvnor 5.4.x or later on webspehere 7 or later. Please reply. Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800.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] Deployment on websphere
Did you make any changes in the war ? Coz I am having a 5.5.1- Snapshot war, and no matter what i do, I doesnt get deploy on was 7. So, i have asked to install was 8.0. May I know if I need to make any changes to the tomcat-6.0 war, provided by guvnor before deploying ? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800p4023805.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] Simple Query about deployment of Guvnor on Websphere
My trying to deploy guvnor 5.5.1 snapshot on Websphere 7.0, websphere on Resource environment entry references asks me to enter a Target Resource JNDI Name . Now, coz I am not using any DB for my guvnor, what should I enter here ? I apologise, if my question is too novice. Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Simple-Query-about-deployment-of-Guvnor-on-Websphere-tp4023775.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] Deploying guvnor 5.5.1 Snapshot on websphere AS 7.0
While Deploying guvnor 5.5.1 -Snapshot on websphere 7.0 i am getting the following error [5/9/13 12:11:18:521 IST] 0007 AdminHelper A ADMN1009I: An attempt is made to start the drools-guvnorEAR application. [5/9/13 12:11:18:568 IST] 0007 CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=drools-guvnorEAR in BLA WebSphere:blaname=drools-guvnorEAR. [5/9/13 12:11:51:421 IST] 0007 ApplicationMg A WSVR0200I: Starting application: drools-guvnorEAR [5/9/13 12:11:51:421 IST] 0007 ApplicationMg A WSVR0204I: Application: drools-guvnorEAR Application build level: Unknown [5/9/13 12:11:51:811 IST] 0007 webappI com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: JBoss Guvnor for Drools. [5/9/13 12:11:52:076 IST] 0007 InjectionProc E CWNEN0044E: A resource reference binding could not be found for the BeanManager resource reference, defined for the JBoss Guvnor for Drools component. [5/9/13 12:11:53:074 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.52.5753476655115778206616.txt com.ibm.ws.injectionengine.InjectionEngineImpl.processBindings 480 [5/9/13 12:11:53:121 IST] 0007 InjectionEngi E CWNEN0011E: The injection engine failed to process bindings for the metadata. [5/9/13 12:11:53:215 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.53.1839095875068220164390.txt com.ibm.ws.util.ComponentNameSpaceHelper.populateJavaNameSpace 640 [5/9/13 12:11:53:215 IST] 0007 ComponentName E CNTR0125E: Unable to process injection information for class: [class org.drools.guvnor.server.repository.SafeWeldListener]. [5/9/13 12:11:53:386 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.53.2612645496587947147575.txt com.ibm.ws.webcontainer.webapp.WebGroup 131 [5/9/13 12:11:53:386 IST] 0007 webappE com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0015E: Failure to initialize Web application JBoss Guvnor for Drools [5/9/13 12:11:53:558 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.53.3864474793422569466133.txt com.ibm.ws.webcontainer.WebContainer 736 [5/9/13 12:11:53:651 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.53.5581434492717138337900.txt com.ibm.ws.runtime.component.WebContainerImpl.install 124 [5/9/13 12:11:53:683 IST] 0007 DeployedAppli W WSVR0206E: Module, drools-guvnor.war, of application, drools-guvnorEAR.ear/deployments/drools-guvnorEAR, failed to start [5/9/13 12:11:53:683 IST] 0007 ApplicationMg W WSVR0101W: An error occurred starting, drools-guvnorEAR [5/9/13 12:11:53:683 IST] 0007 ApplicationMg A WSVR0217I: Stopping application: drools-guvnorEAR [5/9/13 12:11:53:714 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.53.7148569466503349536987.txt com.ibm.ws.wsaddressing.urimap.EndpointMappingListener 1:196:1.8 [5/9/13 12:11:54:010 IST] 0007 ApplicationMg A WSVR0220I: Application stopped: drools-guvnorEAR [5/9/13 12:11:54:322 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.54.0106549968453388597889.txt com.ibm.ws.runtime.component.ApplicationMgrImpl 1449 [5/9/13 12:11:54:322 IST] 0007 CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=drools-guvnorEAR in BLA WebSphere:blaname=drools-guvnorEAR failed to start. [5/9/13 12:11:54:447 IST] 0007 DMAdapter I com.ibm.ws.ffdc.impl.DMAdapter getAnalysisEngine FFDC1009I: Analysis Engine using data base: D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\properties\logbr\ffdc\adv\ffdcdb.xml [5/9/13 12:11:54:556 IST] 0007 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_6f6e6f6e_13.05.09_12.11.54.3535465789859844096183.txt com.ibm.ws.management.AdminServiceImpl.invoke 679 [5/9/13 12:11:54:556
Re: [rules-users] How to write Hibernate query lang(HQL) in .DRL file
Hi, please visit the below link http://magazine.redhat.com/2008/07/11/jboss-drools-meets-hibernate/ Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/How-to-write-Hibernate-query-lang-HQL-in-DRL-file-tp4018571p4023747.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] Use of the binding variable
Hi, Can you please elaborate your query about :=? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Use-of-the-binding-variable-tp4023744p4023748.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] Agenda-group in fact insert time
This thing even happens when we are trying to call a function in the when part. Even though the rule doesnt gets fired, the function is called and the logic inside it gets executed. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Agenda-group-in-fact-insert-time-tp4023749p4023750.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] Deploying guvnor 5.5.1 Snapshot on websphere AS 7.0
Any idea about why this error is occuring : CWNEN0044E: A resource reference binding could not be found for the BeanManager resource reference, defined for the JBoss Guvnor for Drools component. -- View this message in context: http://drools.46999.n3.nabble.com/Deploying-guvnor-5-5-1-Snapshot-on-websphere-AS-7-0-tp4023741p4023771.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] Problem migrating from newClassPathResource to newUrlResource
Taking the question to Top of the list Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Problem-migrating-from-newClassPathResource-to-newUrlResource-tp4023490p4023590.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] Problem migrating from newClassPathResource to newUrlResource
hi, I was recently trying to create a kbase using UrlResource instead of using changeset.xml. So, I wrote the following code : KnowledgeAgentConfiguration kaconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration(); kaconf.setProperty( drools.agent.scanDirectories, false ); KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( test agent, kaconf ); UrlResource urlResource = (UrlResource) ResourceFactory.newUrlResource(http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/Goal%20Creation%20Charges/LATEST/ChangeSet.xml;); urlResource.setResourceType(ResourceType.PKG); urlResource.setBasicAuthentication(enabled); urlResource.setUsername(admin); urlResource.setPassword(admin); kagent.applyChangeSet(urlResource); kbase=kagent.getKnowledgeBase(); But, to my disappointment this code kept giving me the following error : Server returned HTTP response code: 401 for URL: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/Goal%20Creation%20Charges/LATEST The changeset which i was using with the follwing code is attached for reference : kagent.applyChangeSet(ResourceFactor.newClassPathResource(drools/resource/changeset.xml)); changeset.xml http://drools.46999.n3.nabble.com/file/n4023490/changeset.xml Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Problem-migrating-from-newClassPathResource-to-newUrlResource-tp4023490.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 can we import a jar of POJO clases with Guvnor 6.x
hi, is it diff in 6.x, from the earlier versions ? Regards, Abhi -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-How-can-we-import-a-jar-of-POJO-clases-with-Guvnor-6-x-tp4023392p4023394.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] Rule-Id for a Drools Rule
hi mike, Here is a scenario, Lets say I have rules named rule1, rule2 inside guvnor. I am extracting the rule names using REST api, pointing to some url http://../package/packageName/assets. I need the rule names in my application, so I have kept the rule names in my DB. If tomorrow I need to change the rule name of rule1 to xyz, how does my application keep a track of which rule name has been changed out of the two and update the same in my DB. For the time being, I am using the UUID, and its doing the job very well. But, if it becomes obsolete in the future, is there a replacement to it ? Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Rule-Id-for-a-Drools-Rule-tp2914385p4023306.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] Rule-Id for a Drools Rule
is there a way to maintain an ID ? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Rule-Id-for-a-Drools-Rule-tp2914385p4023259.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] Rule-Id for a Drools Rule
I wasn't aware of the fact that people use something else other than nabble. Will keep in mind from next time and put my question more clearly. My question is, I know there is a UUID for everything that is created in guvnor. But, is the UUID, created duration an asset creation, unique, and does the value of UUID change when any change is brought to the package or asset (i have checked with renaming a rule and the value doesnt change). Does the UUID depend on asset name and package ? i.e. if i have two rule in two different packages with same name, then is there any change that their UUID may match ? Will the UUID remain same if i export the package and import it somewhere else ? Basically, i need a Unique Identifier for all my assets in Guvnor and i guess UUID can help me out. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Rule-Id-for-a-Drools-Rule-tp2914385p4023283.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] Error using 5.5.1 built with 5.5.0 Final jars
Thanks steve, your trick helped. I searched through some jars and luckily, found that the problem was because of the drools-core-5.5.1 jar, replacing which made the whole thing worked. Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Error-using-5-5-1-guvnor-built-with-5-5-0-Final-jars-tp4023247p4023284.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] Formula in action column - Guvnor 5.5.1
Is formula not available for action column in 5.5.1 ? Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Formula-in-action-column-Guvnor-5-5-1-tp4023246.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] Error using 5.5.1 built with 5.5.0 Final jars
M getting the following error when i try to connect to guvnor repository, is this because of the jar conflict or the problem is something else ? Caused by: java.io.InvalidClassException: org.drools.rule.constraint.MvelConstraint; local class incompatible: stream classdesc serialVersionUID = 148857042101396396, local class serialVersionUID = 8537626313322861096 at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.ArrayList.readObject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.drools.rule.Pattern.readExternal(Pattern.java:115) at java.io.ObjectInputStream.readExternalData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.ArrayList.readObject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.drools.rule.GroupElement.readExternal(GroupElement.java:63) at java.io.ObjectInputStream.readExternalData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.drools.rule.Rule.readExternal(Rule.java:185) at java.io.ObjectInputStream.readExternalData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.IdentityHashMap.readObject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.drools.rule.MVELDialectRuntimeData.readExternal(MVELDialectRuntimeData.java:90) at java.io.ObjectInputStream.readExternalData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.HashMap.readObject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.drools.rule.DialectRuntimeRegistry.readExternal(DialectRuntimeRegistry.java:58) at
Re: [rules-users] Error using 5.5.1 built with 5.5.0 Final jars
i downloaded the drools-distribution-5.5.1-20130408.101252-201 and applying the jars into the project doesn't help.Shows the same error :( -- View this message in context: http://drools.46999.n3.nabble.com/Error-using-5-5-1-built-with-5-5-0-Final-jars-tp4023247p4023249.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] Error using 5.5.1 built with 5.5.0 Final jars
I downloaded the guvnor-distribution-5.5.1-SNAPSHOT from https://hudson.jboss.org/hudson/job/guvnor-5.5.x/ which mike provided me. I wrote rules into it, build the package and created a snapshot. Now, i want to fire those rules from my project in eclipse,using changeset, i do understand a drools runtime is required to do so. Inorder to achieve this, I added the jars found inside drools-distribution-5.5.1-20130408.101252-201 into my project build path. I dont understand, if I am not supposed to add these jars into the build file of my project, then which jars should I add ? Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Error-using-5-5-1-guvnor-built-with-5-5-0-Final-jars-tp4023247p4023254.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] Fetching Rule Name from Guvnor based on category
Can i do it using the rest api ?? I am not familiar with web services, any help would be great.. I am using something like this : WebClient client = WebClient.create(http://localhost:8080/;); List list = client.path(guvnor-5.4/rest/categories/).accept(application/json).get(List.class); and I get an error as Exception in thread main Status : 401 Headers : WWW-Authenticate : BASIC realm=users Date : Wed, 03 Apr 2013 05:49:21 GMT Content-Length : 0 Set-Cookie : JSESSIONID=E2888C091F1C4DA2520D573FED778E69; Path=/guvnor-5.4 Server : Apache-Coyote/1.1 at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:680) at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:324) at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:421) at GuvnorConnector.main(GuvnorConnector.java:11) -- View this message in context: http://drools.46999.n3.nabble.com/Fetching-Rule-Name-from-Guvnor-based-on-category-tp4023151p4023185.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] guvnor 5.5 problems on Internet Explorer
Hi Mike, I have raised a JIRA for the issue https://issues.jboss.org/browse/GUVNOR-2005 Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/guvnor-5-5-problems-on-Internet-Explorer-tp4022207p4023189.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] Fetching Rule Name from Guvnor based on category
I know i can fetch a KnowledgePackage from GUVNOR with the help of changeset and then find the rule names from them. Is it possible to find the categories and the rules associated with it? Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Fetching-Rule-Name-from-Guvnor-based-on-category-tp4023151.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 an Object inside a map be used in guvnor
Can i use a free form DRL in Web Guided Editor (Decision Table) ? If yes, then how ? -- View this message in context: http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907p4023153.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] Not Able to create a condition BRL fragment
In addition to it business rules using Guided editor are also not getting created. -- View this message in context: http://drools.46999.n3.nabble.com/Not-Able-to-create-a-condition-BRL-fragment-in-Guvnor-5-5-tp4022188p4023154.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] guvnor 5.5 problems on Internet Explorer
Is there a work around for this and this http://drools.46999.n3.nabble.com/Not-Able-to-create-a-condition-BRL-fragment-in-Guvnor-5-5-td4022188.html . ? Does 5.6 snapshot on github have the fixes ? Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/guvnor-5-5-problems-on-Internet-Explorer-tp4022207p4023183.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] Guvnor + Oracle 10g
Actually the error is different .. SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener org.jboss.seam.InstantiationException: Could not instantiate Seam component: repositoryConfiguration at org.jboss.seam.Component.newInstance(Component.java:2170) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143) at org.jboss.seam.init.Initialization.init(Initialization.java:744) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.RuntimeException: exception invoking: create at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:154) at org.jboss.seam.Component.callComponentMethod(Component.java:2275) at org.jboss.seam.Component.callCreateMethod(Component.java:2198) at org.jboss.seam.Component.newInstance(Component.java:2158) ... 29 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) at org.drools.guvnor.server.repository.RepositoryStartupService_$$_javassist_seam_2.create(RepositoryStartupService_$$_javassist_seam_2.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at
Re: [rules-users] Use of contains operator in DRL Guvnor
hi, I am afraid but you will have to use free form DRL for your purpose. For some other workarounds, the experts can guide you better. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Use-of-contains-operator-in-DRL-Guvnor-tp4023036p4023049.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] Use of contains operator in DRL Guvnor
I have never been able to use it. Is it documented somewhere ? -- View this message in context: http://drools.46999.n3.nabble.com/Use-of-contains-operator-in-DRL-Guvnor-tp4023036p4023052.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 an Object inside a map be used in guvnor
Experts...any threads for this ?? -- View this message in context: http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907p4022980.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] Structuring rules in Drools
As long as you are adding your DRL files to the KBUILDER, it doesnt matter to drools, whether the rules are in the same DRL file or different ones. The rules will fire depending on the facts, irrespective of the file they are in. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Structuring-rules-in-Drools-tp4022859p4022981.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 an Object inside a map be used in guvnor
Hi Mike, Thanks for the fast reply, I was aware of the free form DRL(I am using right now in the same way). Still, the template key is a new thing. Seems, it might come handy incase of templates and decision table. Can you please provide some more inputs on its usage with decision table or any pointers on its usage. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907p4022986.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 an Object inside a map be used in guvnor
Hi Aditi, As already said by Stephens in your previous post Collections are Core Java classes, you just have to import them in guvnor to use them. You can import java.util.HashMap in your package edit section and make rules using them. Then, you can insert HashMap(with values), as you insert class objects, in your Ksession and use them. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907p4022987.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] Guvnor + Oracle 10g
hi , I was trying to connect my guvnor to oracle 10g database, but somehow i get the following error when i try to redploy guvnor after pasting the repository.xml. Any idea what this can be ? SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.drools.guvnor.client.rpc.Module[] org.drools.guvnor.client.rpc.ModuleService.listModules()' threw an unexpected exception: org.jboss.weld.exceptions.WeldException: WELD-49 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@dddff at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:619) Caused by: org.jboss.weld.exceptions.WeldException: WELD-49 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@dddff at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:400) at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:174) at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:294) at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79) at org.drools.guvnor.server.repository.ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.newSession(ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.java) at org.drools.guvnor.server.repository.RulesRepositoryManager.getRulesRepository(RulesRepositoryManager.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:137) at org.jboss.weld.bean.ProducerMethod$ProducerMethodProducer.produce(ProducerMethod.java:136) at org.jboss.weld.bean.AbstractProducerBean$AbstractProducer.produce(AbstractProducerBean.java:319) at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:307) at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90) at
Re: [rules-users] Guvnor + Oracle 10g
hi mike, Done that still of no use ! -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Oracle-10g-tp4022991p4023006.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] Importing existing drl into Guvnor
AFAIK, you must be having a requirement of firing specific rules under specific conditions.. How can you have a requirement of building specific rules ?? Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Importing-existing-drl-into-Guvnor-tp4022836p4022958.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] Importing existing drl into Guvnor
please read more about salience and agenda-group. These are used to have control over firing rules, and both the features are available in guvnor :) -- View this message in context: http://drools.46999.n3.nabble.com/Importing-existing-drl-into-Guvnor-tp4022836p4022961.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] Structuring rules in Drools
Hey Sandra, Basically, if your question is can rules interact, I would say yes, but not in the general method like functions do i.e. calling one rule from another. Some basic things that can be done to initiate interaction is : 1. Facts inside one rule can be changed such that the next rule's condition become true and it gets fired. 2. What we can do is we can put rules in different groups i.e. agenda-group and focus can be set from one group to another. 3. We can provide ordering (salience) to rules. This gives us the control over order of execution of the rules. But, though i consider this to be interaction, many of us over here may disagree with. They are also correct because one rule is totally indepent of another, unless we control them with some rule attributes. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Structuring-rules-in-Drools-tp4022859p4022962.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 import drl files to Guvnor
The drools download provides us with a Drools and jBPM tools which is a plugin for integrating your drools and jbpm. You can download it from the drools official site and install it in eclipse as a plugin is installed. It contains the drools runtime, jbpm process creation and guvnor repository connection using webdav(which creates a connection between eclipse and the guvnor war that you have deployed). So using this you can easily create, test your rules in eclipse and then push them in your guvnor repository. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/How-to-import-drl-files-to-Guvnor-tp60797p4022911.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] Embedding Guvnor
What I can guess is, instead of embedding the url inside the frame of your website, you have,by mistake, asked to forward to another url. So whenever somebody types http://127.0.0.1:8080/guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet/assetsUUID=968c9b3c-bc19-40ba-bb38-44435956cceeclient=oryx;, he/she is getting forwarded to some other url. Check your code. -- View this message in context: http://drools.46999.n3.nabble.com/Embedding-Guvnor-tp4022920p4022922.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] Importing existing drl into Guvnor
hi, i dont think guvnor allows you to build specific rules. On the other hand, i don't understand why would you want to build specific rules. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Importing-existing-drl-into-Guvnor-tp4022836p4022955.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 import drl files to Guvnor
Drools provide us with a drools-jbpm integration plugin, in which there is an option of guvnor repository. you can provide the link to your guvnor repository. Once that is done, you can right click on your DRL file - Guvnor - Add - Select the package and you are good to go :) -- View this message in context: http://drools.46999.n3.nabble.com/How-to-import-drl-files-to-Guvnor-tp60797p4022906.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] Can an Object inside a map be used in guvnor
For example, I have a HasMap MapString, Integer map = new HashMapString,Integer(); map.put(amount,12); My DRL is as follows : when $h : HashMap(this[amount]!=null) then //something or when $h : HashMap(this[amount] 10) then //something i just want the object inserted inside the map to be used. I know this can be done usind DRL but can this be achieved in GUVNOR ??? -- View this message in context: http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907.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] Inserting Different Objects Of Same Class !
So i can consider that there is no other way out :( Neways, Thanks for the quick replies ! You guys rock ! -- View this message in context: http://drools.46999.n3.nabble.com/Inserting-Different-Objects-Of-Same-Class-tp4020971p4020976.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] Inserting Different Objects Of Same Class !
Tnxx Laune, i ll have a look to it !! Tnxx Greg, things are more clear now ! -- View this message in context: http://drools.46999.n3.nabble.com/Inserting-Different-Objects-Of-Same-Class-tp4020971p4020993.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] Inserting Different Objects Of Same Class !
hey, I have 3 different ArrayList which i need to populate under different circumstances. I can insert 3 different arraylist(differentiated by there names) but in drools enviroment, how m i suppossed to differentiate them?? Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Inserting-Different-Objects-Of-Same-Class-tp4020971.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] changeset.xml issue while accessing gurvor rule package
in my xml there is no ' after xs:schemaLocation='http://drools.org/drools-5.4/change-set' and before 'http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' its plain 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 http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd; -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-changeset-xml-issue-while-accessing-gurvor-rule-package-tp4020382p4020385.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] firing rules twice in single session on single object
Hey sai, First of all make sure whether you will be having a list of objects containing salesAmount or list of salesAmount. If you are having a list, then your list should also be present in the WHEN condition, such that when the state of your list changes then the rule gets fired !! Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-firing-rules-twice-in-single-session-on-single-object-tp4020220p4020241.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] firing rules twice in single session on single object
hi sai, AFAIK whenever you change/modify anything inside a FACT, the rule using the FACT will get refired again. Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-firing-rules-twice-in-single-session-on-single-object-tp4020220p4020222.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] firing rules twice in single session on single object
If you want the same rule to fire again and again then just modify the fact such that the WHEN condition is satisfied. For example in the HELLO WORLD sample Code : rule Hello World no-loop when m : Message( status == Message.HELLO, myMessage : message ) then System.out.println( myMessage ); m.setMessage( Goodbye cruel world ); m.setStatus( Message.GOODBYE ); update( m ); end You can alter and change the m.setStatus( Message.HELLO) and you can see the rule gets refired again. But this will make the rule to refire itself again and again, making it fall inside an infinite loop, which is logically not acceptable(For this reason no-loop exists). So my opinion would be modify your rule set to make few rules, such that each of them satisfies under some condition and gets fired !! Regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-firing-rules-twice-in-single-session-on-single-object-tp4020220p4020224.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] Complicated Issue
hey, M using guvnor 5.3.0 Final version and two instances of guvnor. In my first guvnor application, i ve two packages containg all my rules which i am accessing using drools core and knowledge api v5.2.0 Final .I use type DRL to extract rules from my change set. In my second guvnor application, i just have a package which contains my JBPM process. Here, i am using drools 5.3.1 Final jars to connect and make my kbase. i use type = PKG in my chnage set, which is contradictory to JIRA https://issues.jboss.org/browse/JBRULES-3388 is opened that a PKG cannot be read, but was working fine for my application. Now i dont want to deploy two different wars of guvnor and was expecting to do it by deploying just 1 guvnor. So instead of taking the headache of using different jars, i used a neutral GUVNOR and drools 5.4.0 final version. I deployed the guvnor, imported the old repository, built the packages and tried firing the rules using type = DRL in my change set. Everything Worked fine. As soon as i changed my type = PKG in my change set to access the rules, i got an error : java.lang.UnsupportedClassVersionError: Institutional/CalculateDateDifference : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at org.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:615) at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:254) at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:237) at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.drools.rule.MVELDialectRuntimeData.getParserConfiguration(MVELDialectRuntimeData.java:270) at org.drools.base.mvel.MVELCompilationUnit.getCompiledExpression(MVELCompilationUnit.java:203) at org.drools.base.mvel.MVELConsequence.compile(MVELConsequence.java:75) at org.drools.rule.MVELDialectRuntimeData.onBeforeExecute(MVELDialectRuntimeData.java:173) at org.drools.rule.DialectRuntimeRegistry.onBeforeExecute(DialectRuntimeRegistry.java:144) at org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:599) at org.drools.reteoo.ReteooRuleBase.addPackages(ReteooRuleBase.java:472) at org.drools.impl.KnowledgeBaseImpl.addKnowledgePackages(KnowledgeBaseImpl.java:150) at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1085) at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:824) at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:673) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:203) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:182) at com.infy.fcs.drools.adapter.DroolsGuvnorTest.readKnowledgeBase(DroolsGuvnorTest.java:196) at com.infy.fcs.drools.adapter.DroolsGuvnorTest.main(DroolsGuvnorTest.java:107) When i tried to access the process package(Which is a diff package and contains only a process), i got the following error java.lang.UnsupportedClassVersionError: Fatca_Process/Process_Fatca_Process_Fatca_integration_queue_f06d3a378a5f49d5b7589aae2c0b686eReturnValueEvaluator7Invoker : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at org.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:615) at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:254) at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:237) at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:435) at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:430) at org.drools.rule.JavaDialectRuntimeData.onBeforeExecute(JavaDialectRuntimeData.java:256) at org.drools.rule.DialectRuntimeRegistry.onBeforeExecute(DialectRuntimeRegistry.java:138) at org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:599) at org.drools.reteoo.ReteooRuleBase.addPackages(ReteooRuleBase.java:472) at org.drools.impl.KnowledgeBaseImpl.addKnowledgePackages(KnowledgeBaseImpl.java:150) at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1085) at
Re: [rules-users] Complicated Issue
Thanks for the quick reply Mike.. as you can see, now i am using compatible versions i.e. drools expert v5.4.0 Final and so as GUVNOR 5.4.0 Final.. Y do i still get this error ?? -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020177.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] Complicated Issue
i have been using java 6 from the start.. -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020179.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] Complicated Issue
the process was also compiled with 1.6 -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020181.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] Complicated Issue
hey mike.. i found the issue..my jboss was working on jboss 1.7.. now as i fixed it..evrything is working fine.. tnxx a lot !! -- View this message in context: http://drools.46999.n3.nabble.com/Complicated-Issue-tp4020175p4020182.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] Guvnor Integration with Eclipse Issue !!
hey der ! m currently using GUVNOR v5.3.0 i made some DRLs in my Eclipse loaded them to Guvnor repository and after loads of changes..i was finally able to build my kbase using the repositoy.. my change set is as foolows : *?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 http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' add resource source=' http://localhost:8089/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual/LATEST.drl' type='DRL' / /add /change-set* My package name was Individual and it mainly contained technical rule assests and one function, as shown in the image below : http://drools.46999.n3.nabble.com/file/n4018919/drools1.png now i had a few changes in my POJO model so i updated the model and few rules directly in the technical rule assest of guvnor, after which i built the package created a new snapshot and tried running it, but got some error, as : 1. Unable to Analyse Expression @Modify with($a){setExempt(Exempt Account),setQueueName(Auto Classified Accounts)}; 2. KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage After going through all the available post, nothing proved to be of any help !! Then i thought might be changing the technical assest directly from guvnor is a bad idea... So, i created a new package named Individual_New, uploaded the new POJO model and uploaded just one rule from ECLIPSE(just to check if my kbase builds or not).. I uploaded just 1 rule in it, build the package and created a snapshot with name LATEST, changed the change set as below: *?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 http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' add resource source=' http://localhost:8089/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual_New/LATEST.drl' type='DRL' / /add /change-set* n now when i tried running it, it threw me the following error : java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8089/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual_New/LATEST.drl at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:592) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28) at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:701) at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:679) at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:979) at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:774) at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:646) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:192) at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:174) at com.infy.fcs.drools.DroolsAdapter.readKnowledgeBase(DroolsAdapter.java:241) at com.infy.fcs.drools.DroolsAdapter.main(DroolsAdapter.java:256) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8089/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual_New/LATEST.drl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.drools.io.impl.UrlResource.grabStream(UrlResource.java:210) at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:146) at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:311) at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:495) ... 10 more DEBUG [main] (DroolsAdapter.java:246) - java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8089/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual_New/LATEST.drl java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8089/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual_New/LATEST.drl at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:592) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28) at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:701) at
Re: [rules-users] Guvnor Integration with Eclipse Issue !!
i would also like to know if there can be any jar issue's .. i m using drools plugin 5.4 Final in eclipse and Guvnor v is 5.3.0 Final please lemme know (in details), the reason behind KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage error !!! I read one of mike's post on it... http://drools.46999.n3.nabble.com/KnowledgeAgent-exception-while-trying-to-deserialize-KnowledgeDefinitionsPackage-td2192555.html which said that the cersion should be same...but i did not get any download link for guvnor 5.3.0Final plugin for ECLIPSE !!! Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Integration-with-Eclipse-Issue-tp4018919p4018920.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] Guvnor Integration with Eclipse Issue !!
hey mike, thankz for the reply.. but i m using the plugin which yu supplied..i need a plugin for GUVNOR v5.3.0 Thanks, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Integration-with-Eclipse-Issue-tp4018919p4018925.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] Guvnor Integration with Eclipse Issue !!
i cannot upgrade to guvnor 5.4... need pluging for guvnor 5.3 final -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Integration-with-Eclipse-Issue-tp4018919p4018928.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 Global Model for all packages
Even i had the same and it doesnt get resolved in 5.4 even !! reference : http://drools.46999.n3.nabble.com/Import-into-specific-package-GUVNOR-help-td4018325.html#a4018328 http://drools.46999.n3.nabble.com/Import-into-specific-package-GUVNOR-help-td4018325.html#a4018328 -- View this message in context: http://drools.46999.n3.nabble.com/Using-Global-Model-for-all-packages-tp4018861p4018862.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] Web guided Decision table
http://drools.46999.n3.nabble.com/file/n4018799/Untitled.png y m i getting *Error: unable to resolve method using strict-mode: org.drools.spi.KnowledgeHelper.$cc()]* error... my $cc is binded with a Customer().. how can i do this in the condition column of a decision table: rule my rule when $cc:Customer() then //something end -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018799.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] Web guided Decision table
hi mike, actually i have values in my $cc from previous rule so i dont want to insert new fact.. can yu give me a way to achieve it !?? regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018802.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] Web guided Decision table
m using 5.3 :( -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018803.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] Web guided Decision table
thankz mike, not equal to null helped !! can yu suggest me a way of using setFocus() in DT ? -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018806.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] Web guided Decision table
hey mike, not equal to null helped... might be i was using Customer with 'this' and was not passing any value,so the error was cropping up !! thanks a lot..and yeah i ll read about rule templates from doc and try it out..thankzz a ton !! regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018809.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] Guvnor integration GLOBAL/Remote HTTP resource caching error !!!
making my question more precised : why do we get Server returned HTTP response code: 401 for URL: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/Individual/LATEST at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) error ?? -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-integration-GLOBAL-Remote-HTTP-resource-caching-error-tp4018751p4018767.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