Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9942

JBossCache: Failed to replicate session

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • TBD EAP 5
    • EAP_EWP 5.2.0 ER2
    • Clustering
    • RHEL6 x86_64, IBM JDK 1.7

    • Not Required
    • NEW

      In both functional and performance test runs, we observed, that session replication with IBM JDK 1.7 took much longer time compared to other JDKs we tested with (Oracle JDK6, OpenJDK1.6).

      The following exception occured many times in our server logs. Was not present while running the same test case with JDKOracle1.6.

      [JBoss] 08:16:13,189 WARN  [org.jboss.web.tomcat.service.session.InstantSnapshotManager./st] (ajp-10.16.88.182-8009-6318) Failed to replicate session XKC8alBT-gojnOthrpiFlA__.perf04
      [JBoss] java.lang.RuntimeException: Continued to catch TimeoutException during 3 retry attempts. Giving up.
      [JBoss] 	at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:175)
      [JBoss] 	at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.storeSessionData(AbstractJBossCacheService.java:404)
      [JBoss] 	at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1192)
      [JBoss] 	at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:2221)
      [JBoss] 	at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:321)
      [JBoss] 	at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)
      [JBoss] 	at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)
      [JBoss] 	at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
      [JBoss] 	at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:88)
      [JBoss] 	at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
      [JBoss] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
      [JBoss] 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      [JBoss] 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      [JBoss] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      [JBoss] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      [JBoss] 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      [JBoss] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      [JBoss] 	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
      [JBoss] 	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
      [JBoss] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      [JBoss] 	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
      [JBoss] 	at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:385)
      [JBoss] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
      [JBoss] 	at java.lang.Thread.run(Thread.java:769)
      [JBoss] Caused by: 
      [JBoss] org.jboss.cache.lock.TimeoutException: Timed out waiting for flush to unblock. (timeout = 60 seconds)
      [JBoss] 	at org.jboss.cache.RPCManagerImpl$FlushTracker.waitForFlushCompletion(RPCManagerImpl.java:195)
      [JBoss] 	at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:741)
      [JBoss] 	at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:712)
      [JBoss] 	at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:717)
      [JBoss] 	at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
      [JBoss] 	at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
      [JBoss] 	at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
      [JBoss] 	at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)
      [JBoss] 	at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutDataMapCommand(ReplicationInterceptor.java:113)
      [JBoss] 	at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
      [JBoss] 	at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
      [JBoss] 	at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
      [JBoss] 	at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
      [JBoss] 	at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
      [JBoss] 	at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
      [JBoss] 	at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
      [JBoss] 	at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
      [JBoss] 	at org.jboss.cache.commands.AbstractVisitor.visitPutDataMapCommand(AbstractVisitor.java:60)
      [JBoss] 	at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
      [JBoss] 	at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
      [JBoss] 	at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutDataMapCommand(CacheMgmtInterceptor.java:97)
      [JBoss] 	at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
      [JBoss] 	at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
      [JBoss] 	at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
      [JBoss] 	at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutDataMapCommand(InvocationContextInterceptor.java:64)
      [JBoss] 	at org.jboss.cache.commands.write.PutDataMapCommand.acceptVisitor(PutDataMapCommand.java:104)
      [JBoss] 	at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:288)
      [JBoss] 	at org.jboss.cache.invocation.CacheInvocationDelegate.invokePut(CacheInvocationDelegate.java:705)
      [JBoss] 	at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:519)
      [JBoss] 	at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:283)
      [JBoss] 	at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.JBossCacheWrapper.put(JBossCacheWrapper.java:162)
      [JBoss] 	... 23 more
      

              navssurtani Navin Surtani (Inactive)
              jkudrnac@redhat.com Jitka Kozana
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: