Bug 200755 [smoke]Fail to preview Crosstab after deploy BIRT in application servers.[0601][1102]
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
: appContext );
			else
				return null;
		}
		catch ( BirtException e )
		{
			throw new AdapterException( e.getLocalizedMessage( ) );
		}
	}
	
	/*
	 * @see org.eclipse.birt.report.data.adapter.api.DataRequestSession#defineCube(org.eclipse.birt.report.model.api.olap.CubeHandle)
	 */
	public void defineCube( CubeHandle cubeDesign ) throws BirtException
	{
		if ( !cubeHandleMap.containsKey( cubeDesign.getQualifiedName( ) ) )
		{
			this.cubeHandleMap.put( cubeDesign.getQualifiedName( ), cubeDesign );
		}
	}
	
	/**
	 * 
	 * @param cubeHandle
	 * @param appContext
	 * @throws BirtException
	 */
	private void materializeCube( CubeHandle cubeHandle, Map appContext ) throws BirtException
	{
		int mode = this.sessionContext.getDataEngineContext( ).getMode( );