Project: Birt
Bug 134057 [Smoke]NoClassDefFound when view report contains ODA data source after deploy birt in tomcat4
Reported: 2006-03-30 06:41:27 | Status: closed fixed

Description: NoClassDefFound when view report contains ODA data source after deploy birt in tomcat4 Steps to reproduce: 1. Deploy birt 2. view reports with ODA data source inside. Result: java.lang.NoClassDefFoundError: org/eclipse/birt/report/model/plugin/ODABaseProviderFactory at org.eclipse.birt.report.model.extension.oda.ODAProviderFactory.createODAProvider(ODAProviderFactory.java:60) at org.eclipse.birt.report.model.parser.OdaDataSourceState.parseODADataSourceExtensionID(OdaDataSourceState.java:103) at org.eclipse.birt.report.model.parser.OdaDataSourceState.parseAttrs(OdaDataSourceState.java:53) at org.eclipse.birt.report.model.parser.ModuleParserHandler.startElement(ModuleParserHandler.java:159) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.eclipse.birt.report.model.parser.ModuleReader.readModule(ModuleReader.java:89) at org.eclipse.birt.report.model.parser.ModuleReader.readModule(ModuleReader.java:171) at org.eclipse.birt.report.model.parser.DesignReader.read(DesignReader.java:135) at org.eclipse.birt.report.model.core.DesignSession.openDesign(DesignSession.java:179) at org.eclipse.birt.report.model.api.SessionHandle.openDesign(SessionHandle.java:151) at org.eclipse.birt.report.engine.parser.ReportParser.getDesignHandle(ReportParser.java:93) at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDesign(ReportEngineHelper.java:104) at org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(ReportEngine.java:218) at org.eclipse.birt.report.service.ReportEngineService.openReportDesign(Unknown Source) at org.eclipse.birt.report.context.ViewerAttributeBean.init(Unknown Source) at org.eclipse.birt.report.context.ViewerAttributeBean.<init>(Unknown Source) at org.eclipse.birt.report.context.BirtContext.<init>(Unknown Source) at org.eclipse.birt.report.servlet.ViewerServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:696) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)

Files changed in fix:
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/oda/ODAProviderFactory.java