Re: Problem with stopping programs started with IMR(OAD)

Darren Middleman <[email protected]> Mon, 13 Jun 2005 21:07:32 -0230
Newsgroups gmane.comp.corba.orbacus
Organization IONA | Making Software Work Together TM
Message-ID <[email protected]>
Hi Andrey,

> I'm having problems with stopping my programs that were started using 
> IMR(OAD). Everything starts fine and after starting two of 4 modules the 
> tree looks like
> 
> `-- test (up)
> |-- xx (stopped)
> |-- yy (running)
> | `-- supplier (active)
> |-- zz (running)
> | `-- supplier (active)
> `-- ww (stopped)
> 
> When I'm trying to stop servers with 
> imradmin -ORBInitRef IMR=corbaloc::test:10000/IMR --stop-server "yy";;
> imradmin -ORBInitRef IMR=corbaloc::test:10000/IMR --stop-server "zz";;
> The tree changes to 
> 
> `-- test (up)
> |-- xx (stopped)
> |-- yy (stopping)
> | `-- supplier (nonexistent)
> |-- zz (stopping)
> | `-- supplier (nonexistent)
> `-- ww (stopped)
> 
> and stays in this "stoppping" state forever (the processes stay running, it 
> is impossible to restart them or stop using IMR). Sendng kill to zz or yy 
> changes the state to stopped.
> 
> Could someone give me a hint what could be the problem and how to debug/fix 
> it? What is the method OAD uses to stop servers?

I'm not sure what could be causing your problems here.  I have given the
hello_imr demo included with Orbacus a try in a situation like the one you
describe and I am able to start and stop servers without any issue.

Are these servers ones you have created yourself?  If so, you should try
and give the hello_imr demo a try using the same process that you have
described above to see if you still encounter the same problems.

Also, what version of Orbacus and which OS/compiler combination are you 
using?

Regards,
Darren

-- 
Darren Middleman, Software Engineer
Team Orbacus - Your CORBA Source
Email: mailto:[email protected]
WWW: http://www.orbacus.com/
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html