Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[tao-users] Debug problem

3 views
Skip to first unread message

李军

unread,
Oct 27, 2009, 11:44:45 AM10/27/09
to tao-...@list.isis.vanderbilt.edu

TAO VERSION: 1.5
ACE VERSION: 5.5

 HOST MACHINE and OPERATING SYSTEM:
 Pentium4 3.0GHz, WindowsXP SP2 (IP 192.168.80.169)

 TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
 Pentium(Vmware), VxWorks5.5 (IP 192.168.80.254)

 AREA/CLASS/EXAMPLE AFFECTED:
  
 ORB Service : Naming Service

 DOES THE PROBLEM AFFECT:

DESCRIPTION:
For this project, I used Naming Service as below to implement remote
invoke:
Naming_Service.exe -ORBEndpoint iiop://192.168.80.169:1234
server -ORBInitRef
NameService=corbaloc:iiop:192.168.80.169:1234/NameService -ORBDottedDecimalAdresses 1
when I set a breakpoint and step over every sentence, server  bind  Naming_Service successful.
but  when I excute server without seting breakpoint, bind failure.
 why did I get different results?

Douglas C. Schmidt

unread,
Oct 27, 2009, 11:48:57 AM10/27/09
to junl...@gmail.com, tao-...@cse.wustl.edu
Hi,

Thanks for using the PRF.

It sounds like a race condition. Also, you're using an ancient
version of ACE+TAO, so please upgrade to ACE+TAO+CIAO x.7.4 (i.e., ACE
5.7.4, TAO 1.7.4, and CIAO 0.7.4), which you can download from

http://download.dre.vanderbilt.edu

under the heading: "Latest Micro Release Kit."

The DOC group at Vanderbilt University only provides "best effort"
support for non-sponsors for the latest release, as described in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out

http://www.dre.vanderbilt.edu/support.html

for a list of companies that will provide you with ACE+TAO commercial
support.

Thanks,

Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.sc...@vanderbilt.edu

Johnny Willemsen

unread,
Oct 28, 2009, 2:51:26 AM10/28/09
to 李军, tao-...@list.isis.vanderbilt.edu

Hi,

 

Run the sever with –ORBDebugLevel 10 and see what it reports.

 

Johnny

 

From: tao-user...@list.isis.vanderbilt.edu [mailto:tao-user...@list.isis.vanderbilt.edu] On Behalf Of ??
Sent: dinsdag 27 oktober 2009 16:45
To: tao-...@list.isis.vanderbilt.edu
Subject: [tao-users] Debug problem

 

TAO VERSION: 1.5
ACE VERSION: 5.5

 HOST MACHINE and OPERATING SYSTEM:
 Pentium4 3.0GHz, WindowsXP SP2 (IP 192.168.80.169)

 TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
 Pentium(Vmware), VxWorks5.5 (IP 192.168.80.254)

 AREA/CLASS/EXAMPLE AFFECTED:
  
 ORB Service : Naming Service

 DOES THE PROBLEM AFFECT:

DESCRIPTION:
For this project, I used Naming Service as below to implement remote
invoke:
Naming_Service.exe -ORBEndpoint iiop://192.168.80.169:1234
server -ORBInitRef

NameService=corbaloc:iiop:192.168.80.169:1234/NameService -ORBDottedDecimalAdresses 1

李军

unread,
Oct 28, 2009, 10:35:29 AM10/28/09
to tao-...@list.isis.vanderbilt.edu

TAO VERSION: 1.5
ACE VERSION: 5.5
 HOST MACHINE and OPERATING SYSTEM:
 Pentium4 3.0GHz, WindowsXP SP2 (IP 192.168.80.169)
 TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
 Pentium(Vmware), VxWorks5.5 (IP 192.168.80.254)
 AREA/CLASS/EXAMPLE AFFECTED:
  
 ORB Service : Naming Service
 DOES THE PROBLEM AFFECT:
DESCRIPTION:
For this project, I used Naming Service as below to implement remote
invoke:
Naming_Service.exe -ORBEndpoint iiop://192.168.80.169:1234
server -ORBInitRef

NameService=corbaloc:iiop:192.168.80.169:1234/NameService -ORBDottedDecimalAdresses 1

when I set a breakpoint and step over every sentence, server  bind  Naming_Service successful.
but  when I excute server without seting breakpoint, bind failure.
 why did I get different results?
Debug report:
TAO(-1266993972) Initializing the process-wide services
TAO(-1266993972) Default ORB - global initalization completed.
TAO(-1266993972) Initializing the orb-specific services
TAO(-1266993972) Default_Resource_Factory - unable to create codeset manager
TAO(-1266993972) Loaded protocol <IIOP_Factory>
TAO(-1266993972) created new ORB<>
TAO(-1266993972) -Transport_Cache_Mananger::find_i, no idle transport is abailable
TAO(-1266993972) -Transport_Cache_Mananger::fill_set_i,current_size=0,cache_maximum=512
TAO(-1266993972) -IIOP_Connector::begin_connection,to<10.17.12.111:1234> which shoud block
TAO(-1266993972) Transport_Connector::wait_for_connection_completion,going to wait for connection completion on transport[267040568]
TAO(-1266993972) -Leader_Follower[26704568]::wait_for_event,(leader) enter reactor event loop
TAO(-1266993972) -Leader_Follower[26704568]::wait_for_event,(leader) exit reactor event loop
TAO(-1266993972) -Transport_Connector::wait_for_connection_completion,transport [267040568], wait done result=-1
TAO(-1266993972) -Transport_Connector::wait_for_connection_completion,transport [267040568], wait for completion failed(3997698) : errno=0x3d0002
..........

Douglas C. Schmidt

unread,
Oct 28, 2009, 10:48:46 AM10/28/09
to junl...@gmail.com, tao-...@cse.wustl.edu
Thanks for using the PRF.

>TAO VERSION: 1.5

You're using an old version of ACE+TAO that probably has a bug.
Please upgrade to ACE+TAO+CIAO x.7.4 (i.e., ACE 5.7.4, TAO 1.7.4, and

0 new messages