b***@does.not.exist.com
2012-08-31 11:19:44 UTC
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
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] - DN_NAM
Service IOR: </font>
<br><font size=2 face="Courier New"> 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"> Version: 1.2</font>
<br><font size=2 face="Courier New"> Address: 10.6.24.116:59747</font>
<br><font size=2 face="Courier New"> Location: 10.6.24.116:59747..ZNP..N......</font>
<br><font size=2 face="Courier New"> Key: fe
ed 5a 4e 50 00 00 4e fa 00 00 00 00 00 </font>
<br><font size=2 face="Courier New">
TAG_ORB_TYPE omniORB</font>
<br><font size=2 face="Courier New">
TAG_CODE_SETS char native code set: UTF-8</font>
<br><font size=2 face="Courier New">
char conversion
code set: UTF-8</font>
<br><font size=2 face="Courier New">
wchar native code
set: UTF-16</font>
<br><font size=2 face="Courier New">
wchar conversion
code set: UTF-16</font>
<br><font size=2 face="Courier New">
</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<dname></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. 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 507 253-5958 (T/L 553-5958) <br>
jindong at us.ibm.com</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Duncan Grisby <duncan at grisby.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Jingdong Sun/Rochester/IBM at IBMUS,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">omniorb-list <omniorb-list at omniorb-support.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">09/14/2012 05:00 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</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>
> By some update, I am using IOR for client to set connection with<br>
> server. But problem still there. <br>
> <br>
> What I am doing as below: <br>
> 1. From both client and server sides, at the ORB initial time, set<br>
> nativeCharCodeSet=UTF-8. <br>
> 2.1. At server: run CORBA::ORB_init(argc, argv, "omniORB4")
to create<br>
> a ORB object. <br>
> 2.2. Using above ORB object for the server, and save IOR into string<br>
> by calling CORBA::Object_ptr->object_to_string(obj); <br>
> 3.1: At client side, run CORBA::ORB_init(argc, argv, "omniORB4")
to<br>
> create a ORB object too. <br>
> 3.2. get saved IOR string for the server, and using it to set up<br>
> client and server connection as below: <br>
> CORBA::Object_var _service_obj = _app_orb->string_to_object<br>
> (ior.c_str()); <br>
> _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 --<br>
-- duncan at grisby.org --<br>
-- </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_=--
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
By some update, I am using IOR for client to set connection with
server. But problem still there.
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
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,server. But problem still there.
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
CORBA::Object_var _service_obj = _app_orb->string_to_object
(ior.c_str());
_narrow(_service_obj);
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] - DN_NAM
Service IOR: </font>
<br><font size=2 face="Courier New"> 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"> Version: 1.2</font>
<br><font size=2 face="Courier New"> Address: 10.6.24.116:59747</font>
<br><font size=2 face="Courier New"> Location: 10.6.24.116:59747..ZNP..N......</font>
<br><font size=2 face="Courier New"> Key: fe
ed 5a 4e 50 00 00 4e fa 00 00 00 00 00 </font>
<br><font size=2 face="Courier New">
TAG_ORB_TYPE omniORB</font>
<br><font size=2 face="Courier New">
TAG_CODE_SETS char native code set: UTF-8</font>
<br><font size=2 face="Courier New">
char conversion
code set: UTF-8</font>
<br><font size=2 face="Courier New">
wchar native code
set: UTF-16</font>
<br><font size=2 face="Courier New">
wchar conversion
code set: UTF-16</font>
<br><font size=2 face="Courier New">
</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<dname></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. 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 507 253-5958 (T/L 553-5958) <br>
jindong at us.ibm.com</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Duncan Grisby <duncan at grisby.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Jingdong Sun/Rochester/IBM at IBMUS,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">omniorb-list <omniorb-list at omniorb-support.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">09/14/2012 05:00 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</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>
> By some update, I am using IOR for client to set connection with<br>
> server. But problem still there. <br>
> <br>
> What I am doing as below: <br>
> 1. From both client and server sides, at the ORB initial time, set<br>
> nativeCharCodeSet=UTF-8. <br>
> 2.1. At server: run CORBA::ORB_init(argc, argv, "omniORB4")
to create<br>
> a ORB object. <br>
> 2.2. Using above ORB object for the server, and save IOR into string<br>
> by calling CORBA::Object_ptr->object_to_string(obj); <br>
> 3.1: At client side, run CORBA::ORB_init(argc, argv, "omniORB4")
to<br>
> create a ORB object too. <br>
> 3.2. get saved IOR string for the server, and using it to set up<br>
> client and server connection as below: <br>
> CORBA::Object_var _service_obj = _app_orb->string_to_object<br>
> (ior.c_str()); <br>
> _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 --<br>
-- duncan at grisby.org --<br>
-- </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_=--