0 Replies Latest reply on Nov 22, 2002 7:03 AM by jackieguo

    Transaction Propagation Problem:  java.io.NotSerializableExc

    jackieguo

      Use Jboss3.0.4-tomcat4.1.12,
      When call the stateless EJB on the other Jboss Serverwith the same version from a transactional context,
      I gets following exception message:

      18:58:42,782 INFO [STDOUT] error marshalling arguments; nested exception is:
      java.io.NotSerializableException: org.jboss.tm.TransactionImpl
      18:58:42,782 ERROR [STDERR] java.rmi.MarshalException: error marshalling arguments; nested exception is:
      java.io.NotSerializableException: org.jboss.tm.TransactionImpl
      18:58:42,792 ERROR [STDERR] java.io.NotSerializableException: org.jboss.tm.TransactionImpl
      18:58:42,802 ERROR [STDERR] at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
      18:58:42,802 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      18:58:42,802 ERROR [STDERR] at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:377)
      18:58:42,812 ERROR [STDERR] at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1172)
      18:58:42,812 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
      18:58:42,822 ERROR [STDERR] at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:268)
      18:58:42,822 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:106)
      18:58:42,822 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(UnknownSource)
      18:58:42,832 ERROR [STDERR] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:138)
      18:58:42,832 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      18:58:42,832 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      18:58:42,842 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)

      It is okay when call the EJBs in other Jboss server
      from a non-transactional context.
      Doesn't Jboss support transaction propagation now?
      How can I call the EJBs on other Jboss server in
      a transactional env?