Bug 211081 log4j not working with preview
I am using log4j in the scripting Database source. I place my log4j-1.2.15.jar file in the folder C:\eclipse\plugins\org.eclipse.birt. report.viewer_2.2.1.r22x_v20070920\ birt\WEB-INF\lib However when I try to preview I get an error Http Status 500. When I check the log files I see the following exceptions java.lang.NoClassDefFoundError: org/apache/log4j/Category
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
sbHtmlEncoded.append( "&#47;" ); 
					break;
				default :
					sbHtmlEncoded.append( c );
			}
		}
		sHtmlEncoded = sbHtmlEncoded.toString( );
		return sHtmlEncoded;
	}
	/**
	 * This function is used to decode a htmlEncoded string and convert to the
	 * orginial string
	 * 
	 * @param s
	 * @return String
	 */
	public static final String htmlDecode( String s )
	{
		if ( s == null )
			return null;
		String sHtmlDecoded = s.replaceAll( "&#09;", "\t" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "<br>", "\n" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#13;", "\r" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#32;", " " );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#34;", "\"" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#39;", "'" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#60;", "<" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#62;", ">" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#96;", "`" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#38;", "&" );