[Ace-users] Re: [ciao-users] calling Plan_Launcher leads to
Execution_Managercoredump
Johnny Willemsen
jwillemsen at remedy.nl
Tue Jul 24 09:55:31 CDT 2007
Hi,
Can you run the application with -ORBDebugLevel 10? Are both programs TAO or
are you also using another ORB?
Johnny
_____
From: ciao-users-bounces at cse.wustl.edu
[mailto:ciao-users-bounces at cse.wustl.edu] On Behalf Of Friedhelm Wolf
Sent: Tuesday, July 24, 2007 1:32 PM
To: CIAO Users Mailing List
Subject: Re: [ciao-users] calling Plan_Launcher leads to
Execution_Managercoredump
Hi there,
after some struggling, I managed to get a running deployment.
The reason it didn't work seemed to be some problems with .so dependencies.
However, I've got some problems with the next step:
I have a running component, called CLoggerClient, which has the following
interface:
interface ILogAMessage
{
void logthis (
in string message
);
};
component CLoggerClient supports ILogAMessage
{
uses ILogger logger;
attribute long cycleTime;
attribute string cyclicMessage;
};
I implemented a small executable, according to the starter in the Hello
example,
which just calls to method LogAMessage::logthis () on the CLoggerClient.
Here is the corresponding code snippet:
CORBA::Object_var obj =
orb->string_to_object (loggerclient_ior);
// narrow to a reference of the CLoggerClient component
CLoggerClient_var loggerclient = CLoggerClient::_narrow ( obj.in ());
if (CORBA::is_nil (loggerclient.in ()))
{
ACE_ERROR_RETURN ((LM_ERROR,
"Unable to acquire LoggerClient's objref\n"),
-1);
}
loggerclient->logthis (CORBA::string_dup (logmessage));
However, the last call fails with the following output:
(20395|182924465856) EXCEPTION, Unknown exception
system exception, ID 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
TAO exception, minor code = 6 (failed to recv request response; ENOENT),
completed = MAYBE
Uncaught CORBA exception
The CLoggerClient also gives some info, what happens:
TAO (20208|182956442240) - Transport[9]::handle_input
TAO (20208|182956442240) - Transport[9]::process_queue_head, 0 enqueued
TAO (20208|182956442240) - Transport[9]::handle_input_parse_data, enter
TAO (20208|182956442240) - Transport[9]::handle_input, error parsing
incoming message
TAO (20208|182956442240) - Connection_Handler[9]::close_connection_eh,
purging entry from cache
TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, cleaning up
complete queue
TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20208|182956442240) - Connection_Handler[9]::close_connection_eh,
removing from the reactor
TAO (20208|182956442240) - Connection_Handler[9]::close_connection_eh,
cancel all timers
TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, cleaning up
complete queue
TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20208|182956442240) - Connection_Handler[9]::close_connection_eh
TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, cleaning up
complete queue
TAO (20208|182956442240) - Transport[9]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20209|182954076800) - Transport[10]::handle_input
TAO (20209|182954076800) - Transport[10]::process_queue_head, 0 enqueued
TAO (20209|182954076800) - Transport[10]::handle_input_parse_data, enter
TAO (20209|182954076800) - Transport[10]::handle_input, error parsing
incoming message
TAO (20209|182954076800) - Connection_Handler[10]::close_connection_eh,
purging entry from cache
TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, cleaning up
complete queue
TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20209|182954076800) - Connection_Handler[10]::close_connection_eh,
removing from the reactor
TAO (20209|182954076800) - Connection_Handler[10]::close_connection_eh,
cancel all timers
TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, cleaning up
complete queue
TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20209|182954076800) - Connection_Handler[10]::close_connection_eh
TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, cleaning up
complete queue
TAO (20209|182954076800) - Transport[10]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20208|182956442240) - ORB_Core::run, handle_events() returns 0
TAO (20208|182956442240) - ORB_Core::run, calling handle_events()
TAO (20209|182954076800) - ORB_Core::run, handle_events() returns 0
TAO (20209|182954076800) - ORB_Core::run, calling handle_events()
TAO (20208|182956442240) - Transport[10]::handle_input
TAO (20208|182956442240) - Transport[10]::process_queue_head, 0 enqueued
TAO (20208|182956442240) - Transport[10]::handle_input_parse_data, enter
TAO (20208|182956442240) - Transport[10]::handle_input, error parsing
incoming message
TAO (20208|182956442240) - Connection_Handler[10]::close_connection_eh,
purging entry from cache
TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, cleaning up
complete queue
TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20208|182956442240) - Connection_Handler[10]::close_connection_eh,
removing from the reactor
TAO (20208|182956442240) - Connection_Handler[10]::close_connection_eh,
cancel all timers
TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, cleaning up
complete queue
TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20208|182956442240) - Connection_Handler[10]::close_connection_eh
TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, cleaning up
complete queue
TAO (20208|182956442240) - Transport[10]::cleanup_queue_i, discarded 0
messages, 0 bytes.
TAO (20208|182956442240) - ORB_Core::run, handle_events() returns 0
TAO (20208|182956442240) - ORB_Core::run, calling handle_events()
If I understand this correctly, there is something going wrong on a rather
low level,
because the component cannot decode the request from the executable,
according to the message:
TAO (20208|182956442240) - Transport[9]::handle_input, error parsing
incoming message
Do you have any advice, where I should start from to narrow down the
failure?
Thanks,
Friedhelm
On 7/16/07, William R. Otte < wotte at dre.vanderbilt.edu> wrote:
Hi Friedhelm -
On Jul 16, 2007, at 12:39 PM, Friedhelm Wolf wrote:
> Kity,
>
> Can you please give the exact list of commands that you used to create
> Makefiles? Are you still using SuSE (from your original PRF) or
> have you
>
> I'm simply using $ACE_ROOT/bin/mwc.pl -type make
>
Bad juju right here, you should be using gnuace instead of make.
/-Will
_______________________________________________
ciao-users mailing list
ciao-users at mail.cse.wustl.edu
http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
<http://mail.cse.wustl.edu/mailman/listinfo/ciao-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070724/f116e26d/attachment-0001.htm
More information about the Ace-users
mailing list