No subject


Fri Aug 31 12:19:44 BST 2012


information other than below:
omniORB: (?) Invoke 'register_entry' on remote: key<dname>
omniORB: (?) throw DATA_CONVERSION from cs-8bit.cc:257 
(NO,DATA_CONVERSION_CannotMapChar)
omniORB: (?) Unexpected error encountered in talking to the server 
giop:tcp:10.6.24.116:59747. The connection is closed immediately.  GIOP_C 
state 2, strand state 0
omniORB: (?) Client connection refcount = 0
omniORB: (?) Client close connection to giop:tcp:10.6.24.116:59747

Thanks.
Jingdong Sun
InfoSphere Streams Development
Phone  507 253-5958  (T/L 553-5958) 
jindong at us.ibm.com



From:   Duncan Grisby <duncan at grisby.org>
To:     Jingdong Sun/Rochester/IBM at IBMUS, 
Cc:     omniorb-list <omniorb-list at omniorb-support.com>
Date:   09/14/2012 05:00 AM
Subject:        Re: [omniORB] DATA_CONVERSION problem with omniORB 4.1.4



On Mon, 2012-09-10 at 12:41 -0500, Jingdong Sun wrote:

> By some update, I am using IOR for client to set connection with
> server. But problem still there. 
> 
> What I am doing as below: 
> 1. From both client and server sides, at the ORB initial time, set
> nativeCharCodeSet=UTF-8. 
> 2.1. At server: run CORBA::ORB_init(argc, argv, "omniORB4") to create
> a ORB object. 
> 2.2. Using above ORB object for the server, and save IOR into string
> by calling CORBA::Object_ptr->object_to_string(obj); 
> 3.1: At client side, run CORBA::ORB_init(argc, argv, "omniORB4") to
> create a ORB object too. 
> 3.2. get saved IOR string for the server, and using it to set up
> client and server connection as below: 
>         CORBA::Object_var _service_obj = _app_orb->string_to_object
> (ior.c_str()); 
>         _narrow(_service_obj); 

That certainly should work. Please post the IOR string you are using,
and a complete trace from the client from -ORBtraceLevel 25.

Duncan.

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




--=_alternative 004FC21286257A79_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hi, Duncan,</font>
<br>
<br><font size=2 face="sans-serif">The IOR string as below:</font>
<br><font size=2 face="Courier New">10 Sep 2012 17:26:05.215 [20218] INFO
:::NAM.StartupDaemon M[dnameserver.cpp:afterActivation:685] &nbsp;- DN_NAM
Service IOR: </font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;Type ID: IDL:NAM/NameService:1.0</font>
<br>
<br><font size=2 face="Courier New">IIOP Profile</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; Version: &nbsp;1.2</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; Address: &nbsp;10.6.24.116:59747</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;Location: &nbsp;10.6.24.116:59747..ZNP..N......</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; Key: &nbsp;fe
ed 5a 4e 50 00 00 4e fa 00 00 00 00 00 </font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; TAG_ORB_TYPE omniORB</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; TAG_CODE_SETS char native code set: UTF-8</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; char conversion
code set: UTF-8</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wchar native code
set: UTF-16</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wchar conversion
code set: UTF-16</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </font>
<br>
<br><font size=2 face="sans-serif">From client side, I set traceLevel=40,
but could not find more useful information other than below:</font>
<br><font size=2 face="Courier New">omniORB: (?) Invoke 'register_entry'
on remote: key&lt;dname&gt;</font>
<br><font size=2 face="Courier New">omniORB: (?) throw DATA_CONVERSION
from cs-8bit.cc:257 (NO,DATA_CONVERSION_CannotMapChar)</font>
<br><font size=2 face="Courier New">omniORB: (?) Unexpected error encountered
in talking to the server giop:tcp:10.6.24.116:59747. The connection is
closed immediately. &nbsp;GIOP_C state 2, strand state 0</font>
<br><font size=2 face="Courier New">omniORB: (?) Client connection refcount
= 0</font>
<br><font size=2 face="Courier New">omniORB: (?) Client close connection
to giop:tcp:10.6.24.116:59747</font>
<br>
<br><font size=2 face="sans-serif">Thanks.</font>
<br><font size=2 face="sans-serif">Jingdong Sun<br>
InfoSphere Streams Development<br>
Phone &nbsp;507 253-5958 &nbsp;(T/L 553-5958) &nbsp;<br>
jindong at us.ibm.com</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Duncan Grisby &lt;duncan at grisby.org&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Jingdong Sun/Rochester/IBM at IBMUS,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">omniorb-list &lt;omniorb-list at omniorb-support.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">09/14/2012 05:00 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [omniORB]
DATA_CONVERSION problem with omniORB 4.1.4</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>On Mon, 2012-09-10 at 12:41 -0500, Jingdong Sun wrote:<br>
<br>
&gt; By some update, I am using IOR for client to set connection with<br>
&gt; server. But problem still there. <br>
&gt; <br>
&gt; What I am doing as below: <br>
&gt; 1. From both client and server sides, at the ORB initial time, set<br>
&gt; nativeCharCodeSet=UTF-8. <br>
&gt; 2.1. At server: run CORBA::ORB_init(argc, argv, &quot;omniORB4&quot;)
to create<br>
&gt; a ORB object. <br>
&gt; 2.2. Using above ORB object for the server, and save IOR into string<br>
&gt; by calling CORBA::Object_ptr-&gt;object_to_string(obj); <br>
&gt; 3.1: At client side, run CORBA::ORB_init(argc, argv, &quot;omniORB4&quot;)
to<br>
&gt; create a ORB object too. <br>
&gt; 3.2. get saved IOR string for the server, and using it to set up<br>
&gt; client and server connection as below: <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; CORBA::Object_var _service_obj = _app_orb-&gt;string_to_object<br>
&gt; (ior.c_str()); <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; _narrow(_service_obj); <br>
<br>
That certainly should work. Please post the IOR string you are using,<br>
and a complete trace from the client from -ORBtraceLevel 25.<br>
<br>
Duncan.<br>
<br>
-- <br>
 -- Duncan Grisby &nbsp; &nbsp; &nbsp; &nbsp; --<br>
 &nbsp;-- duncan at grisby.org &nbsp; &nbsp; --<br>
 &nbsp; -- </font></tt><a href=http://www.grisby.org/><tt><font size=2>http://www.grisby.org</font></tt></a><tt><font size=2>
--<br>
<br>
<br>
</font></tt>
<br>
--=_alternative 004FC21286257A79_=--




More information about the omniORB-list mailing list