Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Basic RMI  RSS feed

 
Praveen Balaji
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to learn a little RMI for EJB. I used the "Flip" from Ed Roman's "Mastering EJB". When i run my server, it binds to the registry but throws a
"ClassNotFoundException" for Flip_Stub.class.
can someone tell me what mistake i could have meade. I ran the registry on 5008. (It was running when i invoked the server code)
Thanks in advance.
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must make sure that the directory containing Flip_Stub.class is in your classpath. Remember the Stub and skeleton will be placed in a directory hierarchy based on the path name. If doesn't work, try posting the source code to give a better example of what your problem is.
------------------
Ronnie Phelps
Sun Certified Programmer for the Java� 2 Platform
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!