[omniORB] help with server refusing to start

Duncan Grisby duncan at grisby.org
Sat Aug 9 15:49:07 BST 2003


On Monday 4 August, "Lee, Robert C." wrote:

> Every since I started to use the argument -ORBendPoint=<port>, I've been
> gettting successively failures of servers to start. Often a message would
> say can't create such and such and endpoint causing me to keep switch ports.
> Looks like something isn't getting cleaned up properly. I tried killing all
> my processes and starting over but I still the same problems. Two symptoms
> are as follows:

The first trace shows the program trying to connect as a client, and
failing. The second one is more mysterious. I don't think either has
anything to do with pinning down the port with -ORBendPoint.  It is
possible to have problems with that, though, since if the program does
not exit cleanly, the operating system can take some time to reclaim
the listening port, meaning that when you try to start up again, the
port is still in use. The only ways around that are to make sure your
program does orb->destroy() before exiting, and failing that to wait
until the OS closes the listening port.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list