[rules-users] how to check difference between two .pkg files

2013-09-09 Thread maunakea
I have 2 .pkg files that are 2 snapshots for the same package from 2 different Guvnor instances. The 2 Guvnor instances are prod and test. I see that within Guvnor, it can show diff between 2 snapshots in its repository. If Guvnor can do it, there must be some API that I can use outside in a standa

Re: [rules-users] Enabled Keyword

2013-09-03 Thread maunakea
I struggled with this as well and I hope somebody can guide to show us how to make this work. Meanwhile, I came up with a workaround that works for the type of rules we have... -- View this message in context: http://drools.46999.n3.

Re: [rules-users] Drools Concurrent Execution causes Blocked Threads

2013-09-01 Thread maunakea
You mention ... "We have 10 threads concurrently requesting for fireAllRules" Are all these threads using the KnowledgeSession? It might not be thread safe. Different threads may use, but maybe not concurrently. The API doc doesnt mention, it that is what I suspect. -- View this message in conte

Re: [rules-users] deploy guvnor-5.5 on weblogic 10.3.6

2013-08-25 Thread maunakea
I tried the same and gave up. Switched to Tomcat for Guvnor 5.5.0. I had a similar question and didnt get any responses, so, I assume nobody has been successful in deploying 5.5.0 on Weblogic 11 or 12 -- View this message in context: http://drools.46999.n3.nabble.com/deploy-guvnor-5-5-on-weblog

Re: [rules-users] Drools Guvnor Integration

2013-08-22 Thread maunakea
>From the trace, it might not be the case that you don't have the source. Sorry, I dont want to misguide you. I dont know what this error means. You can get the source from the same download that you got Drools Expert. Good luck. -- View this message in context: http://drools.46999.n3.nabble.co

Re: [rules-users] Drools Guvnor Integration

2013-08-22 Thread maunakea
>From the trace, it looks like you need to add the source jars. Maybe you are trying to debug and when stepping into a method you are getting this? -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-Integration-tp4025641p4025649.html Sent from the Drools: User for

Re: [rules-users] decision tables conditional matching

2013-08-22 Thread maunakea
Just some thoughts/comments... It looks like you are trying to solve a logic that has conditions that are dependent between rules. This usually gets messy like you have observed. I like to keep my rules "atomic" without ANY dependencies to other rules and I try to avoid controlling order of execut

[rules-users] How to set "enabled=true/false" attribute in spreadsheeet decision table?

2013-08-22 Thread maunakea
In web guided editor, I am able to add a new metadata/attribute column to add a column for "enabled" attribute, which I can use to disable rule on that row. I am not able to achieve that in a spreadsheet decision table. When I add ENABLED column, it puts CALENDARS in the DRL. It looks like it is ta

Re: [rules-users] Guvnor in Reselliency environment : Assets stored in DB not visible in Secondary server

2013-08-09 Thread maunakea
Looks like you have not configured clustering. Once you setup clustering, you will see these tables... GLOBAL_VERSION JOURNAL LOCAL_VERSIONS -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Guvnor-in-Reselliency-environment-Assets-stored-in-DB-not-visible-in-Secon

[rules-users] Guvnor 5.5 POJO upload error when there is dependency

2013-07-25 Thread maunakea
Guvnor 5.5.0 on Tomcat 7 I have 2 model jars: x.jar y.jar Both contain our domain pojos. y.jar does not have any dependencies. x.jar has a reference to a class in y.jar When I upload y.jar, no errors When I upload x.jar after y.jar is already uploaded, I get this error for the class that is in y.

Re: [rules-users] drools migration

2013-07-02 Thread maunakea
This seems to be an equivalent rule removing the need for collect... when $trx : TransactionWrapper(ignoreSourceLocation == false) && $fromState : TAWrapper ( authorityType == TAType.STATE || authorityType == TAType.COUNTRY, locationType == LocationType.ORIGIN ) && $toState : TAWrapper ( a

Re: [rules-users] drools migration

2013-07-02 Thread maunakea
I ran into a similar issue a while ago and had to rewrite the rule on how it deals with collection object as facts. Maybe, if you post your rule, I can try to suggest. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-drools-migration-tp4024691p4024716.html Sent fro

Re: [rules-users] Reading a Guvnor PKG from drools API

2013-05-22 Thread maunakea
I saw the same error when there was a mismatch in ResourceType. You mention you downloaded the package from Guvnor and that it work when you change the ResourceType to drl. Can you check if the .pkg file is actually drl? Could it be that you downloaded the drl as a .pkg file? -- View this messag

Re: [rules-users] Maintain assets synchronized between members of a team

2013-04-25 Thread maunakea
you should be able to use Guvnor Repository view in Eclipse to do this. We use it to synch with local Eclipse projects which we then sync with an external source control. -- View this message in context: http://drools.46999.n3.nabble.com/Maintain-assets-synchronized-between-members-of-a-team-tp

Re: [rules-users] How to hold a Collection of Objects in memory for processing ?.

2013-04-25 Thread maunakea
Have you tried collect? something like... $alertFromDATA : Alert ( sourceName=="DATA") from $alert.alerts $list : ArrayList() from collect ($alertFromDATA) You may even be able to combine both statements into one. Dont know if this will work, but you can try. -- View this message in context:

Re: [rules-users] Error deploying Guvnor 6.0.0.Beta1 on Tomcat 7

2013-04-23 Thread maunakea
Thank you manstis. I'll keep a watch for Beta2. -- View this message in context: http://drools.46999.n3.nabble.com/Error-deploying-Guvnor-6-0-0-Beta1-on-Tomcat-7-tp4023456p4023493.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

Re: [rules-users] Designer for Guvnor 5.3.5

2013-04-23 Thread maunakea
You will need to deploy the war file. You should be able to find it here... http://mvnrepository.com/artifact/org.drools -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Designer-for-Guvnor-5-3-5-tp4023481p4023494.html Sent from the Drools: User forum mailing list

[rules-users] Error deploying Guvnor 6.0.0.Beta1 on Tomcat 7

2013-04-19 Thread maunakea
I was excited to try out Guvnor 6. Downloaded the Beta1 and tried deploying on Tomcat 7.0.32. It deployed fine, but when I access the URL, I get the trace below. Anybody able to deploy on Tomcat 7? org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: error invoking endpoint at org.j

Re: [rules-users] Mapping fields of all theses facts takes too much times

2013-04-16 Thread maunakea
I sounds like your business objects will have dependencies and that could be the reason you are not able to import them into Guvnor. Have you tried importing all those dependencies as well? Using interfaces as the fact model for such business objects is a great idea - this is exactly the pattern I

Re: [rules-users] Problems with defaultPackage

2013-04-16 Thread maunakea
I thought defaultPackage was similar to java "no package". After reading your post, I do see "defaultPackage" as the package name! I am using Guvnor 5.5.0 and I am able to delete defaultPackage. After you import the process to default package, check the source to see what Guvnor created. Just curio