wood burning stoves*
The moose likes Distributed Java and the fly likes Sun RMI Tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Sun RMI Tutorial" Watch "Sun RMI Tutorial" New topic
Author

Sun RMI Tutorial

Feargal Egan
Greenhorn

Joined: Nov 14, 2001
Posts: 13
Hi,
I'm working my way through j2ee topics at the moment and have stalled at rmi. I've tried to get the sun rmi example working and have failed miserably.
Everything goes fine until I try to start the server, I get the following exception


I have gone back over all the code and steps in the tutorial several times with the same result. Can somebody help.................?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
I'm not clear on where/when you get this exception. Is this thrown on the client side or the server side?
Bill
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Hi COSTEAU -
First things first: please change your posting name to conform to JavaRanch's naming policy. Thanks.
What is the command line you used to create the stub?
Feargal Egan
Greenhorn

Joined: Nov 14, 2001
Posts: 13
Hi, I've changed the name, sorry!
To create the stub I used the following
rmic examples.hello.HelloImpl
The exception occurs when I try to execute the examples.hello.HelloImpl class.
Also, the rmi registry is running in another shell and gives the following exception(Again when I try to execute the examples.hello.HelloImpl class)

Thanks for any help you can give me!
Feargal
Feargal Egan
Greenhorn

Joined: Nov 14, 2001
Posts: 13
Problem solved, my friend suggested reinstalling the j2sdkee and for some reason this has worked.
FE
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sun RMI Tutorial