Bug 724194 (BRMS-137)

Summary: CCE when trying to use own accumulate functions
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jaroslaw Kijanowski <kijanowski>
Component: BRM (Guvnor)Assignee: Jervis Liu <jliu>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.0.0 GACC: mproctor
Target Milestone: ---   
Target Release: 5.1.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-137
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-10 15:20:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaroslaw Kijanowski 2009-06-08 06:50:01 UTC
securitylevel_name: Public

Comment 1 Jaroslaw Kijanowski 2009-06-08 06:50:23 UTC
Link: Added: This issue depends GUVNOR-358


Comment 2 David Le Sage 2010-10-14 00:43:42 UTC
Draft release note text states:


https://jira.jboss.org/browse/GUVNOR-358
A stack-trace error occurred when the user tried to create custom accumulate functions. This was
due to the Exernalizable interface being improperly implemented. Changes have been made so
that the Exernalizable interfaces is now deployed correctly and that the functions.jar file has been
moved to the correct directory.


Comment 3 Dana Mison 2010-10-26 06:55:49 UTC
Writer: Added: dlesage


Comment 4 Dana Mison 2010-10-26 07:10:30 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue


Comment 5 Dana Mison 2010-10-27 03:05:55 UTC
Release Notes Text: Added: test


Comment 6 Dana Mison 2010-10-27 03:13:20 UTC
Release Notes Text: Removed: test 


Comment 7 David Le Sage 2010-11-15 06:58:03 UTC
Release Notes Text: Added: Draft release note text states:


https://jira.jboss.org/browse/GUVNOR-358
A stack-trace error occurred when the user tried to create custom accumulate functions. This was
due to the Exernalizable interface being improperly implemented. Changes have been made so
that the Exernalizable interfaces is now deployed correctly and that the functions.jar file has been
moved to the correct directory. 


Comment 8 Jiri Locker 2010-11-30 14:30:00 UTC
Link: Added: This issue is related to BRMS-476


Comment 9 Jiri Locker 2010-12-10 14:21:15 UTC
Labels: Removed: rn-dlesage rn-done-resolved Added: qe-needs-test rn-dlesage rn-done-resolved


Comment 10 Jiri Locker 2010-12-10 15:20:45 UTC
Fix verified.

org.drools.runtime.rule.AccumulateFunction interface now extends Externalizable and custom accumulate functions that implement it can now be referenced without causing java.io.NotSerializableException.

Custom function classes need to be placed in WEB-INF/classes or WEB-INF/lib, packed in a JAR archive.