[omniORB] Problem with Persistent POA

srinath duraisamy mail2srinathd at gmail.com
Fri Nov 6 13:10:54 GMT 2009


@Duncan Thanks for replying.

My scenario is like when a server get crashed and restarted by watchdog.
For persisitent POA it should bind to the same port(using -ORBendPoint
2810).

After Server get crashed I used the netsat -nop TCP to find the port info.
The particular port is in FIN_WAIT_2 state.
Since server is getting crashed it will not be in a position to send the
final FIN. The opearting system should take care of cleaning the ports. In
my case Windows is not cleaning up that port.
When I searched for this problem I found out for the apache servers they are
configuring a time delay for flushing out this ports.

My question is there anything can be anything done on the ORB level for
cleaning up the ports like reducing the time delay, without depending on the
operating systems to clean up the ports while server getting crashed.

Thanks in advance.

Regards
Srinath.D

On Thu, Nov 5, 2009 at 11:02 PM, Duncan Grisby <duncan at grisby.org> wrote:

> On Fri, 2009-10-30 at 16:44 +0530, srinath duraisamy wrote:
>
> > I started my server with -ORBendPoint option. Run my client got a
> > reference for server from naming service.
> > When I restarted the server again I am getting the following error
> >
> > $ build/Server.exe -ORBInitRef NameService=corbaname::localhost
> > -ORBendPoint giop:tcp:localhost:2810
> > omniORB: Failed to bind to address 127.0.0.1 port 2810. Address in
> > use?
> > omniORB: Error: Unable to create an endpoint of this description:
> > giop:tcp:localhost:2810
> > Caught CORBA::INITIALIZE
>
> That means something else is using the port. You can use netstat -ano to
> see what. Are you sure the previous invocation of your server had
> definitely terminated?
>
> Cheers,
>
> Duncan.
>
> --
>  -- Duncan Grisby         --
>  -- duncan at grisby.org     --
>   -- http://www.grisby.org --
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20091106/2656854d/attachment-0001.htm


More information about the omniORB-list mailing list