[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Client quartz reconnect terracotta error!  XML
Forum Index -> Terracotta Platform
Author Message
ztajy

neo

Joined: 12/11/2012 18:51:45
Messages: 9
Offline

Hi,

Terracotta cluster has been shut down and deleted the presistence data, and then the client called the function "destroy" of "quartz" to release resource. After "Terracotta Cluster" being restarted, the client re-loaded "quartz" without restart.
And at the same time, a thread named "ConnectionEstablisher" was using CPU and never released. The client log reads as follows:

please help.

log:

[2013-10-16 17:17:30,961 [cluster-events-processor-0] WARN com.tc.object.handshakemanager.ClientHandshakeManagerImpl - ClientID[2]: Drop handshaking due to client shutting down...
2013-10-16 17:17:30,962 [cluster-events-processor-0] INFO com.tc.net.protocol.transport.ConnectionHealthCheckerImpl: DSO Client - HealthChecker STOP requested
2013-10-16 17:17:30,977 [cluster-events-processor-0] WARN com.tc.net.core.CoreNIOServices - Exception thrown
java.lang.InterruptedException
at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.put(Unknown Source)
at com.tc.net.core.CoreNIOServices$CommThread.addSelectorTask(CoreNIOServices.java:351)
at com.tc.net.core.CoreNIOServices$CommThread.stopListener(CoreNIOServices.java:395)
at com.tc.net.core.CoreNIOServices.stopListener(CoreNIOServices.java:107)
at com.tc.net.core.TCListenerImpl.stopImpl(TCListenerImpl.java:69)
at com.tc.net.core.TCListenerImpl.stop(TCListenerImpl.java:103)
at com.tc.net.core.TCListenerImpl.stop(TCListenerImpl.java:84)
at com.tc.net.core.TCConnectionManagerImpl.closeAllListeners(TCConnectionManagerImpl.java:200)
at com.tc.net.core.TCConnectionManagerImpl.shutdown(TCConnectionManagerImpl.java:213)
at com.tc.net.protocol.tcm.CommunicationsManagerImpl.shutdown(CommunicationsManagerImpl.java:213)
at com.tc.object.DistributedObjectClient.shutdown(DistributedObjectClient.java:1301)
at com.tc.object.ClientShutdownManager.shutdown(ClientShutdownManager.java:128)
at com.tc.object.ClientShutdownManager.execute(ClientShutdownManager.java:68)
at com.tc.object.bytecode.ManagerImpl.shutdownClient(ManagerImpl.java:338)
at com.tc.object.bytecode.ManagerImpl.shutdown(ManagerImpl.java:325)
at com.tc.object.bytecode.ManagerImpl.stop(ManagerImpl.java:315)
at com.tc.object.bytecode.hook.impl.DSOContextImpl.shutdown(DSOContextImpl.java:414)
at com.terracotta.express.SpiInit.shutdown(SpiInit.java:25)
at com.terracotta.express.ClientImpl.shutdown(ClientImpl.java:260)
at org.terracotta.quartz.AbstractTerracottaJobStore.shutdown(AbstractTerracottaJobStore.java:259)
at org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:714)
at org.quartz.impl.StdScheduler.shutdown(StdScheduler.java:207)
at org.springframework.scheduling.quartz.SchedulerFactoryBean.destroy(SchedulerFactoryBean.java:759)
at com.haier.openplatform.cache.ehcache.EhcacheCacheManagerProxy$1.clusterOffline(EhcacheCacheManagerProxy.java:198)
at org.terracotta.modules.ehcache.event.ClusterListenerAdapter.operationsDisabled(ClusterListenerAdapter.java:30)
at org.terracotta.cluster.TerracottaClusterInfo$ClusterListenerWrapper.operationsDisabled(TerracottaClusterInfo.java:155)
at com.tc.cluster.DsoClusterImpl.notifyDsoClusterListener(DsoClusterImpl.java:506)
at com.tc.object.handler.ClusterInternalEventsHandler$1.run(ClusterInternalEventsHandler.java:93)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
2013-10-16 17:17:30,998 [cluster-events-processor-0] WARN com.tc.net.core.TCListener - stop interrupted
2013-10-16 17:17:31,000 [cluster-events-processor-0] INFO com.terracottatech.dso - L1 Exiting...
2013-10-16 17:17:31,445 [HealthChecker] INFO com.tc.net.protocol.transport.ConnectionHealthCheckerImpl: DSO Client - HealthChecker SHUTDOWN
2013-10-16 17:17:31,458 [ConnectionEstablisher] ERROR com.tc.net.protocol.transport.ClientMessageTransport - ConnectionID(2.d279701dfba14ee8b742d3f6e4eb2a32.c3394cdb-1e67-4fb3-a285-78d8bc8d36cc-141c0805d91)[]: Connect Exception
java.lang.IllegalStateException: connection manager shutdown
at com.tc.net.core.TCConnectionManagerImpl.checkShutdown(TCConnectionManagerImpl.java:242)
at com.tc.net.core.TCConnectionManagerImpl.createConnection(TCConnectionManagerImpl.java:155)
at com.tc.net.protocol.transport.ClientConnectionEstablisher.connect(ClientConnectionEstablisher.java:133)
at com.tc.net.protocol.transport.ClientConnectionEstablisher.reconnect(ClientConnectionEstablisher.java:200)
at com.tc.net.protocol.transport.ClientConnectionEstablisher.access$000(ClientConnectionEstablisher.java:39)
at com.tc.net.protocol.transport.ClientConnectionEstablisher$AsyncReconnect.run(ClientConnectionEstablisher.java:382)
at java.lang.Thread.run(Thread.java:662)
2013-10-16 17:18:01,687 [cluster-events-processor-0] WARN com.terracottatech.dso - Timed out waiting for TC thread group threads to die - probable shutdown memory leak
Live threads: [Thread[ConnectionEstablisher,5,TC Thread Group]]

2013-10-16 17:18:02,283 [cluster-events-processor-0] WARN com.terracottatech.dso - Spawning TCThreadGroup last chance cleaner thread
2013-10-16 17:18:04,306 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 400
2013-10-16 17:18:08,079 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 160
2013-10-16 17:18:31,115 [WorkerThread(cluster_events_stage, 0)] WARN com.tc.object.handler.ClusterInternalEventsHandler - clusterEventExecutor timedout while waiting for result
2013-10-16 17:19:31,113 [WorkerThread(cluster_events_stage, 0)] WARN com.tc.object.handler.ClusterInternalEventsHandler - clusterEventExecutor timedout while waiting for result
2013-10-16 17:20:20,441 [ClientLockManager LockGC] INFO com.tc.object.locks.ClientLockManager - ClientID[0]: Lock GC collected 10 garbage locks
2013-10-16 17:20:31,112 [WorkerThread(cluster_events_stage, 0)] WARN com.tc.object.handler.ClusterInternalEventsHandler - clusterEventExecutor timedout while waiting for result
2013-10-16 17:21:10,573 [RMI TCP Connection(3)-192.168.110.158] ERROR com.tc.management.exposed.TerracottaCluster - JMX Cluster Events have been deprecated. You can now use DsoCluster instance injection and DsoClusterListener in plain Java from within your application.
2013-10-16 17:24:50,058 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 80]
 
Forum Index -> Terracotta Platform
Go to:   
Powered by JForum 2.1.7 © JForum Team