• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

rmi classes compiled. Execution of server class throwing exception

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I coded an interface, a server program and a client program (all very simple) and compiled them. All 3 .class files are in same folder. After starting server program, I wanted to execute client program on a remote machine. I removed classpath and started rmiregistry. When I executed the server program, it threw exceptions but didn't abort. Exception reads: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: Echo ... etc
Code is
What may be causing exception?
reply
    Bookmark Topic Watch Topic
  • New Topic