Unable to start TIBCO BusinessEvents agents (CacheServer and InferenceAgent) after deployment (TIBCO Administrator).

Unable to start TIBCO BusinessEvents agents (CacheServer and InferenceAgent) after deployment (TIBCO Administrator).

book

Article ID: KB0085714

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Unable to start TIBCO BusinessEvents agents (CacheServer and InferenceAgent) after deployment (TIBCO Administrator).

Environment:
===========
BE 3.0.1

Symptoms:
=========
NullPointerException on startup:

&ltagent> Error [FTAsyncQueueManager:&ltagent>] - NodeManager failed to  Start Channels
java.lang.RuntimeException: java.lang.NullPointerException
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElementFromStore(CoherenceStore.java:1300)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElement(CoherenceStore.java:1012)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElement(CoherenceStore.java:993)
    at com.tibco.cep.runtime.service.om.coherence.cluster.agents.InferenceAgent.getNamedInstance(InferenceAgent.java:456)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getNamedInstance(CoherenceStore.java:259)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.loadNamedInstances(RuleSessionImpl.java:470)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.start(RuleSessionImpl.java:284)
    at com.tibco.cep.runtime.session.impl.RuleSessionManagerImpl.start(RuleSessionManagerImpl.java:238)
    at com.tibco.cep.runtime.session.impl.FTAsyncRuleServiceProviderImpl.startChannels(FTAsyncRuleServiceProviderImpl.java:485)
    at com.tibco.cep.runtime.service.om.FTAsyncQueueManagerImpl.dispatchMessage(FTAsyncQueueManagerImpl.java:177)
    at com.tibco.cep.runtime.service.om.FTAsyncQueueManagerImpl.notifyControllers(FTAsyncQueueManagerImpl.java:58)
    at com.tibco.cep.runtime.service.om.FTAsyncQueueManagerImpl.run(FTAsyncQueueManagerImpl.java:128)
Caused by: java.lang.NullPointerException
    at com.tibco.cep.runtime.service.om.coherence.cluster.agents.InferenceAgent.getElementByExtId(InferenceAgent.java:2075)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElementFromStore(CoherenceStore.java:1298)
    ... 11 more
SamplingBEEngine-Sampling Error [FTAsyncQueueManager:SamplingBEEngine-Sampling] - Error dispatching msg:FTAsyncNodeControllerMsgs[Start Channels]
java.lang.RuntimeException: java.lang.NullPointerException
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElementFromStore(CoherenceStore.java:1300)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElement(CoherenceStore.java:1012)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElement(CoherenceStore.java:993)
    at com.tibco.cep.runtime.service.om.coherence.cluster.agents.InferenceAgent.getNamedInstance(InferenceAgent.java:456)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getNamedInstance(CoherenceStore.java:259)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.loadNamedInstances(RuleSessionImpl.java:470)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.start(RuleSessionImpl.java:284)
    at com.tibco.cep.runtime.session.impl.RuleSessionManagerImpl.start(RuleSessionManagerImpl.java:238)
    at com.tibco.cep.runtime.session.impl.FTAsyncRuleServiceProviderImpl.startChannels(FTAsyncRuleServiceProviderImpl.java:485)
    at com.tibco.cep.runtime.service.om.FTAsyncQueueManagerImpl.dispatchMessage(FTAsyncQueueManagerImpl.java:177)
    at com.tibco.cep.runtime.service.om.FTAsyncQueueManagerImpl.notifyControllers(FTAsyncQueueManagerImpl.java:58)
    at com.tibco.cep.runtime.service.om.FTAsyncQueueManagerImpl.run(FTAsyncQueueManagerImpl.java:128)
Caused by: java.lang.NullPointerException
    at com.tibco.cep.runtime.service.om.coherence.cluster.agents.InferenceAgent.getElementByExtId(InferenceAgent.java:2075)
    at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.getElementFromStore(CoherenceStore.java:1298)
    ... 11 more


Cause:
======
Both CacheServer and InferenceAgent are deployed in FaultTolerance Mode.

Resolution:
========
TIBCO BusinessEvents agents  (ObjectManagement type: Cache) could not be deployed in Administrator FaultTolerance mode.

Note:Fault Tolerance deployment for TIBCO BusinessEvents agents are described in the manual "Chapter 14: Understanding Object Management and Fault Tolerance"

Issue/Introduction

Unable to start TIBCO BusinessEvents agents (CacheServer and InferenceAgent) after deployment (TIBCO Administrator).