Re: [rules-users] rules precompilation
sergey, one possible way: after adding your rules to a package, you can use yourPackage.writeExternal() to store your package (with compiled rules) anywhere. later you can get the compiled rules back with ...Package.readExternal() ekke Manukyan, Sergey wrote: 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@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#a13024208 Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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@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] rules precompilation
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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@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 mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] rules precompilation
Did you save the Package right after the creation from PackageBuilder, or after some other processes? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Wednesday, October 03, 2007 2:21 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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@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 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
RE: [rules-users] rules precompilation
Did it immediately... If you don't mind could you post code that works? Thanks. -Sergey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jin, Ming Sent: Wednesday, October 03, 2007 3:40 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation Did you save the Package right after the creation from PackageBuilder, or after some other processes? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manukyan, Sergey Sent: Wednesday, October 03, 2007 2:21 PM To: Rules Users List Subject: RE: [rules-users] rules precompilation 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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@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 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 mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] rules precompilation
You didn't even bother to read the thread you interrupted here, did you Sergey? Manukyan, Sergey's message received 10/3/2007 1:29 PM: Folks, Where can I find information on how to pre-compile rules in 4.0.1? Thanks, -Sergey ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users