3 Replies Latest reply on May 9, 2005 2:39 PM by Tom Elrod

    Client Side Error using AOP Remoting

    Mike Chack Newbie

      I get the following error output from an RMI Remoting client. It am using the AOP remoting framework and the remote calls seem to work fine.

      org.jboss.remoting.transport.rmi.RMIServerInvoker_Stub[RemoteStub [ref: [endpoint:[192.168.0.151:8085](remote),objID:[c68c3:103b8014944:


      I instantiated the server programmatically using the following:

      InvokerLocator locator = new InvokerLocator("rmi://localhost:8085");
      Connector connector = new Connector();
      connector.setInvokerLocator(locator.getLocatorURI());
      connector.start();


      connector.addInvocationHandler("AOP", new AOPRemotingInvocationHandler());

      Any help would be appreciated. This is my first test at using AOP Remoting.

        • 1. Re: Client Side Error using AOP Remoting
          Tom Elrod Master

          The code you pasted looks fine. I am not sure I understand what the problem you are having is? Can you provide a more complete error log/stack trace? How were you making the call from the client? Also, what version of JBossRemoting are you using?

          • 2. Re: Client Side Error using AOP Remoting
            Mike Chack Newbie

            Thanks for the reply. I hope this was the correct forum for this question, if not let me know.

            Components are:

            JBOSS 4.0.1sp1
            Remoting Framework 1.0.2
            AOP Framework 1.1.2 (jars from lib vers lib-50 dir)
            JDK 1.4.2_05

            I was running the test client in Eclipse. The error message produced was output on standard error. No exception was generated. The error was output only once, associated with the first remote invocation. All remote calls worked. Could be some extraneous debug output.

            Thanks again.

            • 3. Re: Client Side Error using AOP Remoting
              Tom Elrod Master

              You are right about this just being extraneous debug output in the RMIClientInvoker:

               public void setServerStub(RMIServerInvokerInf server)
               {
               this.server = server;
               System.err.println(this.server);
               }
              


              I have changed this to log.trace(this.server)

              Thanks for letting me know.