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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Resource bundle to read property files

Post new topic  Reply to topic
 Resource bundle to read property files « View previous topic :: View next topic » 
Author Message
sudeepm
PostPosted: Fri Feb 22, 2008 1:44 am    Post subject: Resource bundle to read property files Reply with quote

Acolyte

Joined: 31 Jan 2008
Posts: 57

I am using Resource bundle to read a properties file .I am passing the file path in UDP .

loggerConfigBundle = ResourceBundle.getBundle("C:\\Project\\configuration.properties",Locale.getDefault());
// C:\Project\configuration.properties
l_logLevel = loggerConfigBundle.getString("logging.logLevel");
l_Prefix=loggerConfigBundle.getString("logging.Text_from_Config_File");
l_logPath = loggerConfigBundle.getString("logging.Path");


i have added (C:\Project)in class path also but i am getting an error :

(java.util.MissingResourceException) java.util.MissingResourceException: Can't find bundle for base name C:\Project\configuration.properties, locale en_US

can any one help me...whats the problem here ..I donot want to use IO
}
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 22, 2008 1:54 am    Post subject: Reply with quote

Grand High Poobah

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

http://www.mqseries.net/phpBB2/viewtopic.php?p=206634#206634

Don't double post!!
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Resource bundle to read 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.