1 Reply Latest reply on Feb 25, 2006 4:38 PM by Ron Sigal

    Exception in Multiplex sample

    Justin Chang Newbie

      I am trying to run the Client2Server1 sample along with MultipleInvokerServer sample in the latest CVS. I am getting the following exception:
      java.lang.NoClassDefFoundError
      at org.jboss.util.id.VMID.create(VMID.java:259)
      at org.jboss.util.id.VMID.getInstance(VMID.java:223)
      at org.jboss.util.id.GUID.(GUID.java:65)
      at org.jboss.remoting.Client.(Client.java:92)
      at org.jboss.remoting.Client.(Client.java:177)
      at org.jboss.remoting.Client.(Client.java:156)
      at org.jboss.remoting.Client.(Client.java:138)
      at org.jboss.remoting.callback.ServerInvokerCallbackHandler.init(ServerI
      nvokerCallbackHandler.java:110)
      at org.jboss.remoting.callback.ServerInvokerCallbackHandler.(Serve
      rInvokerCallbackHandler.java:101)
      at org.jboss.remoting.ServerInvoker.getCallbackHandler(ServerInvoker.jav
      a:920)
      at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvok
      er.java:773)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:644)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:513)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
      rverThread.java:331)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
      ava:385)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
      a:239)
      at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.jav
      a:183)
      at org.jboss.remoting.Client.invoke(Client.java:478)
      at org.jboss.remoting.Client.addListener(Client.java:673)
      at Client2Server1.makeClientCall(Client2Server1.java:137)
      at Client2Server1.main(Client2Server1.java:157)

      I added the offending line VMID.getInstance() at the very beginning of Client2Server1 main method and it ran past it fine. Is this a class loader issue or something else? I did have concurrent.jar in my class path.

      Thanks,