Bug 155178 [Deploy] Preview report failed on war deployed weblogic server
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
String typeVarName = configVar.getName( )
									+ "_" + IBirtConstants.PROP_TYPE; 
							ConfigVariable typeVar = handle
									.findConfigVariable( typeVarName );
							
							String dataType = null;
							if ( typeVar != null )
								dataType = typeVar.getValue( );
							
							if ( dataType == null
									|| !dataType.equalsIgnoreCase( parameter
											.getDataType( ) ) )
							{
								continue;
							}
							try
							{
								if ( !DesignChoiceConstants.PARAM_TYPE_STRING
										.equalsIgnoreCase( parameter
												.getDataType( ) ) )
								{
									Object paramValueObj = ParameterValidationUtil
											.validate(
													parameter.getDataType( ),
													parameter.getPattern( ),
													paramValue, ULocale.US );
									paramValue = ParameterValidationUtil
											.getDisplayValue( parameter
													.getDataType( ), parameter
													.getPattern( ),