1 Reply Latest reply on Jul 21, 2003 3:22 AM by Muneendra

    Local Enity bean cluster org.jboss.ejb.plugins.CMPClusteredI

    Muneendra Newbie

      hi all,

      i am able to set up two jboss instances sucessfully in clustere now the problem his i have one local entity bean my deployment discripter of jboss.xml looks like this

      <ejb-name>Account</ejb-name>
      <local-jndi-name>Account</local-jndi-name>
      True


      Account entity bean will be called by stateless session bean

      when i call findByPrimaryKey method on entity bean from session bean i am getting error like this


      13:04:58,132 ERROR [LogInterceptor] EJBException:
      javax.ejb.EJBException: No entry exists (any more?) with this id: uvPFg+Fts8CR53yZ1-59Kg**.ez
      at org.jboss.ejb.plugins.CMPClusteredInMemoryPersistenceManager.loadEntity(CMPCluster
      oryPersistenceManager.java:367)
      at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizatio
      eptor.java:232)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.j
      )
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInter
      java:122)
      at org.jboss.ha.httpsession.beanimpl.ejb.ServerTCLInterceptor.invoke(ServerTCLInterce
      va:40)
      at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:483)
      at org.jboss.ejb.Container.invoke(Container.java:674)
      at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.j
      )
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
      at org.jboss.ha.httpsession.beanimpl.ejb.ClientTCLInterceptor.invoke(ClientTCLInterce
      va:41)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:164)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
      at $Proxy29.remove(Unknown Source)
      at org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.removeHttpSession(Clus
      TPSessionService.java:161)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.j
      )
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy113.removeHttpSession(Unknown Source)
      at org.jboss.web.catalina.session.ClusterManager.removeSession(ClusterManager.java:60
      at org.jboss.web.catalina.session.ClusterManager.remove(ClusterManager.java:354)
      at org.jboss.web.catalina.session.ClusteredSession.expire(ClusteredSession.java:589)
      at org.jboss.web.catalina.session.ClusteredSession.invalidate(ClusteredSession.java:9
      at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade
      11)
      at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade
      11)
      at com.eximsoft.pgcash.servlets.MerchantRequestServlet.service(MerchantRequestServlet
      5)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilter
      ava:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.ja

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:643)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:641)
      at org.jboss.web.catalina.session.ClusteredSessionValve.invoke(ClusteredSessionValve.
      )
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:1
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(
      dPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)

      i am using jboss-3.2.1 and apache 2.0 with sticky session enabled.

      is it possible to use local entity beans to cluster

      what could be the above error

      am i missing anything

      thanks in advance