Jump to content
We've recently updated our Privacy Statement, available here ×

Set ODBC datasource


kathiste

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

The JDBC/ODBC driver is in the JDK.

 

You should be able to set up an ODBC data source on your Windows machine where JasperServer is running, and then create a JDBC data source in JasperServer that points to the ODBC data source. You just have to get the JDBC URL right in the JasperServer data source definition.

 

 

Sherman

JasperSoft

Link to comment
Share on other sites

From http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html

 

 

The Bridge driver uses the odbc subprotocol. URLs for this subprotocol are of the form:

jdbc:odbc:<data-source-name>[;<attribute-name>=<attribute-value>]*

For example:

jdbc:odbc:sybase
jdbc:odbc:mydb;UID=me;PWD=secret
jdbc:odbc:ora123;Cachesize=300

 

Sherman

JasperSoft

Post edited by: swood, at: 2008/02/12 21:26

Link to comment
Share on other sites

  • 2 years later...

I am connecting to an Excel ODBC Datasource through JDBC-ODBC driver from JasperServer. When I test the connection, it says "Test Successful" but when i run the report with the excel datasource, it says the followign error:

org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhaustedany help on this?

 

 


Post Edited by madhukiran at 08/06/2010 08:35
Link to comment
Share on other sites

  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...