Cache server engine with shared nothing configuration throws ASSerializerException.
book
Article ID: KB0089734
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ============ ASSerializerException thrown in cache server engine with shared nothing configuration.
Environment: ============ TIBCO BusinessEvents 5.1.x Operating System(s): All
Symptoms: ============ com.tibco.as.space.impl.serializer.ASSerializerException: Cast error for field name=id Caused by: com.tibco.as.space.impl.serializer.ASSerializerException: Cast error for field name=id Caused by: java.lang.ClassCastException: java.lang.Long cannot be casted to String
Resolution: ============ In order to avoid this error in cache server agents for shared nothing configuration should ensure that none of the attribute names in any of the BusinessEvents ontology objects inside the project has the value id . TIBCO BusinessEvents uses the id value internally and it is recommended to not use the the string "id" in attribute name values . Note that the above ASSerializerException error is thrown only in case of shared nothing configuration and may or may not give any errors for other persistence configuration types .
Example : If SQLServer is used as the backend database then the above error may or may not be thrown but it is recommended to not use the string "id" as any of the attribute names in shared nothing configuration . In future documents and guides of TIBCO BusinessEvents the string "id" has been asked to be included as a keyword with restricted client side usage (Refer to document defect BE-18566 in jira.tibco.com).
Issue/Introduction
Cache server engine with shared nothing configuration throws ASSerializerException.