I've deployed the jboss instances on 2 Win2k boxes, JBoss does show that it's recognizing the clustering, but when I have clients hit it, sometimes I see it hitting exclusively only one jboss server, the other time it hits the other server only at the beginning of the run and then hits exclusively on this one jboss server for the rest of the time. So there's no round-robin going on. When I killed the server(the one that's getting hit exclusively), the client can not connect to the box, so the fail-over does not work. However if I closed down the client and open it again, now it knows that the server is down and only hits the one that's still alive.
 The following error messages are getting when it's trying to session replicate:
 
13:55:17,046 WARN  [InstantSnapshotManager] Failed to replicate sessionID:aSsASJg8EUYozJgSB6zZ-w**
javax.ejb.EJBException: Exception in setHttpSession: java.rmi.ServerException: RuntimeException; nested exception is:
        java.lang.IllegalArgumentException: Can't remove an object using a null id
        at org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.setHttpSession(ClusteredHTTPSessionService.java:105)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
 
Any clue why such an odd behaviour is being shown even though the application is giving proper results.
 
Thanks & Regards
Vijaya
 

Reply via email to