2 Replies Latest reply on Dec 20, 2002 10:30 AM by anamini

    Local and Remote references

    anamini

      I hava a SWING based client that makes a call to a message-style web service which in turn invokes a local EJB. This ejb, designed as a session facade, makes a few calls to other local ejbs and one call to a remote ejb.
      A problem exists in that the remote ejb does not work. My appserver (JBoss) cannot create the home object and I get an error signifying an "error marshalling arguments". The question are as follows:

      1. Is it possible to invoke a remote and local beans from the same bean. I did incorporate local and remote references in my deployment descriptors, to no avail.

        • 1. Re: Local and Remote references

          Most likely your arguments are not serializable
          or the classes don't exist on the server or client.

          I can't tell, you didn't post the stack trace.

          Regards,
          Adrian

          • 2. Re: Local and Remote references
            anamini

            I apologize for taking people's time. I found my error. The issue centers around my deployment of the ejb in which I made the container responsible for the transaction (and since a call was made to a remote bean) a distributed transaction, hence the need for a serialization.

            Again, sorry for the inconvencience, and keep have fun. I am.