Hi all
Problem background:.....
I am facing a problem while verifying validity of the Remote Stub. We
have a Naming Server running on a standalone host running 24/7.
Someother team registers few corba services to this naming server, on
some reasons we have invalid instances registered and hanging on
naming server. we have design our application such that it will be
taking application context (like root/tree/nodes) all the instances
under that context will be collected and cached so that not to
contact
naming server for each request.
Instances might be registered like this:
root/tree/nodes/L1
root/tree/nodes/L2
root/tree/nodes/L3
....so on.
we will supply root/tree/nodes to our application and our application
will read all the Leaf nodes under nodes and stores in a cache. all
L1,L2,and L3 are of same type.
Problem:
When any module request for an remote stub our service locater should
return one of L1or L2 or L3. before returning one of these three
objects we will be validating these objects using _non_existance()
method. If we invoke _non_existance() infact any method on an invalid
Stub our application is hanging and not responding at all. we are
able
to Narrow down invalid stub but invoking any method hanging the
application. All this was implemented in Java.
If anybody has any idea on this situation Please help .
Thanks in Advance
-Sanat.