[ http://jira.codehaus.org/browse/DROOLS-485?page=comments#action_60611 ]
Michael Neale commented on DROOLS-485: -------------------------------------- yes need to be static, and should be serializable if you are loading the rule base the normal way. Most app servers do serialize the first time you bind to JNDI. > Functions in java semantics drl files cannot be found > ----------------------------------------------------- > > Key: DROOLS-485 > URL: http://jira.codehaus.org/browse/DROOLS-485 > Project: drools > Type: Bug > Components: semantics.java > Versions: 2.5 > Environment: Red Hat Linux, JBoss 4.0.3, jdk1.4.2_09 > Reporter: Bruce Haugland > > > In Drools 2.1 I had some .drl files with <java:functions></java:functions> in > them. These functions were working fine. When I switched to 2.5 I now get > errors stating that those functions cannot be found. I saw an old bug from > 2.0 relating to the serialization of rules losing functions. Is this bug > back. > Note: I am using the JNDI to point to the rulebases which does serialize them. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
