ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Shared Variable value if Broker execution group crash

Post new topic  Reply to topic
 Shared Variable value if Broker execution group crash « View previous topic :: View next topic » 
Author Message
venkat_chekka
PostPosted: Thu Aug 04, 2011 12:35 pm    Post subject: Shared Variable value if Broker execution group crash Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

Hi,

I want to know that Shared Variable value will available even if after Broker execution group crash or Broker down.

Thanks in Advance,
Venkat Chekka.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Aug 04, 2011 12:42 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What happens when you try it?

What value does it have when Broker first starts up? How does it get that value?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 04, 2011 12:42 pm    Post subject: Re: Shared Variable value if Broker execution group crash Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

venkat_chekka wrote:
I want to know that Shared Variable value will available even if after Broker execution group crash or Broker down.


Of course they won't be. No variable in any language I'm aware of survives the closing or crashing of the application.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Aug 05, 2011 4:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Thats like asking can you still drive 60 miles per hour if your car is not working.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
venkat_chekka
PostPosted: Fri Aug 05, 2011 4:37 am    Post subject: Reply with quote

Apprentice

Joined: 14 Apr 2006
Posts: 37

I am asking that is it available after Broker execution group started again.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Aug 05, 2011 4:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

To be more direct, no.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Aug 05, 2011 4:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
To be more direct, no.


To be more correct, the shared variable is indeed *available* after the Broker or EG restarts.

The *value* that it holds will almost certainly be different than the value it held before the restart, however.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Aug 05, 2011 7:38 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

What you are looking for is a shared variable read from a DB and each update needs to get written to the DB.

In case of a crash the latest value would be read from the DB to initialize the shared variable...

Have fun changing your design...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Shared Variable value if Broker execution group crash
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.