1 Reply Latest reply on Jan 23, 2007 4:27 AM by Galder Zamarreño

    SFSB cache runtime exceptions on an idle system

    Olaf Schlachter Newbie

      Hi,

      we are using JBoss 4.0.5.GA (from jems-installer-1.2.0.CR1.jar in the ejb3-cluster configuration).
      Our application contains a SFSB. After the application is deployed and used in a 2-node cluster) for about 10 minutes, we see these messages in the server.log even when the system is idle:

      2006-11-30 17:12:13,947 ERROR [STDERR] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalStateException: StatefuleTreeCache.nodeActivate(): null bean instance.
      2006-11-30 17:12:13,963 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5526)
      2006-11-30 17:12:13,963 ERROR [STDERR] at org.jboss.cache.TreeCache.evict(TreeCache.java:3716)
      2006-11-30 17:12:13,978 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34)
      2006-11-30 17:12:13,978 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
      2006-11-30 17:12:13,994 ERROR [STDERR] at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:90)
      2006-11-30 17:12:13,994 ERROR [STDERR] at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:121)
      2006-11-30 17:12:14,010 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:98)
      2006-11-30 17:12:14,010 ERROR [STDERR] at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80)
      2006-11-30 17:12:14,010 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
      2006-11-30 17:12:14,025 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
      2006-11-30 17:12:14,025 ERROR [STDERR] Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: StatefuleTreeCache.nodeActivate(): null bean instance.
      2006-11-30 17:12:14,041 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5526)
      2006-11-30 17:12:14,041 ERROR [STDERR] at org.jboss.cache.TreeCache.get(TreeCache.java:3367)
      2006-11-30 17:12:14,057 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodePassivate(StatefulTreeCache.java:285)
      2006-11-30 17:12:14,057 ERROR [STDERR] at org.jboss.cache.TreeCache.notifyNodePassivate(TreeCache.java:5739)
      2006-11-30 17:12:14,072 ERROR [STDERR] at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:62)
      2006-11-30 17:12:14,072 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      2006-11-30 17:12:14,072 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
      2006-11-30 17:12:14,088 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
      2006-11-30 17:12:14,088 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      2006-11-30 17:12:14,103 ERROR [STDERR] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179)
      2006-11-30 17:12:14,150 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
      2006-11-30 17:12:14,166 ERROR [STDERR] ... 9 more
      2006-11-30 17:12:14,166 ERROR [STDERR] Caused by: java.lang.IllegalStateException: StatefuleTreeCache.nodeActivate(): null bean instance.
      2006-11-30 17:12:14,182 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodeActivate(StatefulTreeCache.java:266)
      2006-11-30 17:12:14,182 ERROR [STDERR] at org.jboss.cache.TreeCache.notifyNodeActivate(TreeCache.java:5714)
      2006-11-30 17:12:14,197 ERROR [STDERR] at org.jboss.cache.interceptors.ActivationInterceptor.remove(ActivationInterceptor.java:162)
      2006-11-30 17:12:14,197 ERROR [STDERR] at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:152)
      2006-11-30 17:12:14,213 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      2006-11-30 17:12:14,213 ERROR [STDERR] at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
      2006-11-30 17:12:14,213 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      2006-11-30 17:12:14,228 ERROR [STDERR] at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
      2006-11-30 17:12:14,244 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      2006-11-30 17:12:14,244 ERROR [STDERR] at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:69)
      2006-11-30 17:12:14,260 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      2006-11-30 17:12:14,260 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
      2006-11-30 17:12:14,275 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
      2006-11-30 17:12:14,275 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      2006-11-30 17:12:14,275 ERROR [STDERR] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183)
      2006-11-30 17:12:14,291 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
      2006-11-30 17:12:14,291 ERROR [STDERR] ... 19 more
      


      This message repeats every 5 seconds (or whatever is configured for wakeUpIntervalSeconds in ejb3-clustered-sfsbcache-service.xml)

      What causes this message and how can this be stopped ?

      Regards,
      Olaf