Resolution: The following error occurs when stating BE Cache agents.
Error Message:
runtime.service] Error occurred while activating agent [InferenceAgent:6]java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header: 55003762 at com.tibco.cep.runtime.service.cluster.agent.InferenceAgent.recover(InferenceAgent.java:2695)
at com.tibco.cep.runtime.service.cluster.agent.InferenceAgent.onPrepareToActivate(InferenceAgent.java:1328)
at com.tibco.cep.runtime.service.cluster.agent.AbstractCacheAgent.prepareToActivate(AbstractCacheAgent.java:126)
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:176)
at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.stabilizeCluster(AgentRuntimePolicyManager.java:252)
at com.tibco.cep.runtime.service.cluster.agent.AgentRuntimePolicyManager.tryActivateLocalAgents(AgentRuntimePolicyManager.java:306)
at com.tibco.cep.runtime.service.cluster.agent.DefaultAgentManager.start(DefaultAgentManager.java:106)
at com.tibco.cep.runtime.service.cluster.MultiAgentCluster.start(MultiAgentCluster.java:272)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startCluster(RuleServiceProviderImpl.java:791)
at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:262)
at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:152)
at com.tibco.cep.container.standalone.BEMain.main(SourceFile:70)Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header: 55003762
at com.tibco.cep.runtime.managed.EximHelper.translate(EximHelper.java:86) at com.tibco.cep.runtime.model.serializers.as.AbstractTupleAdaptor.extractValue(SourceFile:50)
at com.tibco.cep.runtime.model.serializers.as.AbstractTupleAdaptor.extractValue(SourceFile:26)
at com.tibco.cep.as.kit.map.SpaceMapEntryIterator$MapEntryAdapter.getValue(SourceFile:151)
at com.tibco.cep.as.kit.map.SpaceMap$SpaceMapValueCollection$1.next(SourceFile:531)
at com.tibco.cep.runtime.service.cluster.agent.InferenceAgent.recover(InferenceAgent.java:2581) ... 12 moreCaused by: java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header: 55003762
at com.tibco.cep.runtime.model.serializers.as.AbstractTupleAdaptor$AsEximHelper.transform(SourceFile:73)
at com.tibco.cep.runtime.model.serializers.as.AbstractTupleAdaptor$AsEximHelper.transform(SourceFile:60)
at com.tibco.cep.runtime.managed.EximHelper.translate(EximHelper.java:65) ... 17 moreCaused by: java.io.StreamCorruptedException: invalid stream header: 55003762
at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source)
at com.tibco.cep.runtime.model.serializers.as.AsPortablePojo.a(SourceFile:77)
at com.tibco.cep.runtime.model.serializers.as.AsPortablePojo.toPojo(SourceFile:110)
at com.tibco.cep.runtime.model.serializers.as.AbstractTupleAdaptor$AsEximHelper.transform(SourceFile:70) ... 19 more
Cause:
One of the cdd used to start the BE engine still has the value for this property be.engine.cluster.as.tuple.explicit set to false.
Resolution:
Make sure the cdd file that is used to start both Cache and Inference agents has this property set to true, then restart the agents.