• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sun RMI Tutorial

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.................?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem solved, my friend suggested reinstalling the j2sdkee and for some reason this has worked.
FE
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic