Re: [rules-users] Problem using KnowledgeAgent

2009-02-20 Thread Mark Proctor
, 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

Re: [rules-users] Problem using KnowledgeAgent

2009-02-20 Thread Mark Proctor
Proctor [mailto:mproc...@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

Re: [rules-users] Problem using KnowledgeAgent

2009-02-20 Thread Mark Proctor
*From:* Mark Proctor [mailto:mproc...@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

Re: [rules-users] Problem using KnowledgeAgent

2009-02-19 Thread Dan Seaver
Yes, the exception occurs on both the filesystem and Guvnor, and it happens whether I set the value to true or false. 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.sea...@ge.com

Re: [rules-users] Problem using KnowledgeAgent

2009-02-19 Thread Mark Proctor
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

Re: [rules-users] Problem using KnowledgeAgent

2009-02-19 Thread Edson Tirelli
The tests are fixed and committed to revision #25353. []s Edson 2009/2/19 Mark Proctor mproc...@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

Re: [rules-users] Problem using KnowledgeAgent

2009-02-19 Thread Mark Proctor
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:

RE: [rules-users] Problem using KnowledgeAgent

2009-02-19 Thread Seaver, Daniel (GE Healthcare)
From: Mark Proctor [mailto:mproc...@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

[rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Dan Seaver
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? Also, I'm

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Mark Proctor
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.

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Dan Seaver
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

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Michael Neale
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.sea...@ge.com wrote: Mark, I have some more information for you. The exception occurs when I issue: agent.monitorResourceChangeEvents(true|false) If I

Re: [rules-users] Problem using KnowledgeAgent

2009-02-18 Thread Mark Proctor
Michael Neale wrote: So from the filesystem it won't pick up changes? (does it throw the same exception). I believe the exception shown is a red herring, as the looping thread of the scanner is interrupted as part of the stop() process and we log that exception, incase the exception was