从jndi获取数据库连接
public Connection getConnectionFromJNDI() { Connection conn = null; try { long t = System.currentTimeMillis(); Context initCtx = new InitialContext(); javax.sql.DataSource ds = (javax.sq