Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MalFormed URL exception in RMI  RSS feed

 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • 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?
 
Dinesh Kumar
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!