[omniORB] already biund exception is not throws
Duncan Grisby
duncan at grisby.org
Fri Jul 3 18:37:30 BST 2009
On Thursday 2 July, Manusha Wijekoon wrote:
> im trying to use nameservice to implement distributed mutual exclusion.
> What im trying to do is to bind a servant with a predefined name in the
> nameservice. If two processes try to bind a same type of servant with same
> name, it should throw alreadyboundexception.
>
> the problem im having is, when i try to bind a servant with same name with in
> one process, the exception is thrown. but when i try to bind two servants from
> two processes, the exception is not thrown.
This is possibly a silly question, but are both processes definitely
using the same naming service? And the same name?
Can you post some example code that demonstrates the problem?
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list