Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
Exception thrown when Dashboard-, Query- and InferenceAgent class are in the same ProcessUnit and collocated queries are used.
Environment:
===========
TIBCO BusinessEvents 5.x
All Operating Systems
Symptoms:
=========
Exception thrown:
default Error [main] - [query.functions] Error occurred while starting the dynamic query session
com.tibco.cep.query.stream.monitor.CustomException: com.tibco.cep.query.stream.impl.rete.service.QueryAgent:be.agent.query.internal.dynamic : com.tibco.cep.runtime.service.cluster.events.notification.ClusterEntityListener is null/not ready.
at com.tibco.cep.query.stream.impl.rete.service.QueryAgent.onInit(QueryAgent.java:100)
at com.tibco.cep.runtime.service.cluster.agent.AbstractCacheAgent.init(AbstractCacheAgent.java:113)
at com.tibco.cep.query.functions.QueryUtilFunctions$DynamicQueryAgentStarter.call(QueryUtilFunctions.java:481)
at com.tibco.cep.dashboard.plugin.beviews.common.query.ViewsQueryExecutorFactory.init(SourceFile:80)
at com.tibco.cep.dashboard.plugin.beviews.BEViewsStartup.startup(SourceFile:61)
at com.tibco.cep.dashboard.psvr.plugin.PlugInsStartUpShutDownProviderService.doStart(SourceFile:54)
at com.tibco.cep.dashboard.management.Manageable.start(SourceFile:65)
at com.tibco.cep.dashboard.management.Service.start(SourceFile:141)
at com.tibco.cep.dashboard.management.Service.start(SourceFile:146)
at com.tibco.cep.dashboard.management.Service.start(SourceFile:146)
at com.tibco.cep.dashboard.integration.be.DashboardSessionImpl.start(SourceFile:98)
at com.tibco.cep.runtime.service.cluster.agent.InferenceAgent.onActivate(InferenceAgent.java:985)
at com.tibco.cep.runtime.service.cluster.agent.AbstractCacheAgent.activate(AbstractCacheAgent.java:152)
at com.tibco.cep.runtime.service.cluster.agent.AbstractCacheAgent.start(AbstractCacheAgent.java:165)
at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.tryActivateAgent(AgentRuntimePolicyManager.java:169)
at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.stabilizeCluster(AgentRuntimePolicyManager.java:245)
at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.tryActivateLocalAgents(AgentRuntimePolicyManager.java:293)
at com.tibco.cep.runtime.service.cluster.agent.DefaultAgentManager.start(DefaultAgentManager.java:99)
at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.start(MultiAgentCluster.java:253)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startCluster(RuleServiceProviderImpl.java:786)
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)
Cause:
======
Using Dashboard-, Query- and InferenceAgent class in the same ProcessUnit is not allowed.
Resolution:
===========
Create and start a new ProcessUnit(PU) that includes the Dashboard agent-class only and remove the Dashboard agent-class from the other PU .
Note: This is a known issue and reported as a restriction in the release notes of TIBCO BusinessEvents Views.
BE-17730
Summary: A runtime exception is thrown if an inference agent and a dashboard agent are started together as one processing unit(PU) and both try to access the dynamic query agent.
Workaround None. Starting more than one agent in a PU (or a single JVM), where all of the agents access the dynamic query agent, is not supported.