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 » Property files

Post new topic  Reply to topic
 Property files « View previous topic :: View next topic » 
Author Message
sudeepm
PostPosted: Tue Feb 19, 2008 7:51 pm    Post subject: Property files Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

I need to use configuration.properties file . can somebody tell me where to place this file so that, it can be changed at runtime without redeploying or restating the Message flow.

I tried to export it as jar and placed it in

C:\Documents and Settings\All Users\Application Data\IBM\MQSI\shared-classes

but it gives error as missing resource
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Feb 19, 2008 10:49 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

does this path exist in CLASSPATH variable ???
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
sudeepm
PostPosted: Tue Feb 19, 2008 11:30 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

yes , i have added in class path environment variable.

I am using following code to access file:

String propFile=(String)getUserDefinedAttribute("PropertyFile");
loggerConfigBundle = ResourceBundle.getBundle(propFile);
logLevel = loggerConfigBundle.getString("logging.logLevel");



here the PropertyFile value is configuration.properties.

Do i need to change to make it jar???
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 » 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.