we noticed the behavior that the userid of the user who logs in first into
Guvnor after it is started up is the one that shows up for all subsequent
updates to assets irrespective of who modifies the asset.
In the RepositoryAssetService class in guvnor-webapp-core module, the
getCurrentUserName()
Has anyone come across this scenario ?
In Guvnor 5.4.0.final, when user1 initially logs in and updates a asset(
saves and closes it, logs out ) , subsequent asset updates for same asset or
different asset by user2 still show as done by user1 which is incorrect.
updates done by user2 need to be sh
Jervis,
Thank You for confirming the issue.
The scenario I am having is as such.
the first time Guvnor 5.4.0.final in Tomcat 7 is started, I am able to
connect to both webdav folders and also through a java client using basic
authentication.
but when I disconnect the web folders connection
I am able to login into guvnor login page correctly using the same
id/password. however, when using windows webdav web folders or even the
eclipse drools plugin, it does not seem to work.
when I intentionally give the incorrect id/pwd, I do get an authentication
error as expected.
-
Ram
Hi All,
when we try to access the packages in Guvnor 5.4.0.final by connecting
through webdav on windows, we are not able to see anything.
when we try to use the Guvnor repository editor eclipse plugin view, we are
getting an premature end of file error.
are there any known issues in getting we
Jervis,
Thank You for forwarding that link. I have successfully used that in the
past to download binary packages, but I assume I can use it to copy all the
rules ,model jar ,processes etc as well to another repository.
I will try it out while continuing to look for a python solution too.
perhap
Hi, we were looking into the process of copying files and packages from one
Guvnor webdav repository to another on a daily basis.
as part of that, we were looking into python modules that would help with
accessing the webdav directories and files .
any suggestions on ways to copy files and packag
Mike,
Thanks. I will submit one .
-
Ram
--
View this message in context:
http://drools.46999.n3.nabble.com/how-to-use-not-in-oparator-in-guided-decision-table-in-5-2-version-of-Guvnor-tp3865331p3866199.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
Hi,
how do we specify the condition field1 not in (A,B,C) in a guided decision
table in Guvnor 5.2?
I can use field1 in (A,B,C)
but no option to specify
not in (A,B,C)
if no other option within the guided decision table, I suppose I would have
to go the template route.
unfortunately, we have
additionally, a no-loop attribute =true might be required to avoid going into
a loop
-
Ram
--
View this message in context:
http://drools.46999.n3.nabble.com/why-java-util-Map-doesn-t-work-on-RHS-update-tp3831626p3843833.html
Sent from the Drools: User forum mailing list archive at Nabble.com
can you try modify instead of update in the first rule as
modify($m); instead of update($m);
modify as I understand does update and insert.
without modify, the changes done in first rule are not visible to other
rules
--
View this message in context:
http://drools.46999.n3.nabble.com/why-ja
when we had a similar need, we specified a condition pattern something like
Customer(nonnullfield!=null) in order to use that in the action part.
however, the updates done in the action part were not visible to subsequent
rules in the ruleflow.
so, we had to getObjects and insert the updated Cust
to clarify on the reference to null in the subject,
I was trying to approach this by checking whether one of the Fact1 fields is
not null and to specify this across all the rows in the spreadsheet. This
way, I will have reference to the Fact1 to use in Action part.
I was not sure how to write the
Hi,
I have a spreadhseet where I am specifying the rules .
as one of the conditions, I would like to check if an Fact exists and then
update some values in same fact in the action part.the other conditions have
checks on a different fact.
is there a way, I can specify the exists condition on thi
Hi All,
does anyone have thoughts or advice on using mvel2-2.1.Beta6 jar versus
mvel2-drools4.jar with Drools 5.3.0.Final ?
I see that drools 5.3.0.Final uses mvel2-drools4.jar while 5.3.0.CR1 used
mvel2-2.1.Beta6 jar
any reason why the drools4.jar was adapted for the 5.3.0.Final ?
right now, w
we have some interesting findings with loading rules PKG into knowledgebase
when using mvel2-beta6 jar versus mvel2-drools4 jar.
the PKG file was built in Guvnor 5.3.0.Final which uses mvel2-drools4 jar.
when we loaded this PKG file using Drools 5.3 jars and using mvel2-drools4
jar, we were get
does this issue happen for any previous version of Guvnor data such as 5.0
or 5.1 or 5.2 exported and imported into a Guvnor 5.3 repository ?
does this mean, we cannot rely on 5.3.0 version of Guvnor code when
migrating data from a previous version and should rather apply the fix ?
--
View th
Nicolas,
after we run a build and we see that the heap has not been Garbage
collected, when we try run a second build, it crashes after a few minutes
because it does not have much memory to complete the build.
could it be the case that the package that gets built is getting stored and
not release
Nicolas,
what is the size of the pkg file that gets loaded into your knowledge base?
when our pkg file was around 3 MB, we were able to load it successfuly into
a 1GB heap machine successfully
but when the package size grew to around 6.4 MB , we are no longer able to
load it into the 1 GB heap m
just wanted to ask one of the questions again.
currently, we have around 900 rule assets as shown in Guvnor. some of them
are decision tables which mean that the total number of rules might be lot
higher ( because each decision table on average has around 20 rows or so)
assuming that the number o
are there are any benchmarks around number of rules that can be created in a
package in Guvnor?
we run Guvnor 5.3.0.final in Guvnor on a windows server that has 1.4 GB heap
and we are seeing memory issues when the package has reached around 900
rules or so.
by memory issues, I mean that after the
back when using Guvnor 5.2, we had similar problem because the
StatefulKnowledgeSession would not dispose of the facts after the response
was returned.
we had used this simple rule to generate an mvel error
one:Fact1( name matches "^[A-Za-Z]+" )
--
View this message in context:
http://drools.
we have hundreds of rules created in Guvnor 5.3..Final.
some of them use regular expressions when using the matches operator.
when business users enter an incorrect regular expression and rules are
built in guvnor subsequently, we have noticed heap consumption grow quite a
bit and not released
when
$emptyDocs:java.util.List(size>0) from collect ( Document( field1== null ||
== ( "" ) , field2 == null || == ( "") ) )
then
//insert an error
Error fact0 = new Error();
fact0.setErrorCode( "code1" );
insert(fact0 );
for (int i=0; i < $emptyDocs.size(); i++){
Hi All,
we have a scenario whereby, several documents are created as part of the
ruleflow. at the end of the ruleflow, if any of the fields in the document
is empty or null, we would like to create a error (only one error) and
retract all the documents so far.
rule "createError"
rulef
I have created a query in guvnor 5.3 in a separate drl file as follows.
query "get total Documents created"
document : Document( )
end
I have several rules that create Documents as part of the ruleflow.
on the java side
ksession.fireAllRules(new RuleFilter()); // the rulefilter does n
Esteban,
we already have several scores of rules in place. the requirment is to
change the rule(s) in such a way as to keep it minimal and still achieve
the result expected.
having to write additional rules would be the last option.
hence, I was more interested in using a function if I could.
I tried to use the function in a BRL editor in Guvnor.
In the consequence part how do I correctly call the function?
when I enter it as
yn( $status) in the text box for that field in the BRL editor, it takes it
as a string and thus tries to read the whole as a string. when I click on
view sou
Hi,
we have an existing BRL rule in Guvnor whereby we set the value of some
fields in RHS based on some value checks in the condition part. we have
created several of these rules already in a previous release.
In the next release, we have new requirements to set the value of an
existing field in
Hi,
running tests scenarios in Guvnor 5.2.0.Cr1 seems to be causing memory leak
eventually.
since the StatefulKnowledgeSession or the related class seems to have
similar kind of leak in 5.2.0.Cr1, could it be that the same issue is
causing the leak within Guvnor as well ?
we tried to upgrade to
as suggested in his post by Thomas , we are retracting the facts from memory.
we are doing it in the finally block to make sure a rule session exception
does not leave the facts in memory .
for ex, we came across an incorrect regular expression syntax within the
rules when using incorrect syntax
we are seeing similar memory leak with 5.2.0.Cr1 version of drools.
are there any other alternatives such as using a different version of jbpm
jar if that is the cause of the problem?
we are currently using the jbpm-flow-5.1.0.Cr1.jar.
If not,
is there a method that removes all the facts from t
for some reason, the xml info within the OraclePersistenceManager tag came
out as blank in the post.
I am attaching the file this time.
Also, I changed the path to point to rep.home variable as you suggested. I
still get the same error. http://n3.nabble.com/file/n773632/repository.xml
repository
The directory specified in components.xml as home directory is
/config/drools.
I have the repository.xml in this directory.
After I delete all the directories under drools and just have repository.xml
in config/drools and restart, I get this error. so, I guess the problem is
that jackrabbit cann
Yes, The same driver information works when the repository directories exist.
My suspicion is that this error happens when the repository directory
specified in repositoryx.ml does not exist during system startup.
I get the same error whether it is default derby settings or Oracle settings
if Rep
after I delete repository,,version ,workspaces directories and delete all
tables in the database and startweblogic again, I get the following error.
http://drools-java-rules-engine.46999.n3.nabble.com/how-to-move-a-repository-from-derby-database-to-Oracle-Database-tp758128p766133.html
Sent fr
after exporting the repository, changing the persistence settings to Oracle,
deleting the respository directory and restarting server again,
I get these errors. Do I need to delete the version directory as well
besides the repository directory ?
ERROR 29-04 10:59:11,004 (ConnectionRecoveryManage
In the repository.xml, there are 2 sections where the default database derby
can be replaced with Oracle.
to be replaced with
-->
we have some rules developed under the default setup in Drools Guvnor. Those
are stored to the default derby database .
we would like to move repository to Oracle database.
How do we do that?
I have configured the Oracle database settings using th persistence manager
in place of derby.
when I
I got it to work by appending the values and then setting the record to
appended string
r=value1+","+value2+","+value3
--
View this message in context:
http://n3.nabble.com/How-to-do-operator-such-as-is-one-of-xx-yy-zz-in-a-decision-tablee-tp706475p708602.html
Sent from the Drools - User mailin
while using the regular expression in a predicate is our last option, we
would like to do it through a dropdown list in a Decision Table column if
possible.
I am trying something like this.
when creating condition column, if I choose literal type and choose a filed
type such as amount , one of
some additional info on this.
when I try to use literal as the Calculation Type, I get an operator choice
of " is contained in the a (comma separated )list. This will let me select
only one of the values entered in the dropdown List.
when I do ViewSource , I see the above being converted as
ye
Hi, we are trying to do something like this in a decision table
we need to be able to create a condition like the below in a decision table
condition column. Perhaps one way this can be done is for user to be able to
select mutiple states from a dropdown list of states and then apply the
operato
43 matches
Mail list logo