File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Issue with RMi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Issue with RMi" Watch "Issue with RMi" New topic
Author

Issue with RMi

deepak carter
Ranch Hand

Joined: Feb 19, 2011
Posts: 165
I created following classes








class path are set just fine...
As in the one the blog it it mentioned that in java 1.5 or later no need for rmic for stub and skeleton...

when i am starting the rmiregistry in command prompt using following syntax

start rmiregistry its starting up fine


the problem is when i am starting the server file its showing a huge error...I tried searching google but no use..

Can anyone of you can help in this


here is the rror which i am getting when i am running the server
Yasin Kothia
Ranch Hand

Joined: Sep 25, 2009
Posts: 39
I cant see the error message
deepak carter
Ranch Hand

Joined: Feb 19, 2011
Posts: 165
it didnt got posted bt if we try to run server its showing huge error
Yasin Kothia
Ranch Hand

Joined: Sep 25, 2009
Posts: 39
please paste the error in a block code,

dont worry about it being so long.
kien kun
Greenhorn

Joined: Feb 15, 2012
Posts: 27
I think you don't complie file(.class) Which will make two class stub and steke
Yasin Kothia
Ranch Hand

Joined: Sep 25, 2009
Posts: 39
I have tested the code, and it works just fine.

response: Hello, world!


What you need to is recompile the .java classes via command prompt (javac) not via a IDE and see if that works for you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with RMi