11 Replies Latest reply on Jun 1, 2004 9:01 AM by shantharam

    Bug in Clustering without farming on 3.2 ?

    null null Newbie

      Hi,
      I'm trying to setup a cluster in JBoss 3.2 without
      farming. Starting with the plain 'all' configuration,
      I changed the mulitcast port in cluster-service.xml,
      deleted all/farm and all/deploy/farm-service.xml.
      Now when I start 2 machines with this configuration,
      the last started gets the following exception:
      11:13:12,053 ERROR [DefaultPartition] setState failed
      java.io.InvalidClassException: org.jboss.ha.framework.interfaces.HARMIServer; Incompatible
      local class name. Expected class name compatible with org.jboss.ha.framework.server.HARMI
      ServerImpl_Stub
      at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:528)
      at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562)
      at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:931)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.util.HashMap.readObject(HashMap.java:835)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.util.HashMap.readObject(HashMap.java:835)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1137)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.util.HashMap.readObject(HashMap.java:835)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at org.jboss.ha.framework.server.HAPartitionImpl.objectFromByteBuffer(HAPartitionI
      mpl.java:114)
      at org.jboss.ha.framework.server.HAPartitionImpl.setState(HAPartitionImpl.java:332
      )
      at org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispatche
      r.java:468)
      at org.javagroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:294)
      at org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.ja
      va:513)
      at org.javagroups.JChannel.up(JChannel.java:841)
      at org.javagroups.stack.ProtocolStack.up(ProtocolStack.java:302)
      at org.javagroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:318)
      at org.javagroups.stack.Protocol.passUp(Protocol.java:435)
      at org.javagroups.protocols.pbcast.STATE_TRANSFER.handleStateRsp(STATE_TRANSFER.ja
      va:316)
      at org.javagroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:123)
      at org.javagroups.stack.UpHandler.run(Protocol.java:55)
      11:13:12,073 ERROR [HANamingService] Starting failed
      java.rmi.StubNotFoundException: Stub class missing constructor: org.jboss.ha.framework.ser
      ver.HARMIServerImpl_Stub; nested exception is:
      java.lang.NoSuchMethodException
      java.lang.NoSuchMethodException
      at java.lang.Class.getConstructor0(Native Method)
      at java.lang.Class.getConstructor(Class.java:922)

      etc, etc.
      Anyone has an idea about the source of this problem ?
      Thanks
      /jog