8 Replies Latest reply on Jul 5, 2003 3:21 AM by jackpot

    Problems with clustering

    Aitor Newbie

      I'm trying to cluster a simple Stateful session Bean. The bean works in a not clustered environment, but, when I change the jboss.xml to add the tag, I deploy it, there is not problem, but when the client is executed, I have the following error: Why can be it?
      My jboss version is 3.0.7:

      Searching nom....
      Searched.
      java.rmi.MarshalException: error marshalling arguments; nested exception is:
      java.io.NotSerializableException: org.jboss.invocation.Invocation
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)
      Exception: error marshalling arguments; nested exception is:
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      java.io.NotSerializableException: org.jboss.invocation.Invocation
      at $Proxy1.create(Unknown Source)
      at CountClient.main(Unknown Source)
      Caused by: java.io.NotSerializableException: org.jboss.invocation.Invocation
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
      at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:265)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:124)
      ... 8 more