try {
PropertyResourceBundle configBundle = 
(PropertyResourceBundle) PropertyResourceBundle.getBundle(CONFIG_BUNDLE_NAME); 
user = configBundle.getString("UserID");
password = configBundle.getString("Password");
owner = configBundle.getString("Owner");
source = configBundle.getString("Source");
// url = configBundle.getString("URL");
} catch (Exception e) {
System.out.println("Properties file exception: " + e.getMessage());
} try {
Hashtable parms = new Hashtable();
parms.put(
Context.INITIAL_CONTEXT_FACTORY, 
"com.ibm.ejs.ns.jndi.CNInitialContextFactory"); 
Context ctx = new InitialContext(parms);
ds = (DataSource) ctx.lookup(source);
conn = ds.getConnection(user, password);
sqlStatement = conn.createStatement();
ibmConn = new DatabaseConnection(conn);
} catch (Exception e) {
}