Bug 198998 Errors and Faiures occur in Junit test org.eclipse.birt.data.tests and org.eclipse.birt.report.data.jdbc.tests in daily build 20070807
Errors and Faiures occur in Junit test org.eclipse.birt.data.tests and org.eclipse.birt.report.data.jdbc.tests in daily build 20070807. Please see the attachment for details.
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/JDBCDriverManager.java
loadAndRegisterDriver( driverClass );
		if ( logger.isLoggable( Level.FINER ))
			logger.finer( "Calling DriverManager.getConnection. url=" + url ); 
		try
		{
			return DriverManager.getConnection( url, connectionProperties );
		}
		catch ( RuntimeException e )
		{
			throw new JDBCException( ResourceConstants.CONN_GET_ERROR,
					null,
					e.getMessage( ) );
		}
	}
    /**
     * Obtain a JDBC connection from a Data Source connection factory
     * via the specified JNDI name service. 
     * May return null if no JNDI Name URL is specified, or not able to obtain
     * a connection from the JNDI name service.
     */
    private Connection getJndiDSConnection( String driverClass, 
                                            String jndiNameUrl, 
                                            Properties connectionProperties )
    {
        if ( jndiNameUrl == null || jndiNameUrl.length() == 0 )
            return null;    
        
        if ( logger.isLoggable( Level.FINER ))
            logger.finer( "Calling getJndiDSConnection: JNDI name url=" + jndiNameUrl );