<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>I can sometimes see
some strange behavior in my server, compiled with omniORB 4.0.7
:</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>I send 50 identical
requests to my server, sometimes 2 fail.</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>When it fails, I can
see these (abnormal, to my application point of view) omniORB traces
:</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face="Courier New" size=2>2008/12/17
11-14-32 : omniORB: (38) <BR>4749 4f50 0102 0100 a400 0000 1306 0000
GIOP............<BR>0300 0000 0000 0000 1700 0000 ff62 6964
.............bid<BR>6972 706f 61fe 3ccc 4849 0100 1bb9 0000
irpoa.<.HI......<BR>0000 a750 1000 0000 6765 7453 656c 6563
...P....getSelec<BR>7452 6573 756c 7400 0000 0000 0000 0000
tResult.........<BR>1200 0000 4167 656e 7449 436c 6553 6572
....AgentICleSer<BR>7669 6365 7300 0001 0100 0000 1b00 0000
vices...........<BR>4943 6c65 4e61 6d65 2c53 6572 7669 6365
ICleName,Service<BR>5479 7065 2c4c 6162 656c 0039 1400 0000
Type,Label.9....<BR>5365 7276 6963 654e 616d 653d 5243 3832
ServiceName=RC82<BR>5048 4100 0100 0000 0031 3839 0000 0000
PHA......189....<BR>2008/12/17 11-14-32 : omniORB: (38) Dispatching remote call
'getSelectResult' to: root/bidirpoa<167>
(active)<BR>...</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face="Courier New" size=2>2008/12/17
11-14-32 : omniORB: (38) omniRemoteIdentity deleted.<BR>2008/12/17 11-14-32 :
omniORB: (38) ObjRef(IDL:corbacom/LogServiceInterface:1.0) --
deleted.<BR>...</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face="Courier New" size=2>2008/12/17
11-14-32 : omniORB: (38) sendChunk: to giop:tcp:10.151.35.219:41645 28
bytes<BR>2008/12/17 11-14-32 : omniORB: (38) <BR>4749 4f50 0102 0101 1000 0000
1306 0000 GIOP............<BR>0000 0000 0000 0000 0000
0000
............</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>That bring my global
system wrong.</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>So, first question :
I there any kind of way omniORB could delete an omniRemoteIdentity where it
should not, or is it possible that it is displaying wrong information
?</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>The fact is that the
same sequence occurs at both one of the two failures. And omniORB says, two
times, that the omniRemoteIdentity is deleted, while there should be only one
holded (set earlier in the application) ?</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>Second question :
What is the meaning of the 28 bytes chunk sent ? It seems to be understood as
a reply to the getSelectResult() request...</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>Third question : My
server needs to hold interfaces for a while, but those need to be deactivated
while they are not used (I use a close() request to tell an interface that it
can be destroyed). How should I handle the servant activation/deactivation
?</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>For now, I use the
POA's activate_object() and deactivate_object() methods, but I am now thinking I
can be wrong.</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>For instance, I know
that calling the _this() method on a servant will automaticaly activate it, but
how can I deactivate it ?</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial size=2>I know that I ask
many questions, and that some answer can be trivial, but I am really lost in
that "funny" problem.</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=168101013-17122008><FONT face=Arial
size=2>Thomas</DIV></FONT></SPAN>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>Thomas Zumbiehl</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Chef de Projet
Développement</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>BV Associates</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><A
href="http://www.bvassociates.fr/">http://www.bvassociates.fr</A></FONT></DIV>
<DIV> </DIV></BODY></HTML>