RE: Problem with stopping programs started with IMR(OAD)
"Andrey Mikhalchuk" <[email protected]> Fri, 17 Jun 2005 20:23:29 +0400
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Message-ID | <[email protected]> |
Hi Darren, I had fixed that problem next day after posting the question. The problem was that in some conditions my code was not calling destroy for orb and imr was confused about that. Unfortunately hello_imr doesn't help in such situation, because I'm using Tie approach and the code is a bit different in that case (I suspected that I incorrectly used imr in tie approach). Regards, Andrey > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Darren Middleman > Sent: Tuesday, June 14, 2005 3:38 AM > To: Packet411 Corporation > Cc: [email protected] > Subject: Re: [OB-Users] Problem with stopping programs started with > IMR(OAD) > > 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 _______________________________________________ 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