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 » WMBv6.1-> JNDI for parameters

Post new topic  Reply to topic
 WMBv6.1-> JNDI for parameters « View previous topic :: View next topic » 
Author Message
broker_new
PostPosted: Fri Feb 19, 2010 11:04 am    Post subject: WMBv6.1-> JNDI for parameters Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Hi Guys,

Can we use JNDI for accessing the properties, we don't want to deploy the bar file each time we change the values (don't like the concept of UDP).
otherwords is there any better way of doing it?
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Feb 19, 2010 11:25 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Put the variables in a DB table and use a timer node to periodically retrieve them (say every 10-20 seconds) and put them into a set of ESQL Shared variables.

Make sure the DB read is also READONLY to avoid inherrent locks. This can be done using the Select with a PASSTHRU.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 19, 2010 12:07 pm    Post subject: Re: WMBv6.1-> JNDI for parameters Reply with quote

Grand High Poobah

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

broker_new wrote:
Can we use JNDI for accessing the properties, we don't want to deploy the bar file each time we change the values (don't like the concept of UDP).


This is dangerously close to a double post of this. Perhaps if you could explain what you don't like about UDP? Given you were happy in your other post to "refresh" the execution group?

Aside from that, a db is probably your best bet. I do have to wonder how often these parameters will be changing that makes a db a better choice than a UDP. A number of sites of my experience have used a db "because these values can be changed by the business at any time", have hit problems and when reviewing the options have discovered the values have been the same for years....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
broker_new
PostPosted: Fri Feb 19, 2010 12:17 pm    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

I am trying to find some solution rather than deploying the bar file each time with UDP's updated. i don't like this idea at all
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 19, 2010 12:21 pm    Post subject: Reply with quote

Grand High Poobah

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

broker_new wrote:
i don't like this idea at all


Why not? Articulate your objections.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Feb 19, 2010 1:32 pm    Post subject: Re: WMBv6.1-> JNDI for parameters Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Vitor wrote:
Aside from that, a db is probably your best bet. I do have to wonder how often these parameters will be changing that makes a db a better choice than a UDP. A number of sites of my experience have used a db "because these values can be changed by the business at any time", have hit problems and when reviewing the options have discovered the values have been the same for years....



This was exactly my argument when I proposed my aforementioned DB suggestion to a customer that only ever knew about 'properties files' as a way of initializing apps with config data.

I nearly three years of operation, the DB values never changed.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMBv6.1-> JNDI for parameters
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.