0 Replies Latest reply on Jan 19, 2009 6:50 AM by rafaelmanoel

    JBoss 4.0.4.GA connecting to JBoss 5.0.0.GA is possible ?

    rafaelmanoel

      I'm trying to lookup a SessionBean (EJB 2.1) deployed on JBoss 5.0.0 from JBoss 4.0.4.GA.

      I put the jboss.jar (from jboss 5.0.0) in server/default/lib deirectory of JBoss 4.0.4.GA, but I'm still having problems (see stack below).

      Is there a mode to use JBoss 4.0.4.GA as a client of JBoss 5.0.0 ?

      Tnks;

      stack:

      Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
      java.io.OptionalDataException
      at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306)
      at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
      at org.jboss.remoting.Client.invoke(Client.java:525)
      at org.jboss.remoting.Client.invoke(Client.java:488)
      at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:175)
      at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:331)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:194)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      at $Proxy65.create(Unknown Source)
      at uol.am.session.AccountManagerBeanBean.lookupAccountManagerBean(AccountManagerBeanBean.java:111)
      ... 41 more
      Caused by: java.io.OptionalDataException
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
      at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
      at org.jboss.invocation.unified.marshall.InvocationUnMarshaller.read(InvocationUnMarshaller.java:48)
      at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
      ... 53 more