Re: [rules-users] KnowledgeAgent Changeset problems

2012-03-01 Thread Herman Post
There is the use case where the changeset.xml is read from Guvnor - that is 
what we are trying to do, and we don't have the option to specify where the 
schema lives.   Perhaps schema validation should be false by default instead of 
true.


Herm

From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: Wednesday, February 29, 2012 11:51 PM
To: Rules Users List
Subject: Re: [rules-users] KnowledgeAgent Changeset problems


On 1 March 2012 01:18, Davide Sottara 
dso...@gmail.commailto:dso...@gmail.com wrote:

@Alberto:
the applyChangeSet method requires a ChangeSet resource. You should create a
changeset xml which contains the URLresource pointing to your directory.
This URLresource will contain the file://... URL and the resourcetype of
the items contained in the directory (e.g. DRLs)


As for issue #4, I tried to reproduce it. If the package is the same, it
should work... which version of drools are you using?
Davide

If the session isn't derived from a Knowledge Base defining the
global, then this RuntimeException: Unexpected global [service] is
to be expected.

-W

--
View this message in context: 
http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3789085.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.orgmailto: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


Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Herman Post
Thanks Esteban, I will enter in Jira.


Herm

From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Esteban Aliverti
Sent: Thursday, February 16, 2012 10:07 AM
To: Rules Users List
Subject: Re: [rules-users] KnowledgeAgent custom class loader not working for 
PKG resources

Seems like a bug to me. The best you can do is to rise a Jira issue.
Actually, the best you can do is to provide a patch also ;)

Best Regards,



Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com

On Thu, Feb 16, 2012 at 5:59 PM, Hrumph 
herman.p...@imail.orgmailto:herman.p...@imail.org wrote:
Sorry for being a nuisance, but unless we are doing something wrong, this is
a significant issue for us.  We are trying to deploy Drools on a remote
server and hope to pull PKG Changesets and Fact models from Guvnor.  It is
essential that we can use custom Classloaders in our design.

Should I just enter this in Jira?

Thanks,

Herm



--
View this message in context: 
http://drools.46999.n3.nabble.com/KnowledgeAgent-custom-class-loader-not-working-for-PKG-resources-tp3746456p3750972.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.orgmailto: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


Re: [rules-users] KnowledgeAgent custom class loader not working for PKG resources

2012-02-16 Thread Herman Post
In debug,  KnowledgeAgentImpl.createPackageFromResource(), the last line to run 
is DroolsStreamUtils.streamIn(is), then an excecption is caught:

this.listener.exception( new RuntimeException( KnowledgeAgent exception while 
trying to deserialize KnowledgeDefinitionsPackage  , ex));

The exception here says java.lang.ClassNotFoundException: 
org.ihc.hwcir.drools.facts.Patient, which is my Fact model.  It doesn't seem 
to get surfaced anywhere.

As my sample illustrates, if I switch to DRL changeset, or put Patient.jar on 
classpath all works fine.

Thanks,

Herm

From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Esteban Aliverti
Sent: Thursday, February 16, 2012 10:33 AM
To: Rules Users List
Subject: Re: [rules-users] KnowledgeAgent custom class loader not working for 
PKG resources

By the way, in the stacktrace you pasted I only see a NullPointerException, but 
no ClassNotFoundException. Where are you seeing the ClassNotFoundException?

Best Regards,



Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com

2012/2/16 Herman Post herman.p...@imail.orgmailto:herman.p...@imail.org
Thanks Esteban, I will enter in Jira.


Herm

From: 
rules-users-boun...@lists.jboss.orgmailto:rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.orgmailto:rules-users-boun...@lists.jboss.org]
 On Behalf Of Esteban Aliverti
Sent: Thursday, February 16, 2012 10:07 AM
To: Rules Users List
Subject: Re: [rules-users] KnowledgeAgent custom class loader not working for 
PKG resources

Seems like a bug to me. The best you can do is to rise a Jira issue.
Actually, the best you can do is to provide a patch also ;)

Best Regards,



Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Thu, Feb 16, 2012 at 5:59 PM, Hrumph 
herman.p...@imail.orgmailto:herman.p...@imail.org wrote:
Sorry for being a nuisance, but unless we are doing something wrong, this is
a significant issue for us.  We are trying to deploy Drools on a remote
server and hope to pull PKG Changesets and Fact models from Guvnor.  It is
essential that we can use custom Classloaders in our design.

Should I just enter this in Jira?

Thanks,

Herm



--
View this message in context: 
http://drools.46999.n3.nabble.com/KnowledgeAgent-custom-class-loader-not-working-for-PKG-resources-tp3746456p3750972.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.orgmailto:rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.orgmailto: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


RE: [rules-users] Drools Community Clinic Feb 4th 5PM GMT

2009-01-23 Thread Herman Post
Like many folks in the user-list, I too am recently evaluating Drools for my 
organization.  So while I have a basic understanding of the many great features 
of Drools, how to integrate it into a high volume, highly reliable enterprise 
system is still somewhat of a mystery.  One specific thing I have been 
wondering about is the use of StatefulKnowledgeSessions.  It seems in the last 
few years the JEE world has favored simplicity and stateless systems to a large 
degree.  If my system has to be highly reliable, meaning I must guarantee 
(99.x%) that all data gets processed correctly, then how does one handle a 
StatefulKnowledgeSession that crashes?  I have seen discussion about 
serialization of WorkingMemory, but that has to be costly with a large number 
of facts.  Is hardware mirroring the only real solution?  I'd be interested in 
learning more about how Drools is or should be used in this type of environment.

Thanks,

Herman Post
-Original Message-
From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Mark Proctor
Sent: Friday, January 23, 2009 4:43 AM
To: Rules Users List; Rules Dev List
Cc: Burr Sutter
Subject: [rules-users] Drools Community Clinic Feb 4th 5PM GMT

I'm going to try an informal experiment for the 4th of February at 5PM 
GMT (Date/Time subject to change), we will run an online Drools Clinic 
in the form of a Webinar. So the idea here isn't of a 60 minute 
presentation, but really more of a 60 minute interactive QA where we 
will use the desktop to assist in some explanations talking through code 
or examples. What do people think?

Ideally we would have a set of pre-determined questions, with some adhoc 
ones on the day too. Feel free to start listing your Qs here. I want to 
avoid What's  WorkingMemory type questions, but other than that, 
anything is game. Also if anyone has anything cool they would like to 
discuss about how they have used Drools, or just general interesting AI 
ideas, then that's fine too - happy for this just to turn into a fun 
geek chat too.

Mark

___
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


[rules-users] Guvnor Issues

2009-01-22 Thread Herman Post
Hi,

I've been working with the Model feature in Guvnor 5.M4 and have some questions:

1.  Is there a way to delete a fact type once created?

2.  When I declare a field as a Date it gets included as a java.lang.Date and
the fact will not validate.

3.  If I have created two facts, the one created first cannot reference the
second one as the type of a field.  The second on can reference the first.  It
would be nice to support this forward -referencing feature.

I'd be happy to enter any of these in Jira if they are not already present
(couldn't find them).

Thanks,

Herm
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Eclipse Agenda View not working in 5.0.0.M4

2009-01-14 Thread Herman Post
Hi,

I am trying to debug a rule using Eclipse 3.4, Drools 5.0.0.M4, and all I ever 
see in the Agenda View is:

MAIN[nofocus]=BinaryHeapQueueAgendaGroup (id=2259)

I can step into the rule successfully and WorkingMemory View works too.

Any suggestions?

Thanks,

Herman Post
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users