Hi All,<br />
<br />
I want to use hibernate datasource for generating birt reports. I have followed the instructions given in <a class='bbc_url' href='
https://jira.jboss.org/jira/browse/JBIDE-2220'>https://jira.jboss.org/jira/browse/JBIDE-2220</a>. I am able to create the report and also to preview it. so every thing is woking fine in eclipse.<br />
<br />
But when i tried to deploy this report into WebViewerExample i am getting the following exception.<br />
<br />
I think i am missing some plugins and jars. <br />
<br />
org.jboss.tools.birt.oda.impl.HibernateConnection.open class - where it looks for hibernate.jar.<br />
<br />
org.eclipse.birt.report.service.api.ReportServiceException: null; nested exception is: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:164) at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81) at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:57) at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:53)<br />
..................................................................<br />
<br />
Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session at org.jboss.tools.birt.oda.impl.HibernateConnection.open(HibernateConnection.java:43) at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:235) at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:157) at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:210) at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:197) at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiDataSource(DataSourceRuntime.java:209)<br />
<br />
.......................................................<br />
<br />
Caused by: java.lang.ClassNotFoundException: org.hibernate.Session at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)<br />
<br />
<br />
<br />
<br />
This is just a pieces of each exception. So the stack ends with java.lang.ClassNotFoundException: org.hibernate.Session. one of the plugin is not finding the hibernate3.jar . where should i put this jar ?.<br />
<br />
I have added all these plugins and jars required for hibernate :<br />
<br />
1) org.jboss.tools.birt.core_1.0.0.jar<br />
2) org.jboss.tools.birt.oda.ui_1.0.0.jar<br />
3) org.jboss.tools.birt.oda_1.0.0.jar<br />
4) org.eclipse.birt.report.data.oda.hibernate<br />
5) org.eclipse.birt.report.data.oda.hibernate.ui<br />
<br />
Its working for normal jdbc drivers. But for hibernate datasource i am getting the above issues. please help to solve this.<br />
<br />
thanx,<br />
ganesh