Dear Michael, Thanks for the reply. The examples run fine now. When is Drools 3 to be expected?
Cheers, André > -----Ursprüngliche Nachricht----- > Von: Michael Neale [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 4. März 2006 03:01 > An: [email protected] > Betreff: Re: [drools-dev] Drools 2.5 > > Condition and Consequence factories must now be serialzable (due to the > way > that rules are deployed, behind the scenes in this case). > > The examples haven't been updated unfortunately (and are not part of the > test suite). > > Drools 3 will have a very different (and I think easier) concept of DSLs, > by > the way (of course people are free to port the old XML XSD way if they > really need it). > > > Michael. > > On 3/3/06, André Ludwig <[EMAIL PROTECTED]> wrote: > > > > Dear all, > > > > Since using Drools 2.5 I get the error below with the provided Drools > > 2.5-House example and my own implementations (which worked fine under > > Drools > > 2.1). > > > > Does anyone know what the reason could be? I would be happy about any > > hints > > to solve this problem. Or should I wait for Drools 3.0 and remain with > 2.1 > > in the meantime? > > > > Thanks a lot! > > > > Best regards, André > > > > > > java.io.NotSerializableException: > DroolsForSla.House.HouseConditionFactory > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown > Source) > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > at java.io.ObjectOutputStream.writeObject(Unknown Source) > > at java.util.ArrayList.writeObject(Unknown Source) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown > Source) > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown > Source) > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > at java.io.ObjectOutputStream.writeObject(Unknown Source) > > at java.util.ArrayList.writeObject(Unknown Source) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown > Source) > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) > > at java.io.ObjectOutputStream.writeSerialData(Unknown Source) > > at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown > Source) > > at java.io.ObjectOutputStream.writeObject0(Unknown Source) > > at java.io.ObjectOutputStream.writeObject(Unknown Source) > > at org.drools.smf.Jarer.addObject(Jarer.java:77) > > at > > > org.drools.smf.RuleSetCompiler.getBinaryDeploymentJar(RuleSetCompiler.java > > :1 > > 12) > > at > > > org.drools.io.RuleBaseLoader.addFromRuleSetLoader(RuleBaseLoader.java:163) > > at DroolsForSla.House.HouseExample.main(HouseExample.java:68) > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: > 02.03.2006 > > > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03.03.2006 > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03.03.2006
