<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6396.0">
<TITLE>problems on eventchannel</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT><FONT FACE="Times New Roman"> </FONT>

<BR><FONT SIZE=2 FACE="Arial">I'm having problems with my OmniORB Event Channel CORBA.</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">I'm using omniORB 3.0.3 and omniEvents 2.1.2.</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">I have 1 server that starts a Naming Service and an Event Channel and</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">3 or 4 clients that are connected to this server. The problem is that</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">when a client dies, the server polls over all of his own ports trying</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">to find the client.</FONT><FONT FACE="Times New Roman"> </FONT>

<BR><FONT SIZE=2 FACE="Arial">So, If the server connects through the 1234 port with a client in a</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">6789 port and dies, then the server will ask to the client from 1235</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">to 6789, 1236 to 6789 and so on...</FONT><FONT FACE="Times New Roman"> </FONT>

<BR><FONT SIZE=2 FACE="Arial">The real problem is that when the client restarts.. the server uses</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">another port to connect with the client, but the server continues trying</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">to connect with the older ports of the clients.</FONT> 

<BR><FONT SIZE=2 FACE="Arial">The result is a lot of traffic (TCP/IP packets) over the network.</FONT><FONT FACE="Times New Roman"> </FONT>

<BR><FONT SIZE=2 FACE="Arial">The Event Channel is started with -ORBInitRef</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">NameService=corbaloc::1.0@pcproof:1235/NameService</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">-ORBpoa_iiop_name_port localhost:1450 -ORBinConScanPeriod 3</FONT><FONT FACE="Times New Roman"><BR>
</FONT><FONT SIZE=2 FACE="Arial">-ORBoutConScanPeriod 3.</FONT><FONT FACE="Times New Roman"> </FONT>

<BR><FONT SIZE=2 FACE="Arial">Could anybody help me, please??</FONT><FONT FACE="Times New Roman"> </FONT>
</P>

</BODY>
</HTML>