Thanks
Ravendra
-----Original Message-----
From: rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of
rules-users-request@lists.jboss.org
Sent: 20 February 2009 16:59
To: rules-users@lists.jboss.org
Subject: rules-users Digest, Vol 27, Issue 59
Send rules-users mailing list submissions to
rules-users@lists.jboss.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.jboss.org/mailman/listinfo/rules-users
or, via email, send a message with subject or body 'help' to
rules-users-request@lists.jboss.org
You can reach the person managing the list at
rules-users-owner@lists.jboss.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of rules-users digest..."
Today's Topics:
1. Re: Problem with viewing the Business Rule Assets under the
Rules Package in Drools Guvnor (Toni Rikkola)
2. Re: Problem using KnowledgeAgent (Mark Proctor)
----------------------------------------------------------------------
Message: 1
Date: Fri, 20 Feb 2009 09:58:44 +0200
From: Toni Rikkola <trikkola@redhat.com>
Subject: Re: [rules-users] Problem with viewing the Business Rule
Assets under the Rules Package in Drools Guvnor
To: Rules Users List <rules-users@lists.jboss.org>
Message-ID: <499E62B4.4010005@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
Do you have any user permissions set? It is possible that something is
not permitting you to see it. In that case this might be a bug, because
there is a way to get around it.
In the next Drools release the asset should also be visible in archives
after you have archived the package.
Toni Rikkola
guyt1122@aim.com wrote:
Hello,
I have noticed a strange behavior with the Drools Guvnor where I can
not see any of my web guided decision table from the Rules Package
"Business Rule Asset" view. I can navigate to this decision table
using the "Assets View" and when I click on the "more info" button the
addition information on the left hand side of the decision table
clearly shows that the asset belongs to the expected package that I
can not see it from. I have tried to archive the decision table and
it does not show up in the archives. I have tried changing the
package name on the asset and then I tried to navigate to the asset
from the other package, I still can not see it. Note, the package
somehow gets disconnects from the package after a restart the app
server. The other strange behavior is that I can make changes to the
decision table and then rebuild the packages and the changes show in
the package source. I just can not see the decision table by from the
package...
Note, I have configured JackRabbit to store the repository in a
database along with a journal node for clustering.
Environment Details:
+ App Server - JBoss 4.0.3.sp1
+ Drools 5.0M5
+ Database - Microsoft Sql Server
+ JackRabbit Repo - Configured to use a Jndi data source configured in
JBoss.
Any advise would be appreciated.
Thanks,
-GuyT1122
------------------------------------------------------------------------
*A Good Credit Score is 700 or Above. See yours in just 2 easy steps!
<http://pr.atwola.com/promoclk/100126575x1218822736x1201267884/aol?redir
=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%2
6hmpgID%3D62%26bcd%3DfebemailfooterNO62>*
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
------------------------------
Message: 2
Date: Fri, 20 Feb 2009 15:58:55 +0000
From: Mark Proctor <mproctor@codehaus.org>
Subject: Re: [rules-users] Problem using KnowledgeAgent
To: Rules Users List <rules-users@lists.jboss.org>
Message-ID: <499ED33F.5090003@codehaus.org>
Content-Type: text/plain; charset="iso-8859-1"
Seaver, Daniel (GE Healthcare) wrote:
Thanks for the clarification, Mark.
I followed your links to get the latest of the greatest. Happy to see
all those blue circles in the build history. I downloaded:
drools-5.0.0.SNAPSHOT-eclipse-all.zip
drools-5.0.0.SNAPSHOT-guvnor.zip
Then I updated eclipse with the contents of ...eclips-all.zip, Started
eclipse and created a new runtime (which I put in my
jboss/server/default/lib folder and verified that the ones I had
installed there before were changed). I replaced the M5 version of
guvnor with the new one, and restarted everything.
That should be all I need to do, right? Been at this for a while, so I
may be having a mental lapse.
Anyways, several projects that I could build before the upgrade don't
build anymore. The build process hangs in Guvnor, as well as in
Eclipse.
This is the last output I get in the server's log when trying to
compile the package I'm using for our test:
21:27:25,132 INFO [STDOUT] DEBUG 19-02 21:27:25,132
(_SelectorManager.java:<init>:27_) Loading selectors
21:27:25,195 INFO [STDOUT] DEBUG 19-02 21:27:25,195
(_ContentManager.java:<init>:45_) Loading content properties
The last thing I see in Eclipse when I try a complete clean on our
primary application is:
Building Workspace - Building all...: Invoking "Drools Builder' on
'/cbo-ejb'.
The status shows 46% complete and just hangs there.
I think it's time for a cocktail and a nice long sleep. I'll check in
tomorrow before rolling back to M5.
can you look in the error logs? I was really hoping to CR1 over the
weekend. But we need to be sure these issues are gone.
Dan
------------------------------------------------------------------------
*From:* Mark Proctor [mailto:mproctor@codehaus.org]
*Sent:* Thursday, February 19, 2009 3:25 PM
*To:* Rules Users List
*Subject:* Re: [rules-users] Problem using KnowledgeAgent
On the left side you see a list of red and blue circles, red indicates
that build was a failure and blue a success:
https://hudson.jboss.org/hudson/job/drools/
The last successful build has it's artifacts at:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/
trunk/target/
As you can see the last build was successful so now you can get all
the binaries from above.
Mark
Edson Tirelli wrote:
The tests are fixed and committed to revision #25353.
[]s
Edson
2009/2/19 Mark Proctor <mproctor@codehaus.org
<mailto:mproctor@codehaus.org>>
Dan Seaver wrote:
Yes, the exception occurs on both the filesystem and Guvnor, and
it happens
whether I set the value to true or false.
I found the issue and reviewed the agent code and this has been
fixed in trunk. Edson si just fixing two failing tests, but as
soon as the build turns blue again grab the latest artifact
builds and give it a try:
https://hudson.jboss.org/hudson/job/drools/
Mark
Michael Neale wrote:
So from the filesystem it won't pick up changes? (does it throw
the
same exception).
On Thu, Feb 19, 2009 at 5:34 AM, Dan Seaver <dan.seaver@ge.com>
<mailto:dan.seaver@ge.com> wrote:
Mark,
I have some more information for you. The exception occurs
when I issue:
agent.monitorResourceChangeEvents(true|false)
If I comment out that code, I don't get the exception, but I
don't get
changes either. I tried it with both the Guvnor repository and
with a
deployed package on the file system.
I won't have time to create the test you requested until the
weekend. Let
me
know if you still want it.
Dan
Mark Proctor wrote:
Dan Seaver wrote:
I setup a KnowledgeAgent using the example code in the
JavaDoc for
KnowledgeAgentFactory to access a compiled package in
Guvnor. The
package
runs fine, but changes to the package are not picked up. I
believe this
is
due to the ChangeSet notification thread being interrupted.
But why?
Hmm that's not good. I have the following unit test:
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-compiler/src/
test/java/org/drools/agent/KnowledgeAgentTest.java
Could you provide an update for new tests for detecting url
changes?
When making the test you might find it easier to look at the
previous
ruleagent tests:
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-core/src/test
/java/org/drools/agent/URLScannerTest.java
Mark
Also, I'm getting some messages about failing to read schema
document.
I
think it is caused by the xml for the ChangeSet, but I'm
using the
example
from the JavaDocs.
We haven't provided an XSD yet, so it'll provide schema
validation
issues, those can be ignored.
Here's a snippet from the log:
[2009:02:48 23:02:905:info] KnowledegAgent has started
listening for
ChangeSet notifications
[2009:02:48 23:02:905:info] KnowledgAgent created, with
configuration:
monitorChangeSetEvents=true scanResources=true
scanDirectories=true
[2009:02:48 23:02:905:exception
java.lang.RuntimeException: KnowledgeAgent ChangeSet
notification
thread
has
been interrupted
at
org.drools.agent.impl.KnowledgeAgentImpl$ChangeSetNotificationDetector.r
un(KnowledgeAgentImpl.java:465)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.re
portInterruptAfterWait(Unknown
Source)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.aw
ait(Unknown
Source)
at
java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at
org.drools.agent.impl.KnowledgeAgentImpl$ChangeSetNotificationDetector.r
un(KnowledgeAgentImpl.java:463)
... 1 more
[2009:02:48 23:02:937:info] KnowledegAgent has stopped
listening for
ChangeSet notifications
(null: 1, 207): schema_reference.4: Failed to read schema
document
'drools-change-set-5.0.xsd', because 1) could not find the
document; 2)
the
document could not be read; 3) the root element of the
document is not
<xsd:schema>.
(null: 1, 207): cvc-elt.1: Cannot find the declaration of
element
'change-set'.
(null: 1, 216): schema_reference.4: Failed to read schema
document
'drools-change-set-5.0.xsd', because 1) could not find the
document; 2)
the
document could not be read; 3) the root element of the
document is not
<xsd:schema>.
(null: 1, 343): schema_reference.4: Failed to read schema
document
'drools-change-set-5.0.xsd', because 1) could not find the
document; 2)
the
document could not be read; 3) the root element of the
document is not
<xsd:schema>.
[2009:02:48 23:02:390:info] KnowledgAgent applying ChangeSet
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
<mailto:rules-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users
--
View this message in context:
http://www.nabble.com/Problem-using-KnowledgeAgent-tp22073944p22085204.h
tml
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
<mailto:rules-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users
--
Michael D Neale
home: www.michaelneale.net <http://www.michaelneale.net>
blog: michaelneale.blogspot.com
<http://michaelneale.blogspot.com>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
<mailto:rules-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org <mailto:rules-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com <http://www.jboss.com>
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.jboss.org/pipermail/rules-users/attachments/20090220/571d8e
a1/attachment.html
------------------------------
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
End of rules-users Digest, Vol 27, Issue 59
*******************************************
Please help Logica to respect the environment by not printing this email / Merci d'aider Logica à préserver l'environnement en évitant d'imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users