Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
Collocated query sample (BE_HOME/examples/event_stream_processing/CollocatedInferenceAndQuery) - CDD file update required when starting a separate CacheAgent
Environment:
===========
TIBCO BusinessEvents 5.1.1
All Operating Systems
Symptoms:
=========
Failed to start InferenceAgent when a separate CacheAgent has been started before the InferenceAgent.
Exception :
<timestamp> <agent> Fatal [main] - [container.standalone] com.tibco.cep.common.exception.LifecycleException: java.lang.RuntimeException: Error occurred while creating entity DAO [dist-unlimited-nobs-InferenceAndQuery--be_gen_Concepts_Common_Customer]
com.tibco.cep.common.exception.LifecycleException: com.tibco.cep.common.exception.LifecycleException: java.lang.RuntimeException: Error occurred while creating entity DAO [dist-unlimited-nobs-InferenceAndQuery--be_gen_Concepts_Common_Customer]
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startCluster(RuleServiceProviderImpl.java:794)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:261)
at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:151)
at com.tibco.cep.container.standalone.BEMain.main(SourceFile:69)
Caused by: com.tibco.cep.common.exception.LifecycleException: java.lang.RuntimeException: Error occurred while creating entity DAO [dist-unlimited-nobs-InferenceAndQuery--be_gen_Concepts_Common_Customer]
at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.start(MultiAgentCluster.java:257)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startCluster(RuleServiceProviderImpl.java:786)
... 3 more
Caused by: java.lang.RuntimeException: Error occurred while creating entity DAO [dist-unlimited-nobs-InferenceAndQuery--be_gen_Concepts_Common_Customer]
at com.tibco.cep.runtime.service.dao.impl.tibas.ASEntityDao.startHook(SourceFile:267)
at com.tibco.cep.runtime.service.dao.impl.tibas.ASEntityDao.startHook(SourceFile:65)
at com.tibco.cep.runtime.service.om.impl.AbstractEntityDao.start(AbstractEntityDao.java:110)
at com.tibco.cep.runtime.service.cluster.system.MetadataCache.loadTypes(MetadataCache.java:282)
at com.tibco.cep.runtime.service.cluster.system.MetadataCache.start(MetadataCache.java:119)
at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.start(MultiAgentCluster.java:245)
... 4 more
Caused by: com.tibco.as.space.ASException: SYS_ERROR (space_def_mismatch - SpaceDef mismatch space=dist-unlimited-nobs-InferenceAndQuery--be_gen_Concepts_Common_Customer)
at Native.SpaceDefSpace::putSpaceDef(SpaceDefSpace.cpp:147)
at Native.SpaceManager::defineSpace(SpaceManager.cpp:738)
at Native.Metaspace::defineSpace(Metaspace.cpp:580)
at Native.API_Metaspace_DefineSpace(ApiMetaspace.cpp:322)
at Native.Java_com_tibco_as_space_impl_NativeImpl_metaspaceDefineSpace(MetaspaceMessage.cpp:128)
at com.tibco.as.space.impl.NativeImpl.metaspaceDefineSpace(Native Method)
at com.tibco.as.space.impl.ASMetaspace.defineSpace(ASMetaspace.java:595)
at com.tibco.cep.as.kit.map.SpaceMapCreator.create(SourceFile:109)
at com.tibco.cep.runtime.service.dao.impl.tibas.ASEntityDao.startHook(SourceFile:226)
... 9 more
Cause:
======
Configuration error.
Resolution:
========
Update the CDD file and move the property be.engine.cluster.as.tuple.explicit (value : true) from the AgentClass (InferenceAgent) to the Cluster area
(CR BE-19866 exist to update the CDD file in next version(s))
Note: Catalog function Query.Util.startDynamicQuerySession() is not available in TIBCO BusinessEvents version 5.1.1, so it is not required to execute that catalog function in the startup RuleFunction of the InferenceAgent as mentioned in the manual (CR BE-19867 exists to update the manual).