Bug 173039 Exception is shown when accessing a db on an unknown host
Create a report Add a datasource and specified a invalid host name Click on test connection An oversized error dialog appears showing a stack trace Expected: a simple error such as "Host xxx is not accessible" should be displayed instead.
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/JDBCDriverManager.java
* @param userId        the login user id
     * @param password      the login password
     * @return  true if the the specified properties are valid to obtain a connection;
     *          false otherwise
     * @throws OdaException 
     */
    public boolean testConnection( String driverClassName,
            String connectionString, String jndiNameUrl,
            String userId, String password )
        throws OdaException
    {		
		boolean canConnect = false;
		try
		{
			
			if ( getDriverConnectionFactory( driverClassName ) != null )
			{
				tryCreateConnection( driverClassName, connectionString, userId, password);
				return true;
			}
            
            
            
            
            if ( jndiNameUrl != null )
            {
                Connection jndiDSConnection = 
                    getJndiDSConnection( driverClassName, jndiNameUrl, 
                            addUserAuthenticationProperties( null, userId, password ) );            
                if ( jndiDSConnection != null )