Hi there,<br><br>after some struggling, I managed to get a running deployment.<br>The reason it didn&#39;t work seemed to be some problems with .so dependencies.<br><br>However, I&#39;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; &quot;Unable to acquire LoggerClient&#39;s objref\n&quot;),
<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 &#39;IDL:<a href="http://omg.org/CORBA/COMM_FAILURE:1.0">omg.org/CORBA/COMM_FAILURE:1.0</a>&#39;<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 href="mailto:wotte@dre.vanderbilt.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
wotte@dre.vanderbilt.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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&#39;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 href="mailto:ciao-users@mail.cse.wustl.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

ciao-users@mail.cse.wustl.edu</a><br><a href="http://mail.cse.wustl.edu/mailman/listinfo/ciao-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
</a><br><br><br></blockquote></div><br>