[rules-users] Guvnor 5.3 on WebSphere 8.5: detailed question

2013-07-09 Thread drdaveg
I've been trying to run Guvnor on WebSphere at an IBM shop. I'm using Guvnor 5.3GA for help under our support contract with RedHat. In previous posts, people have recommended to get Guvnor to work, nearly unmodified, under WebSphere by disabling servlets, getting particular versions of the softwar

Re: [rules-users] Deployment on websphere

2013-05-30 Thread drdaveg
5.3 worked much better, without authentication. I even was able to import my 5.5 repository, albeit with some issues. Oddly, writing the PKG throws an exception. I have written the code to export a PKG before, but I wonder if this is related to the permission under the WebSphere directory? Some

Re: [rules-users] Deployment on websphere

2013-05-30 Thread drdaveg
Thanks. With 5.5. and your components.xml I get: Trying 5.3 :) Thanks for your help! -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800p4024033.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] Deployment on websphere

2013-05-30 Thread drdaveg
Sure! I believe this is the all from the exploded 5.5 Guvnor war: guvnor\WEB-INF\lib\seam-security-3.1.0.Final.jar guvnor\WEB-INF\lib\seam-security-api-3.1.0.Final.jar and the /WEB-INF/beans.xml: -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4

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

2013-05-29 Thread drdaveg
When I try using 5.2 (NOT 5.2.1, which will be next) I get a logon dialog box for username/password that (per the docs) seems like it should accept anything - but no user/password combination seems to work out of box. Please note that I haven't tried to configure security for 5.2, expecting none.

Re: [rules-users] Deployment on websphere

2013-05-29 Thread drdaveg
Thanks. I've tried a number of different approaches and checked your post out before. I appreciate the tip about decompressing. With your approach, I get: Exception thrown by application class 'com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.findWrapper():476' JSPG0036E: Failed t

Re: [rules-users] Deployment on websphere

2013-05-17 Thread drdaveg
I've been using DROOLS and Guvnor for years, but am trying to get Guvnor to run under WebSphere 8.5 - even under the Liberty profile as mentioned. Guvnor fails using the tomcat war (contrary to post) and avoiding "seam" (per another post) gets you to run-time complaints about - needing the weld-

Re: [rules-users] Moving comment in DSLR file causes issue under 5.3

2012-07-25 Thread drdaveg
Thanks. I think this is actualy a bug in 5.3. I wonder if there is an issue with the mvel getting unsynchronized as files get larger? The # should indicate a comment and > should indicate something passed thru to DROOLS directly. So almost the entire rule is commented out. I am particuarly puz

[rules-users] Moving comment in DSLR file causes issue under 5.3

2012-07-24 Thread drdaveg
This is an odd one. I was testing some DSL and have been tracing back an error in the translation. The line marked in the code below, even as a comment, causes multiple "cannot be resolved" errors when moved. Any thoughts on what could cause this other than a bug? Note that almsot all of the co

Re: [rules-users] DSL translatio problem for !ucfirst under 5.1.1

2012-07-18 Thread drdaveg
Thanks. I downloaded 5.2 and there are no compilation errors. I also need to check to see if one decision table issue (that I had worked around) was solved. However, in 5.2 I get 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialec

[rules-users] DSL translatio problem for !ucfirst under 5.1.1

2012-07-17 Thread drdaveg
I have solved this problem before, and think it is a JAR issue, but can't seem to remember which JAR solves my problem. The DSL sentence [consequence][]Set {field} of {object} to {value}={object}.set{field!ucfirst}({value}); is not working since !ucfirst is being ignored. I am using 5.1.1 bec

Re: [rules-users] Trivial DecitionTable issue or bug?

2012-06-26 Thread drdaveg
It is better if I type them here NAME Rulename "DT Fare Itinerary Compute Discount 1" "DT Fare Itinerary Compute Discount 2" "DT Fare Itinerary Compute Discount 3" "DT Fare Itinerary Compute Discount 4" DT-Fare-Itinerary-Compute-Discount5 I tried with and without quotes. The suffixed RuleTable

[rules-users] Trivial DecitionTable issue or bug?

2012-06-26 Thread drdaveg
I am running decision tables implemented in Excel and the values in the NAME column are being ignored in favor of the RuleTable (appended with an int). Am I missing something trivial or is this a bug in DROOLS 5.4? I have attached the screen capture (it is small) but scrunch the non-relevant part

[rules-users] Displaying BPM node names across lines (easy)

