1 Reply Latest reply on Jun 4, 2004 5:23 PM by townej2

    Session Clustering prob.  jgroups classes resolving to org.j

    townej2

      I am trying to get Session clustering working using JGStore.
      I am using jboss-3.2.3 and downloaded jetty 4.2.20-jboss 3.2.3, and JGroups 2.2.1 and have 2 nodes in my cluster.

      When I bring up the servers and log in to one of them the other server outputs:
      2004-06-03 16:02:11,041 DEBUG [org.javagroups.ProdEjb] [Thu Jun 3 16:02:11 EDT 2004] [ERROR] UDP.handleIncomingUdpPacket(): exception=java.io.IOException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.javagroups.protocols.PingRsp
      at org.jgroups.util.Marshaller.read(Marshaller.java:85)
      at org.jgroups.Message.readExternal(Message.java:352)
      at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:527)
      at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1119)
      at java.lang.Thread.run(Thread.java:536)

      Why is it resolving to org.javagroups and not org.jgroups????
      I cannot find anything that is pointing to org.javagroups!!!!

      I also get this:
      WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.setAttribute(java.lang.String,java.lang.Object,boolean) throws java.rmi.RemoteException
      WARN [AbstractReplicatedStore] null target for public abstract void org.mortbay.j2ee.session.State.setLastAccessedTime(long) throws java.rmi.RemoteException

      I did upgrade from jboss 3.2.1 recently.

      The JGStore Initialization looks okay:
      2004-06-03 14:44:43,068 DEBUG [org.mortbay.j2ee.session.AbstractStore] starting distributed scavenger thread...(period: 5103 secs)
      2004-06-03 14:44:43,069 DEBUG [org.mortbay.j2ee.session.AbstractStore] ...distributed scavenger thread started
      2004-06-03 14:44:43,106 DEBUG [org.mortbay.j2ee.session.JGStore#/KDCSWeb] JGroups RpcDispatcher initialised
      2004-06-03 14:44:43,106 DEBUG [org.mortbay.j2ee.session.JGStore#/KDCSWeb] JGroups Channel initialised
      2004-06-03 14:44:43,106 DEBUG [org.mortbay.j2ee.session.JGStore#/KDCSWeb] JGroups View: []
      2004-06-03 14:44:43,107 DEBUG [org.mortbay.j2ee.session.JGStore#/KDCSWeb] starting JGroups...: (JETTY_HTTPSESSION_DISTRIBUTION:/KDCSWeb-DefaultSubCluster)
      2004-06-03 14:44:43,114 INFO [STDOUT]
      -------------------------------------------------------
      GMS: address is eiapp1:33830
      -------------------------------------------------------
      2004-06-03 14:44:47,026 INFO [org.mortbay.j2ee.session.JGStore#/KDCSWeb] JGroups View: [eiapp2:33737, eiapp1:33830]
      2004-06-03 14:44:47,061 INFO [org.mortbay.j2ee.session.JGStore#/KDCSWeb] initialising our state from another Store
      2004-06-03 14:44:47,061 DEBUG [org.mortbay.j2ee.session.JGStore#/KDCSWeb] ...JGroups started
      2004-06-03 14:44:47,090 INFO [org.mortbay.j2ee.session.JGStore#/KDCSWeb] time disparity: -6281 secs
      2004-06-03 14:44:47,090 INFO [org.mortbay.j2ee.session.JGStore#/KDCSWeb] receiving 0 sessions...

      Thankyou.

        • 1. Re: Session Clustering prob.  jgroups classes resolving to o
          townej2

          I put a sniffer on it and the name mismatch is coming from the jboss cluster multicast and not the JGstore one. This doesn't explain why the JGStore is not working.
          Any Ideas on how to get this working???

          I turned on the DebugInterceptor. When I log in the side I am on is reporting:

          14:21:09,311 INFO [DebugInterceptor] getAttribute() -> (org.mortbay.jetty.URI)
          14:21:09,311 INFO [DebugInterceptor] getAttribute() <- null
          14:21:09,312 INFO [DebugInterceptor] removeAttribute() -> (org.mortbay.jetty.URI,false)
          14:21:09,342 INFO [DebugInterceptor] removeAttribute() <- null
          14:21:09,342 INFO [DebugInterceptor] setAttribute() -> (org.mortbay.jetty.Auth,Cred[someUser],false)
          14:21:09,395 INFO [DebugInterceptor] setAttribute() <- null
          14:21:09,427 INFO [DebugInterceptor] setLastAccessedTime() -> (1086373269427)
          14:21:09,437 INFO [DebugInterceptor] setLastAccessedTime() <-
          14:21:12,019 INFO [DebugInterceptor] setLastAccessedTime() -> (1086373272019)
          14:21:12,037 INFO [DebugInterceptor] setLastAccessedTime() <-
          14:21:12,037 INFO [DebugInterceptor] getLastAccessedTime() -> ()
          14:21:12,038 INFO [DebugInterceptor] getLastAccessedTime() <- 1086373272019
          14:21:12,038 INFO [DebugInterceptor] getAttribute() -> (org.mortbay.jetty.Auth)
          14:21:12,038 INFO [DebugInterceptor] getAttribute() <- Cred[someUser]
          14:21:15,613 INFO [DebugInterceptor] getLastAccessedTime() -> ()
          14:21:15,613 INFO [DebugInterceptor] getLastAccessedTime() <- 1086373272019
          14:21:15,614 INFO [DebugInterceptor] getAttribute() -> (rolesHandler)
          14:21:15,614 INFO [DebugInterceptor] getAttribute() <- null
          14:21:15,616 INFO [DebugInterceptor] setAttribute() -> (rolesHandler,utilities.RolesHandler@8f5f75,false)
          14:21:15,628 INFO [DebugInterceptor] setAttribute() <- null
          14:21:15,628 INFO [DebugInterceptor] getAttribute() -> (rolesHandler)
          14:21:15,628 INFO [DebugInterceptor] getAttribute() <- utilities.RolesHandler@8f5f75
          14:21:15,629 INFO [DebugInterceptor] getAttribute() -> (breadCrumbHandler)
          14:21:15,629 INFO [DebugInterceptor] getAttribute() <- null
          14:21:15,630 INFO [DebugInterceptor] setAttribute() -> (breadCrumbHandler,utilities.SessionPopUpBreadCrumbHandler@91cceb,false)
          14:21:15,642 INFO [DebugInterceptor] setAttribute() <- null
          14:21:15,642 INFO [DebugInterceptor] getAttribute() -> (breadCrumbHandler)
          14:21:15,643 INFO [DebugInterceptor] getAttribute() <- utilities.SessionPopUpBreadCrumbHandler@91cceb
          14:21:15,644 INFO [DebugInterceptor] getLastAccessedTime() -> ()
          14:21:15,645 INFO [DebugInterceptor] getLastAccessedTime() <- 1086373272019
          14:21:15,645 INFO [DebugInterceptor] getLastAccessedTime() -> ()
          14:21:15,645 INFO [DebugInterceptor] getLastAccessedTime() <- 1086373272019

          The side I am not logged in to is reporting:
          WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.setAttribute(java.lang.String,java.lang.Object,boolean) throws java.rmi.RemoteException
          16:06:00,167 WARN [AbstractReplicatedStore] null target for public abstract void org.mortbay.j2ee.session.State.setLastAccessedTime(long) throws java.rmi.RemoteException
          16:06:05,215 WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.setAttribute(java.lang.String,java.lang.Object,boolean) throws java.rmi.RemoteException
          16:06:05,299 WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.setAttribute(java.lang.String,java.lang.Object,boolean) throws java.rmi.RemoteException
          16:06:05,329 WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.removeAttribute(java.lang.String,boolean) throws java.rmi.RemoteException
          16:06:05,338 WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.removeAttribute(java.lang.String,boolean) throws java.rmi.RemoteException
          16:06:05,346 WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.removeAttribute(java.lang.String,boolean) throws java.rmi.RemoteException
          16:06:11,117 WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.removeAttribute(java.lang.String,boolean) throws java.rmi.RemoteException
          16:06:11,190 WARN [AbstractReplicatedStore] null target for public abstract java.lang.Object org.mortbay.j2ee.session.State.setAttribute(java.lang.String,java.lang.Object,boolean) throws java.rmi.RemoteException