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
/**
	 * Flag that indicated if support print on the server side.
	 */
	public static boolean isSupportedPrintOnServer = true;
	/**
	 * Flag that indicated if clean session files.
	 */
	public static boolean isCleanSessionFiles = true;
	/**
	 * Optimized HTML output flag
	 */
	public static boolean isAgentStyle = true;
	/**
	 * Get bookmark. If page exists, ignore bookmark.
	 * 
	 * @param request
	 * @return the bookemark
	 */
	public static String getBookmark( HttpServletRequest request )
	{
		int page = getParameterAsInt( request, PARAM_PAGE );
		return page < 1
				? getReportParameter( request, PARAM_BOOKMARK, null )
				: null;
	}
	/**
	 * Returns whether the bookmark is TOC
	 * 
	 * @param request
	 * @return boolean