[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
请教各位高手:多个应用服务器读取Terracotta集群数据时出现锁  XML
Forum Index -> Terracotta 中文社区
Author Message
yangjy

neo

Joined: 04/12/2011 23:25:43
Messages: 2
Offline

请各位高手帮忙分析一下,这是为什么?
我公司有个业务系统使用了ehcache的分布式缓存服务,在两台机器上各启动了一个Terracotta Server,6个业务系统的Weblogic服务器连接到Terracotta Server上读写数据。整个系统刚启动的时候,应用与缓存服务器运行很正常,一两天之后,有3个weblogic服务器会报以下错误,不能正常提供服务,另外3个运行正常。以下是出现异常的weblogic服务器的日志:

Code:
<2011-4-12 下午04时31分10秒 CST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '920' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "703" seconds working on the request "Http Request: /page/IndexServlet", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
 	sun.misc.Unsafe.park(Native Method)
 	java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
 	java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1841)
 	com.tc.object.locks.ClientLockManagerImpl.waitUntilRunning(ClientLockManagerImpl.java:597)
 	com.tc.object.locks.ClientLockManagerImpl.lock(ClientLockManagerImpl.java:91)
 	com.tc.object.bytecode.ManagerImpl.lock(ManagerImpl.java:740)
 	com.tc.object.bytecode.ManagerUtil.beginLock(ManagerUtil.java:221)
 	org.terracotta.locking.strategy.BasicLockStrategy.beginLock(BasicLockStrategy.java:22)
 	com.terracotta.toolkit.collections.ConcurrentDistributedMapDso.beginLock(ConcurrentDistributedMapDso.java:1014)
 	com.terracotta.toolkit.collections.ConcurrentDistributedMapDso.get(ConcurrentDistributedMapDso.java:194)
 	com.terracotta.toolkit.collections.ConcurrentDistributedMapDsoArray.get(ConcurrentDistributedMapDsoArray.java:169)
 	org.terracotta.collections.ConcurrentDistributedMap.get(ConcurrentDistributedMap.java:183)
 	org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntry(TerracottaDistributedCache.java:192)
 	org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntryCoherent(TerracottaDistributedCache.java:126)
 	org.terracotta.cache.TerracottaDistributedCache.getTimestampedValue(TerracottaDistributedCache.java:168)
 	org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:286)
 	org.terracotta.modules.ehcache.store.ClusteredStore.get(ClusteredStore.java:263)
 	net.sf.ehcache.Cache.searchInStoreWithStats(Cache.java:1687)
 	net.sf.ehcache.Cache.get(Cache.java:1363)
 	net.sf.ehcache.Cache.get(Cache.java:1335)
 	com.nsf.util.cache.EhcacheSysCache.find(EhcacheSysCache.java:58)
 	com. nsf.webapps.filter.TraceFilter.doFilter(TraceFilter.java:84)
 	weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
 	weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3270)
 	weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 	weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
 	weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2019)
 	weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1925)
 	weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1394)
 	weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
 	weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
 >
gyan10

ophanim

Joined: 06/28/2011 23:15:25
Messages: 700
Offline

This is an old thread and no update from a long time.Please let us know if you are still facing same issue.
Thanks

Gyan Awasthi
Terracotta -A Software AG company
gyan10

ophanim

Joined: 06/28/2011 23:15:25
Messages: 700
Offline

This is an old thread and no update from a long time.Please let us know if you are still facing same issue.
Thanks

Gyan Awasthi
Terracotta -A Software AG company
 
Forum Index -> Terracotta 中文社区
Go to:   
Powered by JForum 2.1.7 © JForum Team