Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Description:
Concept property name "id" could be used but when Cache is enabled project will not work properly.
Symptoms:
Exception in CacheServer log when preload concept.
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [runtime.service] Error while Pre-loading class <entityURL>
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] java.lang.RuntimeException: com.tibco.as.space.RuntimeASException: com.tibco.as.space.ASException: com.tibco.as.space.impl.serializer.ASSerializerException: Cast error for field name=id
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] at com.tibco.cep.as.kit.map.SpaceMap.traceAsException(SourceFile:102)
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] at com.tibco.cep.as.kit.map.SpaceMap.putAll(SourceFile:240)
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] at com.tibco.cep.runtime.service.om.impl.AbstractEntityDao.putAll(AbstractEntityDao.java:162)
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] at com.tibco.be.jdbcstore.JdbcStore.a(SourceFile:2971)
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] at com.tibco.be.jdbcstore.JdbcStore.loadObjects(SourceFile:1923)
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] at com.tibco.cep.runtime.service.cluster.backingstore.ClusterCacheRecoveryManager._load(ClusterCacheRecoveryManager.java:661)
<timestamp> <agentname> Error [ClusterCacheRecoveryManager.Thread.<id>] - [root] at com.tibco.cep.runtime.service.cluster.backingstore.ClusterCacheRecoveryManager.load(ClusterCacheRecoveryManager.java:607)
Cause:
TIBCO ActiveSpaces uses the property name "id" to store the internal entity id (@id, backingstore column name $id). It is not allowed to use "id" as a property name.
Two CR's have been raised:
CR BE-20043 - update the manual and add "id" to the list of reservered words
ER 20045 - disallow attribute name "id" in studio