Getting Started with the Standalone Version of Guvnor
by rlinan@austin.rr.com
I am an application Systems Analyst who has been tasked with researching Rules Governance tools.
I downloaded the standalone version of Guvnor, expecting that I would not need to install any other software to be able to try it. This is an important consideration for me given my limited technical skills.
The down load was successful, but when I tried to follow the installation instructions, I encountered a problem. It said to look for tge .WAR file and execute that, but a could not find a .awr file in the zipped files. What am I missing?
14 years, 11 months
Authorisation of Guvnor users on Glassfish
by Chris Selwyn
I am using Guvnor 2.1.1 on Glassfish 2.1 and mostly it seems to work
very well.
However, I am now looking to setup authentication of users to the Guvnor
server and this is where I am finding problems.
I tried writing a class with an "authenticate" method to authenticate
against a Glassfish realm using ProgrammaticLogin but (as far as I can
tell) this class is not being used by Guvnor.
Looking at the source, Guvnor appears to only use the
org.jboss.seam.security.Identity.authenticate method which uses only the
jaas-config-name value from the components.xml file.
So I then tried setting the jaas-config-name to "fileRealm" (which
exists in Glassfish's default login.conf) but now I get
"javax.security.auth.login.LoginException: No credentials." logged in my
server.log (and the user get a fail message, naturally).
Has anyone out there managed to configure Guvnor to authenticate against
a Glassfish realm or JAAS context and would be willing to help me through?
Chris Selwyn
14 years, 11 months
Dynamic updates of stateful sessions
by Mattias Avelin
We have a application in which we have both stateless & stateful sessions
running. We're using the KnowledgeAgent and ChangeSets to automatically
update our knowledge bases when the rules are changed.
This works fine for our stateless sessions for which we are creating a new
session for each request and if the rules have been updated this is
reflected in next session we create.
But for stateful sessions I'm not quite as sure on how to get it working. I
can see in the logs that the KnowledgeBase is re-built when the
KnowledgeAgent detects the updated rule files. But my "long running" session
is does not reflect these changes (which it shouldn't right?). But how do we
apply these changes to the stateful session without loosing all the facts I
accumulated?
The way I've solved it now is to keep a "last updated" timestamp for the
knowledgeBase and a "created" timestamp for the session and then compare
these before using the session. If the knowledgeBase's "update timestamp" is
later that the sessions "creation timestamp" I create a new Session and then
"manually" copy all facts from the former to the latter.
Is this the way you would do this or is there a better way?
Best Regards
Mattias Avelin
14 years, 11 months
Format of model for guvnor
by azahra
I am trying to use Guvnor with an existing model. I am having class
dependency issues even though I have created a jar with dependencies.
I noticed that the demo package seems to have its model declared in some
non-java way like so:
declare LoanApplication
amount: Integer
approved: Boolean
...
end
Is the use of this format discussed somewhere?
Are there any other alternatives to building a jar with full dependencies?--
View this message in context: http://drools.46999.n3.nabble.com/Format-of-model-for-guvnor-tp2878374p28...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 11 months