private boolean testJDBC(String url,String uid,String pwd){
  log.fine("Url=" + url + ", UID="+ uid);
  try {
    if (s_oracleDriver == null) {
      s_oracleDriver=new OracleDriver();
      DriverManager.registerDriver(s_oracleDriver);
    }
    m_con=DriverManager.getConnection(url,uid,pwd);
  }
 catch (  UnsatisfiedLinkError ule) {
    log.warning("Check [ORACLE_HOME]/jdbc/Readme.txt for (OCI) driver setup");
    log.warning(ule.toString());
  }
catch (  Exception e) {
    log.warning(e.toString());
    return false;
  }
  return true;
}

private boolean testJDBC ( String url , String uid , String pwd ) { log . fine ( "Url=" + url + ", UID=" + uid ) ; try { if ( s_oracleDriver == null ) { s_oracleDriver = new OracleDriver ( ) ; DriverManager . registerDriver ( s_oracleDriver ) ; } m_con = DriverManager . getConnection ( url , uid , pwd ) ; } catch ( UnsatisfiedLinkError ule ) { log . warning ( "Check [ORACLE_HOME]/jdbc/Readme.txt for (OCI) driver setup" ) ; log . warning ( ule . toString ( ) ) ; } catch ( Exception e ) { log . warning ( e . toString ( ) ) ; return false ; } return true ; }
test jdbc connection to server
