What ports can we use for RMID?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Viraj_Byakod
Posted On:   Friday, June 8, 2001 05:38 PM

I tried to use a port number other than 1098 and then Activation fails. In my register class i do a LocateRegistry.getRegistry(port).
Whats the reason?? Help??

Re: What ports can we use for RMID?

Posted By:   Richard_Robinson  
Posted On:   Wednesday, June 27, 2001 05:15 PM

1099 is the default port, not 1098. But that's beside the question.


What is the Exception message or Stack Trace that results from when you call LocateRegistry.getRegistry( iPort )?




If you provide the code snippet, it would help. But perhaps you should be using LocateRegistry.createRegistry( iPort ), first, to start the registry. Once the registry is started, then you can call getRegistry() method on it (although you don't have to, as the createRegistry() method returns a reference to the registry you created).




Not sure if this helps...

About | Sitemap | Contact