• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

MalFormed URL exception in RMI

 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My rmi client is talkeing to server using the URL like
"rmi://hostname ort/server"
I know that MalformedURL exception is thrown when no handler for protocol is found. Is there any handler for handling rmi?
I did not find one in sun.net.
How can this be resolved?
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rei,

Can yiu give some more detail. Is the "hostname" localhost or some other? Which port are you connecting to? It'd be easier for someone to reply in this case if you could attach the server class and the client class code.

I think the "handler" that you're talking about should be the rmiregistry that is listening on the host ort.

- Dinesh
 
All of the following truths are shameless lies. But what about this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic