book
Article ID: KB0085969
calendar_today
Updated On:
Description
Resolution:
Description:
============
In TIBCO Collaborative Information Manager (CIM), the following error is thrown: "Application not available. It may have failed to start correctly. Contact system administrator".
Environment:
==========
CIM 7.X and above
o All OS
Symptoms:
=========
CIM throws the following exception.
2010-09-10 10:41:16,281 [main] INFO com.martquest.globalobj.GlobalObjInitializer -
<MqException: BEGIN>
Code: JAV-8001
ID: AC184314_2C98C3942AFA6067012AFA60678C0000
DATETIME: 2010-09-10T10:41:16+04:00
EXCEPTIONMESSAGE: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
STACKTRACE: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:61)
at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:298)
at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:5)
at com.tangosol.coherence.component.util.SafeCluster.getRunningCluster(SafeCluster.CDB:23)
at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:1)
at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:882)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:716)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:678)
at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:865)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:276)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:623)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:601)
at com.martquest.cache.MqCacheManagerTangosol.getNamedCache(MqCacheManagerTangosol.java:74)
at com.martquest.cache.MqCacheManagerTangosol.createCacheIndexes(MqCacheManagerTangosol.java:64)
at com.martquest.cache.MqCacheManagerTangosol.init(MqCacheManagerTangosol.java:58)
at com.martquest.cache.MqCacheManager.init(MqCacheManager.java:163)
at com.martquest.util.InitClassUtil.initObject(InitClassUtil.java:722)
at com.martquest.util.InitClassUtil.createAndInitObject(InitClassUtil.java:550)
at com.martquest.util.InitClassUtil.createAndInitObject(InitClassUtil.java:456)
at com.martquest.globalobj.GlobalObjInitializer.createAndInitObject(GlobalObjInitializer.java:165)
at com.martquest.globalobj.GlobalObjInitializer.init(GlobalObjInitializer.java:75)
at com.martquest.globalobj.MqStartup.<init>(MqStartup.java:184)
at com.martquest.globalobj.MqStartup.getInstance(MqStartup.java:225)
at com.martquest.globalobj.MqStartupWrapper.init(MqStartupWrapper.java:57)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
CLASSNAME: com.martquest.globalobj.GlobalObjInitializer
METHODNAME: createAndInitObject
ERRORMESSAGE: Error initializing global object with properties key prefix: com.martquest.init.MqCacheManager
<MqException: END>
2010-09-10 10:41:16,281 [main] ERROR com.martquest.globalobj.MqStartupWrapper - Startup encountered MqException. Check the log files.
2010-09-10 10:41:16,297 [main] DEBUG com.martquest.globalobj.MqShutdown - Cleaning up object of class: com.martquest.messaging.util.MqMessageSenderManager
Tangosol log contains the below messages
Tangosol Coherence Version 3.2.1/369
2010-09-10 10:29:53.439 Tangosol Coherence 3.2.1/369 <Info> (thread=main, member=n/a): Loaded operational configuration from resource "jar:file:/C:/jboss-4.2.2.GA/server/cim/tmp/deploy/tmp9810ECM_7.2.1_orig.ear-contents/coherence.jar!/tangosol-coherence.xml"
2010-09-10 10:29:53.455 Tangosol Coherence 3.2.1/369 <Info> (thread=main, member=n/a): Loaded license data from "jar:file:/C:/jboss-4.2.2.GA/server/cim/tmp/deploy/tmp9810ECM_7.2.1_orig.ear-contents/tangosol.jar!/tangosol-license.xml"
******************************************************************************
*
* Tangosol Coherence is licensed by Tangosol, Inc.
*
* Licensed for OEM production use to TIBCO Software, Inc. in accordance
* with the terms of the Software License Agreement dated September 29, 2006:
*
* Tangosol Coherence: Application Edition
* 40A800C2000001117E04DC0C45403BFE Unlimited use in application "TIBCO
* Collaborative Information Manager"
*
* Copyright (c) 2000-2006 Tangosol, Inc.
*
******************************************************************************
2010-09-10 10:29:53.611 Tangosol Coherence AE 3.2.1/369 <Info> (thread=main, member=n/a): Loaded operational overrides from file "C:\tibco\cim\7.2\config\tangosol-coherence-override.xml"
2010-09-10 10:29:53.752 Tangosol Coherence AE 3.2.1/369 <Info> (thread=main, member=n/a): Loaded cache configuration from file "C:\tibco\cim\7.2\config\coherence-client-cache-config.xml"
2010-09-10 10:29:54.689 Tangosol Coherence AE 3.2.1/369 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2010-09-10 10:29:54.892 Tangosol Coherence AE 3.2.1/369 <Error> (thread=Cluster, member=n/a): This member could not join the cluster because of an incompatibility between the cluster protocol used by this member and the one being used by the rest of the cluster. This is most likely caused by a Coherence version mismatch, or by mismatched protocol filters (e.g. compression, or encryption). Rejected by Member(Id=1, Timestamp=2010-08-30 10:19:49.828, Address=172.24.67.18:8088, MachineId=63250, Location=site:corp.du.ae,machine:eaidevfnl1
Cause:
=====
This is caused by a port conflict when starting the tangosol cache server.
Resolution:
=========
This exception can be thrown for the several reasons. From the tangosol set the following properties to resolve the port conflict and then restart the server.
-Dtangosol.coherence.localport=7001 in JBoss run.sh
tangosol.coherence.wka1.port to 7001 in tangosol-coherence-override.xml
Issue/Introduction
In TIBCO Collaborative Information Manager (CIM), the folowing error is thrown:"Application not available. It may have failed to start correctly. Contact system administrator".