1 Reply Latest reply on Dec 15, 2003 6:08 PM by jschlesser

    problem about jboss and NFS

    guzhifeng

      Hi,
      I'm running a Jboss cluster on 2 linux machines. We share files between the machines through NFS. But it seems that Jboss doesn't work well with NFS.
      If I start Jboss3.2.1 first on machine A, which hosts the NFS daemon, everything goes well. But If the Jboss on machine B is started first, IN MOST CASE, you will get folllowing error message when Jboss on machine A is starting:
      java.io.InvalidClassException: org.jboss.ha.framework.interfaces.HARMIServer; local class name incompatible with stream class name "org.jboss.ha.framework.server.HARMIServerImpl_Stub"
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:467)
      ......
      16:34:10,193 ERROR [HANamingService] Starting failed
      java.rmi.StubNotFoundException: Stub class missing constructor: org.jboss.ha.framework.server.HARMIServerImpl_Stub; nested exception is:
      java.lang.NoSuchMethodException: org.jboss.ha.framework.interfaces.HARMIServer.(java.rmi.server.RemoteRef)
      .......
      Caused by: java.lang.NoSuchMethodException: org.jboss.ha.framework.interfaces.HARMIServer.(java.rmi.server.RemoteRef)
      at java.lang.Class.getConstructor0(Class.java:1769)
      at java.lang.Class.getConstructor(Class.java:1002)
      at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:94)
      ... 74 more
      16:34:10,197 WARN [ServiceController] Problem starting service jboss:service=HAJNDI
      java.rmi.StubNotFoundException: Stub class missing constructor: org.jboss.ha.framework.server.HARMIServerImpl_Stub; nested exception is:
      java.lang.NoSuchMethodException: org.jboss.ha.framework.interfaces.HARMIServer.(java.rmi.server.RemoteRef)
      at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:101)
      ......

      If I stop NFS daemon, everything goes well... The systems should be clean, because both of them are newly installed with redhat advanced server 2.1. And jbosses on each machine are totally same except for the jvmRoute parameter. JDK is 1.4.1_04 from sun.
      Does anyone meet with same problem ever before? Please help. Thanks!