Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Preview doesn't work but Standalone Tomcat works.

I am quite new to BIRT but using Eclipse for more than a year.

I was a able to create a simple report and was able to see the preview in the 'Data Set', but when I hit the preview tab in the editor area, I see the following error.

Error0 : odaconsumer.CannotOpenConnection(1 time)
detail: Cannot open the connection for the driver
(org.eclipse.birt.report.data.oda.jdbc).
Cannot load JDBC Driver class: [oracle.jdbc.driver.OracleDriver]. 
Cannot load JDBC Driver class: [oracle.jdbc.driver.OracleDriver]. 

I am using Oracle and latest Eclipse & BIRT.

I copied ojdbc14.jar to C:\Apps\eclipse.org\eclipse\plugins\org.eclipse.birt.report.viewer_1.0.1
C:\Apps\eclipse.org\eclipse\plugins\org.eclipse.birt.report.viewer_1.0.1\drivers
C:\Apps\eclipse.org\eclipse\plugins\org.eclipse.birt.report.data.oda.jdbc_1.0.1
C:\Apps\eclipse.org\eclipse\plugins\org.eclipse.birt.report.data.oda.jdbc_1.0.1\drivers

Same report works perfect from standalone tomcat using this ojdbc14.jar.

Thanks for any help,
Sri

Back to the top