2012-05-17 Thread drdaveg
I can't seem to find this on the site and know I have done it - how do you wrap a node name in a ruleflow or BPMN graph so it displays on multiple lines? I would like "This is a really long process name that I would like to be be wrapped on multiple lines" to appear as This is a really long pro

Re: [rules-users] Guvnor jackrabbit session issue?

2012-03-29 Thread drdaveg
Trying a fresh install: Download JBoss 7.1 (Thunder) Unzip into new directory Edit JBOSS_HOME Copy guvnor-5.3.0.Final-jboss-as-6.0.war to standalone deployment directory and rename as guvnor53.war Set up the classpath to include the DROOLS JARs Startup JBoss standalone, causing 13:34:11,598 WARN

[rules-users] Guvnor jackrabbit session issue?

2012-03-29 Thread drdaveg
I am moving some working Eclipse-developed code to Guvnor and am seeing a huge number of messages logged for jackrabbit "session that has already been closed". This happens nearly continuously, with the session number ascending: 11:18:01,889 WARN [org.apache.jackrabbit.core.session.SessionState]

Re: [rules-users] Ruleflow stops after 1st rule task when using changeset

2012-03-15 Thread drdaveg
Thanks. That part I found and solved already from another post. However, the ruleflow still stops in the first ruletask. Any thoughts? I am basically recoding KnowledgeAgents to get the functionality. -- View this message in context: http://drools.46999.n3.nabble.com/Ruleflow-stops-after-1st

[rules-users] Ruleflow stops after 1st rule task when using changeset

2012-03-08 Thread drdaveg
I have a working prototype that is being converted from programmatic loading to the change-set/knowledge agent paradigm. I am experiencing several problems that are shown in this minimal version. First, like in many posts the XSD for change-set is not found; where is the actual XSD? This issue d

Re: [rules-users] KnowledgeAgent Changeset problems

2012-03-06 Thread drdaveg
I am also seeing an "unexpected global" in working code when built in the "buidling using code" paradigm when moved to use changesets and knowledgeagents. I also see this problem reported on another, non-Drools site. My global is a simple java.util.ArrayList and I can see it in the debugger i

Re: [rules-users] Drools 5.3 partitioned rule base

2012-03-06 Thread drdaveg
Many of the systems use large amounts of data or large numbers of rules by applying indices inside rules or by processing transactions that could be batched - which really increases the number of rules or that that are seen. One of my customers used indices in rules creating rulesets of ~ 200,000

[rules-users] DSL translation handing - what is the most stable version?

2012-01-23 Thread drdaveg
I've built rules using DSL's before and with 5.3 I am seeing Eclipse hang intermitently during builds. I've seen this in previous versions of DROOLS so wondered what/where is the most stable version of DROOLS? I downloaded, but have not yet installed the product version (this is for a lartge US f

Re: [rules-users] Drools Ruleflow deadlock issue[thread]

2011-07-06 Thread drdaveg
Your issue looks like a persistence issue, not a DROOLS issue. If you do more metering and experimentation people may be able to solve this for you. You may want to check posts from about a year ago; there were MANY people asking about JPA workflow persistence. -- View this message in context:

Re: [rules-users] Unittesting in drools ?

2011-07-06 Thread drdaveg
There are many ways of doing unit testing in DROOLS - with or without Eclipse. My last client is using JUnits with the Eclipse JUnit plug-in where the tests examine the firing of individual rules and the values set on domain objects. One advantage of this approach is that you can run any number o

[rules-users] Filtering activations in stateless sessions

2011-06-22 Thread drdaveg
Creating an AgendaFilter in stateful sessions is straightforward. Although there are many API's that seem like they would foster discarding /filtering rule activations in stateless sessions, each family of API seems to be missing a key method to filter activations. Can anyone suggest a way that w

Re: [rules-users] Out of Memory Exception While Running Rule

2011-06-07 Thread drdaveg
I have run several times this number of rules with Drools. Mark is right that adding Permgen space will help, but you can also reduce the size of your identifiers to use less Permgen memory. The harder issue to handle is running out of heap memory if you run a few thousand more rules: at some

[rules-users] TimerService vs TimeMachine and date-effective

2011-06-01 Thread drdaveg
A common issue that I am looking into is setting the execution date to test future or legacy rules (i.e., with dates that are not the system date.) A number of users have posted about TimeMachine, TimeServices and the perils of setting the system date - but a JIRA lists TimeMachine as being remove

Re: [rules-users] Clarification needed in writing DSL function mapping

