1 Reply Latest reply on Mar 6, 2009 12:03 PM by brian.stansberry

    Someone is marking <node> as resident! benign?

      Periodically I see the following messages in the log. They are "debug" message but print a full stack trace. Do these indicate a problem or are they benign?

      [08:29:44:507] LtesterUserRunnerThread-ltester-100000 [TRACE] - org.jboss.cache.AbstractNode.setResident(line:167) - Someone is marking /com/doppelganger/dao/impl/HibernateUserDAO/findByName/QUERY as resident!
      java.lang.Throwable
      at org.jboss.cache.AbstractNode.setResident(AbstractNode.java:167)
      at org.jboss.cache.mvcc.NodeReference.setResident(NodeReference.java:342)
      at org.jboss.cache.invocation.NodeInvocationDelegate.setResident(NodeInvocationDelegate.java:480)
      at org.hibernate.cache.jbc2.util.CacheHelper.addNode(CacheHelper.java:429)
      at org.hibernate.cache.jbc2.BasicRegionAdapter.activateLocalClusterNode(BasicRegionAdapter.java:121)
      at org.hibernate.cache.jbc2.BasicRegionAdapter.(BasicRegionAdapter.java:80)
      at org.hibernate.cache.jbc2.TransactionalDataRegionAdapter.(TransactionalDataRegionAdapter.java:41)
      at org.hibernate.cache.jbc2.query.QueryResultsRegionImpl.(QueryResultsRegionImpl.java:63)
      at org.hibernate.cache.jbc2.JBossCacheRegionFactory.buildQueryResultsRegion(JBossCacheRegionFactory.java:137)
      at org.hibernate.cache.StandardQueryCache.(StandardQueryCache.java:77)
      at org.hibernate.cache.StandardQueryCacheFactory.getQueryCache(StandardQueryCacheFactory.java:44)
      at org.hibernate.impl.SessionFactoryImpl.getQueryCache(SessionFactoryImpl.java:945)
      at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2134)
      at org.hibernate.loader.Loader.list(Loader.java:2117)
      at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
      at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361)
      at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
      at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
      at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
      at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:835)
      at com.doppelganger.dao.impl.HibernateUserDAO.findByName(HibernateUserDAO.java:53)

        • 1. Re: Someone is marking <node> as resident! benign?
          brian.stansberry

          It's benign, at least in the sense that the code that is doing that is very much doing it by design. And AFAIK it's benign in the sense that there is no reason for JBC to be upset about code making that call. The only miniscule shred of doubt I have comes from the "!" at the end of the log message which implies someone thought it was exciting. ;)