1 Reply Latest reply on Oct 21, 2002 8:46 AM by Sacha Labourey

    EJBException from CMP Cleanup with HTTP Session Clustering

    Bernie Wing Newbie

      I have a CMP Entity Bean that does reads and writes to a single Oracle Table. After I turned on HTTP Session Clusting, I get a EJBException thrown when the HTTP Session expires. No exceptions are thrown when the HTTP Session Clustering is disabled.
      Anyone have an idea?

      16:54:52,439 ERROR [LogInterceptor] EJBException, causedBy:
      java.lang.NullPointerException
      at java.io.ByteArrayInputStream.(ByteArrayInputStream.java:89)
      at org.jboss.ejb.plugins.CMPClusteredInMemoryPersistenceManager.loadEntity(CMPClusteredInMemoryPersistenceManager.java:352)
      at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:410)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:262)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:152)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
      at org.jboss.ejb.Container.invoke(Container.java:712)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:189)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy12.remove(Unknown Source)
      at org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.removeHttpSession(ClusteredHTTPSessionService.java:153)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy41.removeHttpSession(Unknown Source)
      at org.jboss.web.catalina.session.ClusterManager.removeSession(ClusterManager.java:496)
      at org.jboss.web.catalina.session.ClusterManager.remove(ClusterManager.java:277)
      at org.jboss.web.catalina.session.ClusteredSession.expire(ClusteredSession.java:590)
      at org.jboss.web.catalina.session.ClusteredSessionCleanup.processExpires(ClusteredSessionCleanup.java:85)