<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=953115514-24072007><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV><SPAN class=953115514-24072007>
<DIV dir=ltr align=left><BR><FONT face=Arial color=#0000ff size=2>Can you run 
the application with -ORBDebugLevel 10? Are both programs TAO or are you also 
using another ORB?</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left></SPAN><SPAN class=953115514-24072007><FONT face=Arial 
color=#0000ff size=2>Johnny</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> ciao-users-bounces@cse.wustl.edu 
  [mailto:ciao-users-bounces@cse.wustl.edu] <B>On Behalf Of </B>Friedhelm 
  Wolf<BR><B>Sent:</B> Tuesday, July 24, 2007 1:32 PM<BR><B>To:</B> CIAO Users 
  Mailing List<BR><B>Subject:</B> Re: [ciao-users] calling Plan_Launcher leads 
  to Execution_Managercoredump<BR></FONT><BR></DIV>
  <DIV></DIV>Hi there,<BR><BR>after some struggling, I managed to get a running 
  deployment.<BR>The reason it didn't work seemed to be some problems with .so 
  dependencies.<BR><BR>However, I've got some problems with the next step: 
  <BR><BR>I have a running component, called CLoggerClient, which has the 
  following interface:<BR><BR>interface ILogAMessage<BR>{<BR>&nbsp; void logthis 
  (<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in string message<BR>&nbsp;&nbsp;&nbsp; 
  );<BR>};<BR><BR>component CLoggerClient supports ILogAMessage <BR>{<BR>&nbsp; 
  uses ILogger logger;<BR><BR>&nbsp; attribute long cycleTime;<BR>&nbsp; 
  attribute string cyclicMessage;<BR>};<BR><BR>I implemented a small executable, 
  according to the starter in the Hello example,<BR>which just calls to method 
  LogAMessage::logthis () on the CLoggerClient. <BR><BR>Here is the 
  corresponding code snippet:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  CORBA::Object_var obj =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  orb-&gt;string_to_object 
  (loggerclient_ior);<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // narrow to a 
  reference of the CLoggerClient component<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  CLoggerClient_var loggerclient = CLoggerClient::_narrow ( <A 
  href="http://obj.in">obj.in</A> ());<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
  (CORBA::is_nil (<A href="http://loggerclient.in">loggerclient.in</A> 
  ()))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACE_ERROR_RETURN 
  ((LM_ERROR,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  "Unable to acquire LoggerClient's objref\n"), 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  }<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loggerclient-&gt;logthis 
  (CORBA::string_dup (logmessage));<BR><BR>However, the last call fails with the 
  following output:<BR><BR>(20395|182924465856) EXCEPTION, Unknown exception 
  <BR><BR>system exception, ID 'IDL:<A 
  href="http://omg.org/CORBA/COMM_FAILURE:1.0">omg.org/CORBA/COMM_FAILURE:1.0</A>'<BR>TAO 
  exception, minor code = 6 (failed to recv request response; ENOENT), completed 
  = MAYBE<BR><BR>Uncaught CORBA exception<BR><BR>The CLoggerClient also gives 
  some info, what happens:<BR><BR>TAO (20208|182956442240) - 
  Transport[9]::handle_input <BR>TAO (20208|182956442240) - 
  Transport[9]::process_queue_head, 0 enqueued<BR>TAO (20208|182956442240) - 
  Transport[9]::handle_input_parse_data, enter<BR>TAO (20208|182956442240) - 
  Transport[9]::handle_input, error parsing incoming message <BR>TAO 
  (20208|182956442240) - Connection_Handler[9]::close_connection_eh, purging 
  entry from cache<BR>TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, 
  cleaning up complete queue<BR>TAO (20208|182956442240) - 
  Transport[9]::cleanup_queue_i, discarded 0 messages, 0 bytes. <BR>TAO 
  (20208|182956442240) - Connection_Handler[9]::close_connection_eh, removing 
  from the reactor<BR>TAO (20208|182956442240) - 
  Connection_Handler[9]::close_connection_eh, cancel all timers<BR>TAO 
  (20208|182956442240) - Transport[9]::cleanup_queue_i, cleaning up complete 
  queue <BR>TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, discarded 
  0 messages, 0 bytes.<BR>TAO (20208|182956442240) - 
  Connection_Handler[9]::close_connection_eh<BR>TAO (20208|182956442240) - 
  Transport[9]::cleanup_queue_i, cleaning up complete queue <BR>TAO 
  (20208|182956442240) - Transport[9]::cleanup_queue_i, discarded 0 messages, 0 
  bytes.<BR>TAO (20209|182954076800) - Transport[10]::handle_input<BR>TAO 
  (20209|182954076800) - Transport[10]::process_queue_head, 0 enqueued <BR>TAO 
  (20209|182954076800) - Transport[10]::handle_input_parse_data, enter<BR>TAO 
  (20209|182954076800) - Transport[10]::handle_input, error parsing incoming 
  message<BR>TAO (20209|182954076800) - 
  Connection_Handler[10]::close_connection_eh, purging entry from cache <BR>TAO 
  (20209|182954076800) - Transport[10]::cleanup_queue_i, cleaning up complete 
  queue<BR>TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, discarded 
  0 messages, 0 bytes.<BR>TAO (20209|182954076800) - 
  Connection_Handler[10]::close_connection_eh, removing from the reactor <BR>TAO 
  (20209|182954076800) - Connection_Handler[10]::close_connection_eh, cancel all 
  timers<BR>TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, cleaning 
  up complete queue<BR>TAO (20209|182954076800) - 
  Transport[10]::cleanup_queue_i, discarded 0 messages, 0 bytes. <BR>TAO 
  (20209|182954076800) - Connection_Handler[10]::close_connection_eh<BR>TAO 
  (20209|182954076800) - Transport[10]::cleanup_queue_i, cleaning up complete 
  queue<BR>TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, discarded 
  0 messages, 0 bytes. <BR>TAO (20208|182956442240) - ORB_Core::run, 
  handle_events() returns 0<BR>TAO (20208|182956442240) - ORB_Core::run, calling 
  handle_events()<BR>TAO (20209|182954076800) - ORB_Core::run, handle_events() 
  returns 0<BR>TAO (20209|182954076800) - ORB_Core::run, calling handle_events() 
  <BR>TAO (20208|182956442240) - Transport[10]::handle_input<BR>TAO 
  (20208|182956442240) - Transport[10]::process_queue_head, 0 enqueued<BR>TAO 
  (20208|182956442240) - Transport[10]::handle_input_parse_data, enter<BR>TAO 
  (20208|182956442240) - Transport[10]::handle_input, error parsing incoming 
  message <BR>TAO (20208|182956442240) - 
  Connection_Handler[10]::close_connection_eh, purging entry from cache<BR>TAO 
  (20208|182956442240) - Transport[10]::cleanup_queue_i, cleaning up complete 
  queue<BR>TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, discarded 
  0 messages, 0 bytes. <BR>TAO (20208|182956442240) - 
  Connection_Handler[10]::close_connection_eh, removing from the reactor<BR>TAO 
  (20208|182956442240) - Connection_Handler[10]::close_connection_eh, cancel all 
  timers<BR>TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, cleaning 
  up complete queue <BR>TAO (20208|182956442240) - 
  Transport[10]::cleanup_queue_i, discarded 0 messages, 0 bytes.<BR>TAO 
  (20208|182956442240) - Connection_Handler[10]::close_connection_eh<BR>TAO 
  (20208|182956442240) - Transport[10]::cleanup_queue_i, cleaning up complete 
  queue <BR>TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, discarded 
  0 messages, 0 bytes.<BR>TAO (20208|182956442240) - ORB_Core::run, 
  handle_events() returns 0<BR>TAO (20208|182956442240) - ORB_Core::run, calling 
  handle_events() <BR><BR>If I understand this correctly, there is something 
  going wrong on a rather low level,<BR>because the component cannot decode the 
  request from the executable,<BR>according to the message:<BR>TAO 
  (20208|182956442240) - Transport[9]::handle_input, error parsing incoming 
  message <BR><BR>Do you have any advice, where I should start from to narrow 
  down the failure?<BR><BR>Thanks,<BR>Friedhelm<BR><BR><BR>
  <DIV><SPAN class=gmail_quote>On 7/16/07, <B class=gmail_sendername>William R. 
  Otte</B> &lt; <A onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:wotte@dre.vanderbilt.edu" 
  target=_blank>wotte@dre.vanderbilt.edu</A>&gt; wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
    Friedhelm -<BR><BR>On Jul 16, 2007, at 12:39 PM, Friedhelm Wolf wrote: 
    <BR><BR>&gt; Kity,<BR>&gt;<BR>&gt; Can you please give the exact list of 
    commands that you used to create<BR>&gt; Makefiles?&nbsp;&nbsp; Are you 
    still using SuSE (from your original PRF) or<BR>&gt; have 
    you<BR>&gt;<BR>&gt; I'm simply using $ACE_ROOT/bin/mwc.pl -type make 
    <BR>&gt;<BR><BR>Bad juju right here, you should be using gnuace instead of 
    make.<BR><BR>/-Will<BR><BR><BR>_______________________________________________<BR>ciao-users 
    mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:ciao-users@mail.cse.wustl.edu" 
    target=_blank>ciao-users@mail.cse.wustl.edu</A><BR><A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://mail.cse.wustl.edu/mailman/listinfo/ciao-users" 
    target=_blank>http://mail.cse.wustl.edu/mailman/listinfo/ciao-users 
    </A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>