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
}
		
		
		String s_maxRowLevels = context
				.getInitParameter( INIT_PARAM_VIEWER_MAXCUBE_ROWLEVELS );
		try
		{
			maxCubeRowLevels = Integer.valueOf( s_maxRowLevels ).intValue( );
		}
		catch ( NumberFormatException e )
		{
			maxCubeRowLevels = -1;
		}
		String s_maxColumnLevels = context
				.getInitParameter( INIT_PARAM_VIEWER_MAXCUBE_COLUMNLEVELS );
		try
		{
			maxCubeColumnLevels = Integer.valueOf( s_maxColumnLevels )
					.intValue( );
		}
		catch ( NumberFormatException e )
		{
			maxCubeColumnLevels = -1;
		}
		
		String s_cubeMemSize = context
				.getInitParameter( INIT_PARAM_VIEWER_CUBEMEMSIZE );
		try
		{
			cubeMemorySize = Integer.valueOf( s_cubeMemSize ).intValue( );