Building a package will collect all the assets, validate and compile into a deployable package.
by jagaran das
Hi,
The message below is shown after i have created all the necessary stuffs.
Building a package will collect all the assets, validate and compile into a deployable package.
and the message that
Package built successfully.
But cant down load the package as it is giving the following menage.
Status reportmessage /drools-jbrms/org.drools.brms.JBRMS/package/com.sample/LATEST
description The requested resource (/drools-jbrms/org.drools.brms.JBRMS/package/com.sample/LATEST) is not available.
Please let me know of the solutions.
You can mail me also at jagaran_das(a)infosys.com
Regards
jagaran
---------------------------------
Download prohibited? No problem! CHAT from any browser, without download.
17 years, 6 months
Problem accessing BRMS
by Maxime
Hi,
I would like to try the new BRMS but I must be missing something or
doing something wrong. I downloaded drools-jbrms.war and simply
deployed it in JBoss AS. However it's not accessable. What else needs
to be done in order to make the BRMS work? Are there other
dependencies, or maybe things to configure?
Here an output of JBoss AS (the interesting part) after I start it.
Thanks for your help.
-----------------------
10:44:33,140 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@8cfd1786 {
url=file:/C:/jboss-4.0.5.GA/server/default/deploy/jboss-xa-jdbc.rar }
deployer: org.jboss.resource.deployment.RARDeployer@23d08b
status: Deployment FAILED reason: Could not create deployment:
file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp47244jboss-xa-jdbc.rar-contents/drools-jbr
ms.war; - nested throwable: (java.lang.UnsupportedClassVersionError:
org/drools/brms/server/files/AssetFileServlet (Unsupported major.minor
version 49.0))
state: FAILED
watch: file:/C:/jboss-4.0.5.GA/server/default/deploy/jboss-xa-jdbc.rar
altDD: null
lastDeployed: 1180341869062
lastModified: 1180341853031
mbeans:
10:44:33,421 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on
http-0.0.0.0
-8080
10:44:33,718 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
10:44:33,781 INFO [JkMain] Jk running ID=0 time=0/125 config=null
10:44:33,828 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build:
CVSTag=Bran
ch_4_0 date=200610162339)] Started in 47s:219ms
17 years, 6 months
JBRMS Query
by jagaran das
Hi,
I am successfull in inserting rules from a Web interface in to database.
In the recent release of BRMS, Jack Rabbit is used as content repository but we can configure it to store its data in MySql too.
But i want to know is it possible to store the data directly from BRMS engine to Mysql ?
Let suppose we create two tables Rule and Ruleset having the required attributes and insert data from BRMS to those tables in Mysql.
Please let me know is there any solution.
Regards
Jagaran
---------------------------------
Heres a new way to find what you're looking for - Yahoo! Answers
17 years, 6 months
Eclipse Question - Newbie
by J Michael Dean
I have an RCP application that uses Jess and have added code to
switch to JBoss. I can create a sample rules project in Eclipse, but
when I simply move the rules and the Java source from the JBoss rules
project into my RCP, I get extensive errors. I have added the JBoss
builder and the JBoss dependencies to the build path. I get
extensive errors when I merely try to open, edit, or save the drl
file, but I tried to run the code anyway. I guess basic question is
how to add JBoss rules to an existing RCP project.
When the code is executed, it obviously opens the rules because the
errors that I get indicate it has opened it. Here is the exception
trace.
org.drools.rule.InvalidRulePackage: Unable to resolve ObjectType
'Message' : [Rule name=Hello World, agendaGroup=MAIN, salience=0, no-
loop=false]
Unable to resolve ObjectType 'Message' : [Rule name=GoodBye,
agendaGroup=MAIN, salience=0, no-loop=true]
Rule Compilation error : [Rule name=GoodBye, agendaGroup=MAIN,
salience=0, no-loop=true]
sample/rules/Rule_GoodBye_0.java (2:29) : Only a type can be
imported. com.sample.DroolsTest.Message resolves to a package
sample/rules/Rule_GoodBye_0.java (7:267) : message cannot be resolved
sample/rules/Rule_GoodBye_0.java (8:282) : m cannot be resolved
sample/rules/Rule_GoodBye_0.java (8:296) : message cannot be resolved
Rule Compilation error : [Rule name=Hello World, agendaGroup=MAIN,
salience=0, no-loop=false]
sample/rules/Rule_Hello_World_0.java (2:29) : Only a type can be
imported. com.sample.DroolsTest.Message resolves to a package
sample/rules/Rule_Hello_World_0.java (7:271) : message cannot be
resolved
sample/rules/Rule_Hello_World_0.java (8:286) : m cannot be resolved
sample/rules/Rule_Hello_World_0.java (9:328) : m cannot be resolved
sample/rules/Rule_Hello_World_0.java (9:341) : Message.GOODBYE
cannot be resolved to a type
sample/rules/Rule_Hello_World_0.java (10:383) : m__Handle__ cannot
be resolved
sample/rules/Rule_Hello_World_0.java (10:396) : m cannot be resolved
at org.drools.rule.Package.checkValidity(Package.java:368)
at org.drools.common.AbstractRuleBase.addPackage
(AbstractRuleBase.java:250)
at sample.rules.DroolsTest.readRule(DroolsTest.java:64)
at sample.rules.DroolsTest.main(DroolsTest.java:21)
17 years, 6 months
Rules + 2 facts
by Nicolas Carlier
Hy,
Sorry i begin with Jboss rules. But imagine that i have this rule:
rule "Rules 1"
when
rt: Event( name1 : name, id1 : id, name == "SimpleEvent" )
ru: Event( name2: name, id2 : id, name == name1)
then
System.out.println("Rule matchs");
end
And that assert 2 objects "Event", with the same attribute name (here
"SimpleEvent") .
How to do that the rule wasn't executed twice ?
Thanks,
17 years, 6 months
Rules Get Name
by Nicolas Carlier
Hy,
I would know, if it's possible to get the name of the rule in the
ween or then area of the rules. And how do it?
Thanks
17 years, 6 months
Reg : Drools (tottally Confused)
by kranthikumar dalai
Hi to all,
We wrote some rule files (drl) and they are working. But
actually problem we are facing is...............
We are using
1. Jsf UI
2. Spring Integration
3. Hybernate (for db)
4. Drools 3.0 ( trying to use 4.0)
Can i have cycle of drools according to above
methodolagies and how can user(non programmer) will change rules..........
Through decision table and dsl i know.(But i coulndt understand the file how
to retrive to drl { through Expander, But in real time})
(Actually it is personnal Request to Mark) {we have Drool BIG
Picture (but we want some example as abobe)}.
Regards:
Kranthi Dalai
17 years, 6 months
Role of Drools
by kranthikumar dalai
Hi,
We are using drools in our project. We wrote required
rules. Here we have some doubts.
And we are using drools for Leave Applicaiton System.
1. When user applied for leave ..........it has to check whether he is
eligible or not ( because Every company should have different leave
policies).
We are thinking drools part is like the following is correct or
not,,,,,,,,,,,,,,,,, can any give solution
UI---------------------DB-----data-------------------Compare with drools
DRL files---------------------Display out put(like status of leave
Eligibility)
Regards:
Kranthi Dalai
17 years, 6 months