Problem encountered when starting the cache server.

Problem encountered when starting the cache server.

book

Article ID: KB0091060

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
==========
When starting the cache server a Java.lang.RuntimeException cluster error is thrown regarding a missing cluster name.

Environment:
==========
TIBCO BusinessEvents 3.0.1
All Operating Systems

Symptoms:
=========
The Error listing may look like the following:

009 Mar 31 11:02:18:259 GMT -7 trump_be-trump_be Error [main] - java.lang.reflect.InvocationTargetException
2009 Mar 31 11:02:18:262 GMT -7 trump_be-trump_be Error [main] -        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2009 Mar 31 11:02:18:264 GMT -7 trump_be-trump_be Error [main] -        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
2009 Mar 31 11:02:18:266 GMT -7 trump_be-trump_be Error [main] -        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
2009 Mar 31 11:02:18:268 GMT -7 trump_be-trump_be Error [main] -        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
2009 Mar 31 11:02:18:269 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.service.om.ObjectManagerProvider.createOM(ObjectManagerProvider.java:76)
2009 Mar 31 11:02:18:271 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.session.impl.RuleSessionImpl.&ltinit>(RuleSessionImpl.java:140)
2009 Mar 31 11:02:18:273 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.session.impl.RuleSessionImpl.&ltinit>(RuleSessionImpl.java:109)
2009 Mar 31 11:02:18:275 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.session.impl.RuleSessionManagerImpl.init(RuleSessionManagerImpl.java:133)
2009 Mar 31 11:02:18:277 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initCluster(RuleServiceProviderImpl.java:635)
2009 Mar 31 11:02:18:279 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:212)
2009 Mar 31 11:02:18:281 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:115)
2009 Mar 31 11:02:18:282 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:45)
2009 Mar 31 11:02:18:285 GMT -7 trump_be-trump_be Error [main] - Caused by: java.lang.RuntimeException: java.lang.Exception: Cluster name not specified. Property tangosol.coherence.cluster missing
2009 Mar 31 11:02:18:286 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.&ltinit>(CoherenceStore.java:89)
2009 Mar 31 11:02:18:288 GMT -7 trump_be-trump_be Error [main] -        ... 12 more
2009 Mar 31 11:02:18:290 GMT -7 trump_be-trump_be Error [main] - Caused by: java.lang.Exception: Cluster name not specified. Property tangosol.coherence.cluster missing
2009 Mar 31 11:02:18:292 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.service.om.coherence.cluster.CacheClusterConfiguration.getCacheConfig(CacheClusterConfiguration.java:168)
2009 Mar 31 11:02:18:294 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.service.om.coherence.cluster.CacheAgentConfiguration.getCacheConfig(CacheAgentConfiguration.java:276)
2009 Mar 31 11:02:18:296 GMT -7 trump_be-trump_be Error [main] -        at com.tibco.cep.runtime.service.om.coherence.CoherenceStore.&ltinit>(CoherenceStore.java:82)
2009 Mar 31 11:02:18:298 GMT -7 trump_be-trump_be Error [main] -        ... 12 more
2009 Mar 31 11:02:18:302 GMT -7 trump_be-trump_be Info [CTRL-C] - Shutting down service provider -trump_be-trump_be
2009 Mar 31 11:02:18:310 GMT -7 trump_be-trump_be Info [CTRL-C] - RuleServiceProvider trump_be-trump_be is shutting down

Cause:
======
The cluster name is not specified in the TRA files.

Solution:
========
Ensure the java.property.tangosol.coherence.cluster name is specified in the TRA files.  An example follows from the FraudDetectionCache TRA’s located in the &ltBE-HOME>/examples/FraudDetectionCache/bin directory:

java.property.tangosol.coherence.cluster=AcmeCluster

Issue/Introduction

Problem encountered when starting the cache server.