• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sun RMI Tutorial

 
Feargal Egan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved, my friend suggested reinstalling the j2sdkee and for some reason this has worked.
FE
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic