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

RMI and classpath prob  RSS feed

 
Chris Chua
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all could somebody help me with this. I am currently studying about RMI my interface name is Iflip the server class name is Flip, I have tried this in win 98 and it is working fine now i tried it on win nt and it isnt working I have put all the classes in a directory ex c:\tut\rmi this includes the Flip_Stub and Flip_Skel produce using the rmic so when i started the registry a remote exception occured saying it couldnt find the Flip_Stub class file, so I added a classpath option like -cp c:\tut\rmi\Flip_Stub.class;c:\tut\rmi\Flip_Skel.class now when I run it it coudnt find my server class file thats Flip.class so i change the classpath again to -cp c:\tut\rmi\Flip_Stub.class;c:\tut\rmi\Flip_Skel.class;c:\tut\rmi Flip host port num.
now it throws the remote exception ( classnotfoundexception ) stating it coudnt find the Flip_Stub.class so what wrong with this? can somebody give me a solution to this.
Thanks
Chris
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!