Could you please try using 5.4.0-SNAPSHOT? I tried to reproduce your error in that version, but I couldn't. Using 5.3.1 I experienced the error you mentioned. Please note that in order to change drools version you need to have a binary .pkg compiled using the same version.
Best Regards, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2012/2/16 Herman Post <herman.p...@imail.org> > 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, > > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > > Esteban Aliverti > - Developer @ http://www.plugtree.com > - Blog @ http://ilesteban.wordpress.com > > **** > > 2012/2/16 Herman Post <herman.p...@imail.org>**** > > 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, > > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > > 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.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.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