OdaJDBCDriverPassInConnection : Initialization-bug?

View: New views
2 Messages — Rating Filter:   Alert me  

OdaJDBCDriverPassInConnection : Initialization-bug?

by Johannes Michler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I managed to run a report against a Database-Connection passed in via OdaJDBCDriverPassInConnection. (As suggested by the first code-snippet on http://birtworld.blogspot.com/2008/11/birt-connection-pooling-continued-again.html). I'm doing this within an RCP Application having loaded the following BIRT-plugins:

org.eclipse.birt.report.engine
org.eclipse.birt.data
org.eclipse.birt.data.oda.jdbc

First everything is working fine and my report gets generated.
But when shutting down my application I'm getting a nullpointer-exception in the close() methode of org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.close(JDBCDriverManager.java:107) This is cause the ExtraDriverLoader didn't get initialized and is null therefore.

Everything else is working fine. If I don't load the oda.jdbc-plugin I'm getting many other exceptions.
Am I doing something wrong or is this a bug in the birt.data.oda.jdbc-plugin that I should file on the eclipse-bugzilla?


My report references the datasource as follows:




Any help would be highly appreciated,

-orgler
_______________________________________________
birt-dev mailing list
birt-dev@...
https://dev.eclipse.org/mailman/listinfo/birt-dev

RE: OdaJDBCDriverPassInConnection : Initialization-bug?

by Linda Chan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
Please go ahead and submit the case in Bugzilla for further investigation.  And please do attach a sample report design that illustrates your use case.  Thanks.
 
Linda


From: birt-dev-bounces@... [mailto:birt-dev-bounces@...] On Behalf Of Johannes Michler
Sent: Monday, August 10, 2009 8:10 AM
To: birt-dev@...
Subject: [birt-dev] OdaJDBCDriverPassInConnection : Initialization-bug?

Hi,

I managed to run a report against a Database-Connection passed in via OdaJDBCDriverPassInConnection. (As suggested by the first code-snippet on http://birtworld.blogspot.com/2008/11/birt-connection-pooling-continued-again.html). I'm doing this within an RCP Application having loaded the following BIRT-plugins:

org.eclipse.birt.report.engine
org.eclipse.birt.data
org.eclipse.birt.data.oda.jdbc

First everything is working fine and my report gets generated.
But when shutting down my application I'm getting a nullpointer-exception in the close() methode of org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.close(JDBCDriverManager.java:107) This is cause the ExtraDriverLoader didn't get initialized and is null therefore.

Everything else is working fine. If I don't load the oda.jdbc-plugin I'm getting many other exceptions.
Am I doing something wrong or is this a bug in the birt.data.oda.jdbc-plugin that I should file on the eclipse-bugzilla?


My report references the datasource as follows:




Any help would be highly appreciated,

-orgler
_______________________________________________
birt-dev mailing list
birt-dev@...
https://dev.eclipse.org/mailman/listinfo/birt-dev