Bug 214196 [Automation][Compatibility]Exception occurs when preview a old crosstab with measure sorting
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataEngineImpl.java
{
				closeDataSource( ds );
			}
			catch ( DataException e )
			{
				if ( logger.isLoggable( Level.FINE ) )
					logger.log( Level.FINE, "The data source ("
							+ ds + ") fails to shut down", e );
			}
		}
		
		this.dataSourceManager.close( );
		
		logger.logp( Level.INFO,
				DataEngineImpl.class.getName( ),
				"shutdown",
				"Data engine shuts down" );
		dataSetDesigns = null;
		dataSources = null;
		clearTempFile( );
		logger.exiting( DataEngineImpl.class.getName( ), "shutdown" );
	}
	
	private void clearTempFile( )
	{
		File tmpDir = new File( session.getTempDir( ) );
		if( !tmpDir.exists( ) || !tmpDir.isDirectory( ))
		{
			return;
		}