[rules-users] RE: rules precompilation

ekke ekkehard at gentz-software.de
Wed Oct 3 16:07:57 EDT 2007


sergey,

just tried it:
exported a package with rules as stream
(using the writeExternal() from Package)

then in another run I created new RuleBase, added new Package,
then import the rules into this empty Package (using the readExternal() from
Package)
then added some facts, execute the rules,

tested if all rules are there,
tested if the Facts are in workingMemory - all ok

(using snapshot 4.0.2, eclipse 3.3, osx 10.4.10)

ekke

Manukyan, Sergey wrote:
> 
> Ming, Ekke,
> 
> After deserialising the Package back - getting exception when inserting
> facts:
> 
> Exception thrown : java.lang.NoClassDefFoundError: XXXShadowProxy
> 
> XXX - is my class name
> 
> Any ideas?
> 
> -Sergey
> 
> 
> 
> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Jin, Ming
> Sent: Wednesday, October 03, 2007 1:50 PM
> To: Rules Users List
> Subject: RE: [rules-users] rules precompilation
> 
> Sergey,
> 
> I am using precompiled rules.  Serializing instances of
> org.drools.rule.Package works for me.
> 
> Thanks,
> -Ming 
> 
> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Manukyan,
> Sergey
> Sent: Wednesday, October 03, 2007 12:29 PM
> To: Rules Users List
> Subject: [rules-users] rules precompilation
> 
> 
> Folks,
> 
> Where can I find information on how to pre-compile rules in 4.0.1?
> 
> Thanks,
> 
> -Sergey
> 
> 
> **********************
> ** LEGAL DISCLAIMER **
> **********************
> 
> This E-mail message and any attachments may contain legally privileged,
> confidential or proprietary information. If you are not the intended
> recipient(s), or the employee or agent responsible for delivery of this
> message to the intended recipient(s), you are hereby notified that any
> dissemination, distribution or copying of this E-mail message is
> strictly prohibited. If you have received this message in error, please
> immediately notify the sender and delete this E-mail message from your
> computer.
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-have-your-emails-ignored-tf4562290.html#a13026864
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list