[omniORB] No connection to Naming Service from omniORB client

RKOSS@Opto22.com RKOSS@Opto22.com
Tue Mar 11 20:08:01 2003


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_01C2E809.7A22B5C0
Content-Type: text/plain;
	charset="iso-8859-1"

> In what way does it fail?

If I pass the following string to string_to_object() I will get a BAD_PARAM
exception:
"corbaname::10.192.0.107:900#NokiaANC/iorgen/csd;term123;1;IDL:File:1.0;IDL:
File:1.0"

The sections of text containing "File:1.0" contain a period which needs to
be escaped. I found that I couldn't simply escape the period character as
follows: "File:1%2e0" I also had to escape a backslash before the period as
follows: "File:1%5c%2e0"

The following string works:
"corbaname::10.192.0.107:900#NokiaANC/iorgen/csd;term123;1;IDL:File:1%5c%2e0
;IDL:File:1%5c%2e0

Thanks again Dr Grisby for your time

Ron

-----Original Message-----
From: Duncan Grisby [mailto:duncan@grisby.org]
Sent: Tuesday, March 11, 2003 8:05 AM
To: RKOSS@Opto22.com
Cc: omniorb-list@omniorb-support.com
Subject: Re: [omniORB] No connection to Naming Service from omniORB
client 


On Monday 10 March, RKOSS@Opto22.com wrote:

[...]
> I would then see the same symptoms that Christoph sees. I think it is
> related to timing.

I think it's related to Windows DLL ugliness...

[...]
> I sniff the network communication when I do this and find that my
> application does make a connection to the naming service, it does acquire
a
> NamingContext, but when it tries to resolve my object
> ("#NokiaANC/iorgen/csd;term123;1;IDL:File:1%2e0"), it fails.

In what way does it fail?

[...]
> BTW, thank you Mr. Grisby for your response.

No need to be so formal. Call me Duncan. If you do insist on being
formal, it's Dr Grisby. :-)

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --

------_=_NextPart_001_01C2E809.7A22B5C0
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>RE: [omniORB] No connection to Naming Service from omniORB =
client </TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>&gt; In what way does it fail?</FONT>
</P>

<P><FONT SIZE=3D2>If I pass the following string to string_to_object() =
I will get a BAD_PARAM exception:</FONT>
<BR><FONT =
SIZE=3D2>&quot;corbaname::10.192.0.107:900#NokiaANC/iorgen/csd;term123;1=
;IDL:<A HREF=3D"File:1.0;IDL:File:1.0" =
TARGET=3D"_blank">File:1.0;IDL:File:1.0</A>&quot;</FONT>
</P>

<P><FONT SIZE=3D2>The sections of text containing &quot;<A =
HREF=3D"File:1.0" TARGET=3D"_blank">File:1.0</A>&quot; contain a period =
which needs to be escaped. I found that I couldn't simply escape the =
period character as follows: &quot;<A HREF=3D"File:1%2e0" =
TARGET=3D"_blank">File:1%2e0</A>&quot; I also had to escape a backslash =
before the period as follows: &quot;<A HREF=3D"File:1%5c%2e0" =
TARGET=3D"_blank">File:1%5c%2e0</A>&quot;</FONT></P>

<P><FONT SIZE=3D2>The following string works:</FONT>
<BR><FONT =
SIZE=3D2>&quot;corbaname::10.192.0.107:900#NokiaANC/iorgen/csd;term123;1=
;IDL:<A HREF=3D"File:1%5c%2e0;IDL:File:1%5c%2e0" =
TARGET=3D"_blank">File:1%5c%2e0;IDL:File:1%5c%2e0</A></FONT>
</P>

<P><FONT SIZE=3D2>Thanks again Dr Grisby for your time</FONT>
</P>

<P><FONT SIZE=3D2>Ron</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Duncan Grisby [<A =
HREF=3D"mailto:duncan@grisby.org">mailto:duncan@grisby.org</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, March 11, 2003 8:05 AM</FONT>
<BR><FONT SIZE=3D2>To: RKOSS@Opto22.com</FONT>
<BR><FONT SIZE=3D2>Cc: omniorb-list@omniorb-support.com</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [omniORB] No connection to Naming =
Service from omniORB</FONT>
<BR><FONT SIZE=3D2>client </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Monday 10 March, RKOSS@Opto22.com wrote:</FONT>
</P>

<P><FONT SIZE=3D2>[...]</FONT>
<BR><FONT SIZE=3D2>&gt; I would then see the same symptoms that =
Christoph sees. I think it is</FONT>
<BR><FONT SIZE=3D2>&gt; related to timing.</FONT>
</P>

<P><FONT SIZE=3D2>I think it's related to Windows DLL =
ugliness...</FONT>
</P>

<P><FONT SIZE=3D2>[...]</FONT>
<BR><FONT SIZE=3D2>&gt; I sniff the network communication when I do =
this and find that my</FONT>
<BR><FONT SIZE=3D2>&gt; application does make a connection to the =
naming service, it does acquire a</FONT>
<BR><FONT SIZE=3D2>&gt; NamingContext, but when it tries to resolve my =
object</FONT>
<BR><FONT SIZE=3D2>&gt; (&quot;#NokiaANC/iorgen/csd;term123;1;IDL:<A =
HREF=3D"File:1%2e0" TARGET=3D"_blank">File:1%2e0</A>&quot;), it =
fails.</FONT>
</P>

<P><FONT SIZE=3D2>In what way does it fail?</FONT>
</P>

<P><FONT SIZE=3D2>[...]</FONT>
<BR><FONT SIZE=3D2>&gt; BTW, thank you Mr. Grisby for your =
response.</FONT>
</P>

<P><FONT SIZE=3D2>No need to be so formal. Call me Duncan. If you do =
insist on being</FONT>
<BR><FONT SIZE=3D2>formal, it's Dr Grisby. :-)</FONT>
</P>

<P><FONT SIZE=3D2>Cheers,</FONT>
</P>

<P><FONT SIZE=3D2>Duncan.</FONT>
</P>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>&nbsp;-- Duncan =
Grisby&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --</FONT>
<BR><FONT SIZE=3D2>&nbsp; -- duncan@grisby.org&nbsp;&nbsp;&nbsp;&nbsp; =
--</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; -- <A HREF=3D"http://www.grisby.org" =
TARGET=3D"_blank">http://www.grisby.org</A> --</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2E809.7A22B5C0--