Bug 176681 Issue about creating context-parameter path in read-only path[0601]
Description: Issue about creating context-parameter path in read-only path Build number:2.2.0.v20070308 Steps to reproduce: 1. Deploy birt. 2. Set BIRT_VIEWER_DOCUMENT_FOLDER/BIRT_VIEWER_IMAGE_DIR/.. to a read-only path. 3. Preview report. Expected result: Because the path is read-only, folders should be created in ${java.io.tmpdir} Actual result: No folders are created in ${java.io.tmpdir} and reports cannot be previewed in frameset mode.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
}
	/**
	 * Initial the parameters class. Web.xml is in UTF-8 format. No need to do
	 * encoding convertion.
	 * 
	 * @param context
	 *            Servlet Context
	 */
	public synchronized static void initParameters( ServletContext context )
	{
		if ( isInitContext )
			return;
		
		workingFolder = processWorkingFolder( context, context
				.getInitParameter( INIT_PARAM_WORKING_DIR ) );
		
		documentFolder = processRealPath( context, context
				.getInitParameter( INIT_PARAM_DOCUMENT_FOLDER ),
				IBirtConstants.DEFAULT_DOCUMENT_FOLDER, true );
		
		imageFolder = processRealPath( context, context
				.getInitParameter( ParameterAccessor.INIT_PARAM_IMAGE_DIR ),
				IBirtConstants.DEFAULT_IMAGE_FOLDER, true );
		
		logFolder = processRealPath( context, context
				.getInitParameter( ParameterAccessor.INIT_PARAM_LOG_DIR ),
				IBirtConstants.DEFAULT_LOGS_FOLDER, true );
		
		logLevel = context
				.getInitParameter( ParameterAccessor.INIT_PARAM_LOG_LEVEL );