Project: Birt
Bug 212703 Render the report use genReport error[00]
Reported: 2007-12-11 22:14:43 | Status: closed fixed

Description: Render the report document use genReport error[00] Render the report document by genReport, and it will pop up the error message. Failed to load Derby embedded driver: org.apache.derby.jdbc.EmbeddedDriver java.lang.ClassNotFoundException: org/apache/derby/jdbc/EmbeddedDriver at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at org.eclipse.birt.report.data.oda.sampledb.SampleDBJDBCConnectionFactory.getDerbyDriver(SampleDBJDBCConnectionFactory.java:123) at org.eclipse.birt.report.data.oda.sampledb.SampleDBJDBCConnectionFactory.shutdownDerby(SampleDBJDBCConnectionFactory.java:83) at org.eclipse.birt.report.data.oda.sampledb.SampledbPlugin.shutdownDerby(SampledbPlugin.java:183) at org.eclipse.birt.report.data.oda.sampledb.SampledbPlugin.cleanUp(SampledbPlugin.java:95) at org.eclipse.birt.report.data.oda.sampledb.SampledbPlugin.stop(SampledbPlugin.java:85) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1040) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1036) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:527) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1091) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:673) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:289) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:259) at org.eclipse.osgi.framework.internal.core.SystemBundle.suspend(SystemBundle.java:188) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:666) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:569) at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.birt.core.framework.osgi.OSGILauncher.shutdown(OSGILauncher.java:375) at org.eclipse.birt.core.framework.Platform.shutdown(Platform.java:100) at org.eclipse.birt.report.engine.api.ReportRunner.execute(ReportRunner.java:172) at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportRunner.java:117)

Files changed in fix:
data/org.eclipse.birt.report.data.oda.sampledb/src/org/eclipse/birt/report/data/oda/sampledb/SampleDBJDBCConnectionFactory.java