OCEP 11g: CEP Deployment Fails when Using User-Defined Aggregation Functions in More than One CQL Processor
Last updated on SEPTEMBER 08, 2012
Applies to:Oracle Event Processing - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
The project fails at deployment time when a user-defined aggregation function is used in more than one CQL processor.
[java] <Jun 27, 2012 2:47:59 AM GMT-08:00> <Emergency> <CQLServer> <BEA-000000> <register function >>doubleInt(c0 int) return int as language java instance "multi_thread_partition_counter_processor1_doubleInt"
[java] implementation instance multi_thread_partition_counter_processor1_doubleInt for function not found. Register an implementation instance in user function locator feature.>
[java] <Jun 27, 2012 2:47:59 AM GMT-08:00> <Debug> <CQLServerTrace> <BEA-000000> <
Steps to reproduce:
- Write java code for user-defined aggregation and user-defined single row functions and use them in a CQL processor by wiring them using in the Spring config. Use ordering-constraint="PARTITION_ORDERED" in the CQL.
- Re-use the same user-defined aggregation and user-defined single row function in another CQL processor. Deployment fails with the error that implementation instance for the user-defined single row function was not found.
- Remove the PARTITION_ORDERED ordering-constraint from the CQL processors. Code deploys succesfully again.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms