- ostoreConf = ResourceBundle.getBundle("objectstore");
- if ( ostoreConf == null )
- System.err.println("FATAL: could not find objectstore.properties");
+ String confName=MirConfig.getProp("Home")+"etc/objectstore.properties";
+ Properties conf = new Properties();
+ try {
+ conf.load( new BufferedInputStream(new FileInputStream(confName)));
+ }
+ catch ( java.io.FileNotFoundException fnfe ) {
+ System.err.println("could not read config file. not found: "+confName);
+ }
+ catch ( java.io.IOException ioex ) {
+ System.err.println("could not read config file: "+confName);
+ }
+ ostoreConf = conf;