[omniORB] Unexpected behaviour when running against JacORB

Arno.Schmidmeier@sirius-eos.com Arno.Schmidmeier@sirius-eos.com
Thu, 7 Feb 2002 22:27:14 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1B01E.35F04210
Content-Type: text/plain;
	charset="iso-8859-1"


Hello,

I am using OmniORB 3.04 recompiled with MS Visual C++ SP3 against JacORB 1.4
beta 2. 
Both on the same host which is running under NT 4.0.
When I run the eg_clt2 example (Tracelevel 25) enhanced with several cout <<
"...\n" and 
pass over an IOR of a working JacORB server implementation I get following
unexpected behaviour.
The commandline application works only after pressing ^C.

Any comments?
Has anybody seen the same behaviour before?
Note:
The echo examples do work fine when Omniorb 3.0.4 is running against omniORB
3.0.4.

Detailed problem description:

The programm starts, and generates following output:
omniORB: The omniDynamic library is not linked.
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote:
key<0x5374616e64617264496d706c4e616d652f0010392
93c1119363448>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:Echo:1.0
omniORB: LocateRequest to remote:
key<0x5374616e64617264496d706c4e616d652f001039
293c1119363448>
omniORB: strand Ripper: start.
omniORB: scavenger : start.

<<<<
Here I press control c
And now I see the expected behaviour
<<<<<

argc is 5argv[0is eg2_clt
argv[1is
IOR:000000000000000d49444c3a4563686f3a312e30000000000000000100000000000
0006400010200000000103139322e3139352e3231322e31393100041600010000001b5374616
e646
17264496d706c4e616d652f001039293c11193634480000000001000000010000001c0000000
0000
100010000000105010001000101090000000105010001
argv[2is Hallo Arno
argv[3is -ORBtraceLevel
argv[4is 25
ORB init done
string 2 object done
...

Now everything works fine till the call to the remote echo object is done.

Thanxs for any help, comments links
Arno

********************************************

Arno Schmidmeier
Sirius Software GmbH
- simplicity out of complexity -

Fon 	+49 (0)9151 /90 50 30
Fax 	+49 (0)89 613 676-33
Arno.Schmidmeier@sirius-eos.com






------_=_NextPart_001_01C1B01E.35F04210
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Unexpected behaviour when running against JacORB</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am using OmniORB 3.04 recompiled =
with MS Visual C++ SP3 against JacORB 1.4 beta 2. </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Both on the same host which is =
running under NT 4.0.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">When I run the eg_clt2 example =
(Tracelevel 25) enhanced with several cout &lt;&lt; &quot;...\n&quot; =
and </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">pass over an IOR of a working JacORB =
server implementation I get following unexpected behaviour.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">The commandline application works =
only after pressing ^C.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Any comments?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Has anybody seen the same behaviour =
before?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Note:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">The echo examples do work fine when =
Omniorb 3.0.4 is running against omniORB 3.0.4.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Detailed problem description:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The programm starts, and generates =
following output:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">omniORB: The omniDynamic library is =
not linked.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">omniORB: strand Rope::incrRefCount: =
old value =3D 0</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">omniORB: Creating ref to remote: =
key&lt;0x5374616e64617264496d706c4e616d652f0010392</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">93c1119363448&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;target =
id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : IDL:omg.org/CORBA/Object:1.0</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;most derived id: =
IDL:Echo:1.0</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">omniORB: LocateRequest to remote: =
key&lt;0x5374616e64617264496d706c4e616d652f001039</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">293c1119363448&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">omniORB: strand Ripper: start.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">omniORB: scavenger : start.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&lt;&lt;&lt;&lt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Here I press control c</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">And now I see the expected =
behaviour</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;&lt;&lt;&lt;&lt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">argc is 5argv[0is eg2_clt</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">argv[1is =
IOR:000000000000000d49444c3a4563686f3a312e30000000000000000100000000000<=
/FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">0006400010200000000103139322e3139352e3231322e313931000416=
00010000001b5374616e646</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">17264496d706c4e616d652f001039293c111936344800000000010000=
00010000001c00000000000</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">100010000000105010001000101090000000105010001</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">argv[2is Hallo Arno</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">argv[3is -ORBtraceLevel</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">argv[4is 25</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ORB init done</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">string 2 object done</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">...</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Now everything works fine till the =
call to the remote echo object is done.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanxs for any help, comments =
links</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Arno</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Tahoma">********************************************</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Tahoma">Arno Schmidmeier</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Sirius Software GmbH</FONT>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">- simplicity out of complexity -</FON=
T>
</P>

<P><FONT SIZE=3D2 FACE=3D"Tahoma">Fon &nbsp;&nbsp;&nbsp; +49 (0)9151 =
/90 50 30</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Fax &nbsp;&nbsp;&nbsp; +49 (0)89 613 =
676-33</FONT>
<BR><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Tahoma">Arno.Schmidmeier@sirius-eos.com</FONT></U>
</P>
<BR>
<BR>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C1B01E.35F04210--