2011-05-31 Thread drdaveg
I noticed your queries in my emails and, having written a large amount of DSL thought I would chime in. In translating from attributes to getters and setters Drools has several ! functions that are useful, such as !first. With appropriate naming of attributes, you can flawlessly convert from attr

Re: [rules-users] DSL Enumeration / Decision Table ?

2011-05-19 Thread drdaveg
Your approach overall may also be a mistake. I've built DROOLS systems looking at things like codes for thousands of entries. If you have a problem with thousands of rules that examine codes your JVM will run out of memory. -- View this message in context: http://drools.46999.n3.nabble.com/DSL-

Re: [rules-users] Do test scenarios in Guvnor really work for DSL/DSLR imported?

2011-05-08 Thread drdaveg
I believe it does but note that moving data back and forth between Guvnor and Eclipse is not quite seemless because Guvnor attaches metadata. -- View this message in context: http://drools.46999.n3.nabble.com/Do-test-scenarios-in-Guvnor-really-work-for-DSL-DSLR-imported-tp2915410p2915439.html Sen

Re: [rules-users] "Rule-Id" for a Drools Rule

2011-05-08 Thread drdaveg
Is the reply correct? There are obvious mechanisms to create metadata on the object model in Drools and while there are data structures in the rules to store metadata setting user-defined metadata on rules does not seem to have supporting predicates. I would be interested in seeing a rule metada

Re: [rules-users] Unable to create DSL properly?

2011-05-06 Thread drdaveg
It is very helpful for us if you would include the generated DRL in your responses. You only need to show one misgenerated rule for us to help. I am working on a large application that is almost entirely DSL/DSRL so could help you debug a few rules to help you get on the right path. -- View this

[rules-users] Deactivating ruleflow-group in AgendaFilter to prevent looping in stateless session

