Severin Chazalmartin Guest
|
Posted: Wed Dec 13, 2006 11:25 pm Post subject: Intercepting requests to ServerA from ServerB |
|
|
Hi all,
Well I've been exploring forums so as to a find a solution to my
problem, though it may appear basic to you... I guess I lack some piece
of knowledge about requests... I would be so grateful for your help!
Let me please sum up my system configuration:
OS: RedHat-3.0
ORB: JacORB-2.2.3
Servers: compiled under MICO-2.3.11
For interoperability problems (that were recently issued on this
newsgroup), I had to get rid of JacORB's ImR. Though, I'd like to watch
over my MICO Servers, so as to recover them if they crash... The
solution I chose for now was an ORB-independent script that would loop
on a "top"-like command and check Servers executable are alive...
However it is, as pointed here before, not satisfactory...
-> One solution would be to intercept clients requests to, let's say,
ServerA from an ORB object (ImR-like...); let's call this object
ServerB. Hence my question in title : can I do this?
I tried to check some ImR proprietary source codes, but it is quite
confusing I must admit... I saw that classes GIOPConnection may help
me; in fact I need to know how to create a request_listener properly
(out of my knowledge of the IOR of the Server I want to listen to).
I hope this was clear enough for your kind help.
Thank a lot!
Severin |
|