dcsimg
RMI Port Problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chauryih_see
Posted On:   Thursday, May 16, 2002 06:32 PM

Hi All, My company now actually already have one system implement in RMI and the RMIRegistry with RMIServer is run at the Win2k(cannot at different platform).During the abnormal shut down on the server (direct power off), the RMI port will be locked by the Win 2k OS. We cannot restart the RMI Registry on the same port (1099) even though we did a proper shut down and reboot the Win2k. We suspected that this is due to the OS failed to detect the previous RMI registry has been terminated and still reserve the port for it. Currently, we have a work around method by using a different port on all RMI components if the same problem occur. However, this is not    More>>

Hi All,


My company now actually already have one system
implement in RMI and the RMIRegistry with RMIServer is
run at the Win2k(cannot at different platform).During
the abnormal shut down on the server (direct power
off), the RMI port will be locked by the Win 2k OS. We
cannot restart the RMI Registry on the same port
(1099) even though we did a proper shut down and
reboot the Win2k. We suspected that this is due to the
OS failed to detect the previous RMI registry has been
terminated and still reserve the port for it.
Currently, we have a work around method by using a
different port on all RMI components if the same
problem occur. However, this is not the permanent
solution.


Did we can have a way to make the client transparent
to the RMIRegistry port?




best regds


ahchao

   <<Less

Re: RMI Port Problem

Posted By:   Jorgen_Nordqvist  
Posted On:   Monday, May 20, 2002 05:10 AM

Ahchao,

This is the standard way most OS'es handles sockets. If you abruptly terminate an applicaton that has had a socket allocated to it by the OS, the socket will not be put back into the freepool until the OS has timed it out. On Windows NT I have seen this process take up to 5 mins. You can view socket status with the 'netstat' command.

Jorgen

About | Sitemap | Contact