1 Reply Latest reply on Jul 22, 2011 2:30 PM by Mark DeSpain

    SessionBasedJBossCacheService and a NullPointerException

    Mark DeSpain Newbie

      On JBoss EAP 5.1, I'm encountering a mysterious error message:

       

      WARN[org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.SessionBasedJBossCacheService](ajb-127.0.0.1-8109-1) Problem accessing session data: classjava.lang.NullPointerException null

       

      Has anyone ever encounter this message before?  Or might someone be able to provide hints that would help me bottom out on this?

       

      This message happening as part of a trivial failover scenario with a 2 node JBoss EAP 5.1 cluster, and the cluster is being proxied by mod_jk.  In my brower is a page backed by session state being handled by node 1.  I would like to verify that session state is replicated by node 2 by simply taking down node 1 and then refreshing the page.  However, when I do that, the message above appears in the log for node 2, and I'm instead redirected to a login page.

       

      Also, I would like to debug into the SessionBasedJBossCacheService class, but I can't seem to find the source for it.  It doesn't seem to be in the EAP 5.1 source, nor does it appear to be a part of the corresponding JBoss Web code.  I did some googling for the error message, and some stuff came up related to Seam and Weld, but didn't see it there either (though perhaps I am visually challenged).

       

      Anyone know where I can find the code?

       

      Thanks in advance!