2011-05-05 Thread drdaveg
I have a stateless session with a large number of rules most of which set values used elsewhere in the application so looping is a big issue. The rules have been organized into a ruleflows in order to foster orchestration. As a very clean approach to avoid looping (i.e., avoiding adding control t

Re: [rules-users] addpackagefromdrl removed and multiple DSL functionality lost?

2011-05-04 Thread drdaveg
As an update, I am testing getting this functionality by having two KnowledgeBuilder that both add to the same KnowledgeBase and to a single StatefulKnowledgeSession. So far so good. -- View this message in context: http://drools.46999.n3.nabble.com/addpackagefromdrl-removed-and-multiple-DSL-fun

[rules-users] addpackagefromdrl removed and multiple DSL functionality lost?

2011-05-04 Thread drdaveg
Several posts refer to a pre-5.0 addpackagefromdrl method that builds a rule file for an associated DSL file. This let multiple DRL files be associated to a specific DSL file for compilation. KnowledgeBuilder.add(...) lets you add multiple DRL and DSL files, but it seems as if the "expander" keyw

Re: [rules-users] Turning off mvel strict-mode evaluation in within Eclipse/Drools?

2011-05-03 Thread drdaveg
Tried to edit and delete the post. It turns out that this error message is being used for a wide-range of errors unrelated to typing! It is as if it were the default exception handler for numerous mvel issues! -- View this message in context: http://drools.46999.n3.nabble.com/Turning-off-mvel-s

[rules-users] Turning off mvel strict-mode evaluation in within Eclipse/Drools?

2011-05-03 Thread drdaveg
A common problem in using Drools DSL is MVEL's "Unable to build expression.unqualified type in strict mode" Many posts mention error, I have looked at drools-compiler.jar, drools-core.jar, drools-api.jar but I haven't found a real solution to the problem yet, i.e., a way to unset strict m

[rules-users] Ruleflow "stalling" in stateless session - no events, workitems, etc

2011-04-06 Thread drdaveg
I apologize if this is covered elsewhere, but I am not sure of the keywords to search that would not return 1000 posts. I have ruleflow running from a rule that starts it in a StatelessKnowledgeSession. I am doing this to avoid inferencing, which is present in the stateful version of this applica

[rules-users] Attempted JIRA on BPMN2 issue in Eclipse

2011-03-25 Thread drdaveg
I tried to submit this to https://issues.jboss.org/secure/, but my password reset, while successful doesn't let me in to submit a JIRA. On the stable (M1?) version of 5.2 I encounter the following exception. - Create a BPMN2 diagram with a nest subprocess that has a rule task with ruleflow-grou

[rules-users] DSL parsing in 5.2 and GUI hints

2011-03-23 Thread drdaveg
I have posted a few times about domain specific languages and have a few issues for users and dev that seem of widespread interest. 1. The 5.2 document has less than one sentence on "hints for the gui editor." Could someone describe what these hints are and their syntax (i.e., {::}? Or to tie in

Re: [rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
Sorry to not include this earlier, but the exeption (where I am developing on another machine) disappeared before. It is exactly: DSL Rule Translation Error! Reason: java.lang.ArrayIndexOutOfBoundsException: 16 and my .dslr file has exactlly 16 lines. -- View this message in context: http://dr

Re: [rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
I have some more incite into what might be causing the problem. Once I remove the drools.package file - which shouldn't be needed since the imports and expander are in the .dslr file - and have a trivial example - I can see an "DSL Rule Translation: Array out of bounds" exception generated in Ecli

Re: [rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
Trying to bind a variable on the left hand side is a specific example that causes no error to be reported but no DRL to be generated. I can do the binding if I have one re-writing statement per possibility, i.e., There is a first object = object_1 : Car() but not if I generalize it: There is

[rules-users] Parsing problems using a DSL

2011-03-21 Thread drdaveg
I have run into a number of problems using a domain specific language (DSL) on processing DSLR files. My biggest frustration - and one I am hoping people can provide a work-around or guidance on - is that often the Eclipse plug-in does not allow the DRL pane, showing the DRL file, to be clicked on

Re: [rules-users] Connectivity with Database

2011-03-17 Thread drdaveg
Take a look at the documentation of the "from" keyword -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Connectivity-with-Database-tp2693512p2696533.html Sent from the Drools - User mailing list archive at Nabble.com. ___

Re: [rules-users] How to trigger a certain task within an ad-hoc subprocess

2011-03-17 Thread drdaveg
Messages can be sent to a process that has been started to get it to "wake up" from a wait state. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-trigger-a-certain-task-within-an-ad-hoc-subprocess-tp2684050p2696496.html Sent from the Drools - User maili

[rules-users] Guided Rule Editor inconsistency for DSL's

2011-03-17 Thread drdaveg
I've noticed that the LHS of the Eclipse Guided Rule Editor can employ DSL sentences or an object model, but there doesn't seem to be a manner to incorporate the DSL on the RHS of rules (other in "free form" code) Is that by design? Or is there some property that can enable the dialog box/drop-do

Re: [rules-users] [Urgent] Error in ontext assist in DSLR Editor

2011-03-16 Thread drdaveg
I am seeing this behavior in 5.1.1 - it is as if the context sensitivity is far to "greedy" for replacement. Since this may not have been clearly understood from the original posting, if I have There is an {Instance} with field of "{value}" and my cursor is at the end of the line and I select

Re: [rules-users] Problems with Guided Rule Editor in Eclipse

2011-03-16 Thread drdaveg
In experimenting with my own "Guided editor" files I am trying both the "Fact" and "Condition sentences" to use the Guided editor in Eclipse without typing any DRL or Java by prospective business users. I have a Java project with classes that are imported by a rule project with drools.package (and

[rules-users] Repackaging of the jar: missing drools.rulebase.conf?

2010-12-03 Thread drdaveg
I had several Eclipse projects with customized WorkItem's in 5.1. The latest download of the source code seems to have been reorganized: I see drools.rulebase.conf files that seem unrelated to drools.workDefinitions and all the versions that look like what I would expect are in the example files

[rules-users] Resuming rule flow using nodeId

2010-11-27 Thread drdaveg
I've been working on a proof-of-concept where microseconds count and I need more performance than JPAKnowledgeService's hibernate/jpa/jta stack can provide. I can use process event listener's to get the processId, nodeId, sessionId to persist the state of a rule flow but can't find an API that wo

Re: [rules-users] Template bug on "package" keyword

2010-08-27 Thread drdaveg
I believe I tried this and having multiple package statements - even for the same package - in a file generates a different error. However, the example does list the package as optional - which if it were would also work. Thanks! -- View this message in context: http://drools-java-rules-engine

[rules-users] Template bug on "package" keyword

2010-08-27 Thread drdaveg
I am trying to incorporate several templates in a single output drl file. According to the 5.0.1 docs "package" is optional: Example 5.3. Rule template file: templates template header parameter-name-1 ... parameter-name-n package ... # optional However, it seems that the drools parser uses "pac

[rules-users] Class not found error on registerWorkItemHandler

2010-06-09 Thread drdaveg
Hi! I've created a custom WorkItemHandler that seems to work until it is used in another Java function with other WorkItemManager's and Handler's (the default ones, email and log.) No exception is caught by a try-catch block with this function call, but single stepping through the code that runs