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 » Config and property files

Post new topic  Reply to topic
 Config and property files « View previous topic :: View next topic » 
Author Message
Tiru
PostPosted: Mon Mar 31, 2014 12:13 am    Post subject: Config and property files Reply with quote

Newbie

Joined: 31 Mar 2014
Posts: 2

Hi,

In which location we place property files and configuration files related to application. It should read those files in run-time.
user.home folder means which folder it refers in our local.

In windows XP we used to place property files and configuration files in c:\documents and settings\ administrator folder.

Now I'm using Windows 7 and broker version also 7.

Thanks for you help.
Back to top
View user's profile Send private message
Esa
PostPosted: Mon Mar 31, 2014 12:43 am    Post subject: Re: Config and property files Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Tiru wrote:
It should read those files in run-time.


Is the requirement really to read files in runtime?
Or access properties?
There may be better alternatives for accessing properties than reading files.
Back to top
View user's profile Send private message
Tiru
PostPosted: Mon Mar 31, 2014 1:23 am    Post subject: Reply with quote

Newbie

Joined: 31 Mar 2014
Posts: 2

Not reading the files. Values inside the files want to access.
Back to top
View user's profile Send private message
Tibor
PostPosted: Mon Mar 31, 2014 3:34 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

You can choose any folder (I would recommend your broker user's home folder), but seems more reliable to use a (UserDefined) broker property for this purpose.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/bn43740_.htm
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 31, 2014 5:02 am    Post subject: Reply with quote

Grand High Poobah

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

Tiru wrote:
Not reading the files. Values inside the files want to access.


Don't do this in WMBv7. Or any version of WMB/IIB.

My worthy associate is quite right in this.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Mar 31, 2014 7:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Aside from being inelegant, reading config files in the flow will impact performance unncessarily, unless you developed a form of caching.

UDPs are commonly used for runtime properties, I have also seen User Configurable Service definitions used.

Sometimes it's possible to actually avoid the need for environment overrides in the flow (for example with the use of the MQSI_FILENODES_ROOT_DIRECTORY variable).
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
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 » Config and property files
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.