Subreport using db2 server - Help please

Hello,

I need help with a subreport connection. I have a main report using a different data source, and am trying to connect via connection expression as follows :

java.sql.DriverManager.getConnection("jdbc:db2://hostname/db", "username", "password")

When I am in jaspersoft studio, it seems to work, at least the query functions... However, from Clarity Advanced Report I keep getting : 

"Error when evaluation expression: java.sql.DriverManager.getConnection("jdbc:db2://hostname/db", "username", "password")"

I really need to get this worked out, as I have used something similar in the past... not sure why this is not working in Clarity.

 

Thank you!

camnott's picture
128
Joined: Mar 10 2017 - 6:24am
Last seen: 4 years 10 months ago

I think, the driver jar file is missing. Did you have it for the server ? 

sadakar - 4 years 11 months ago

Not positive. Where would I find this?

camnott - 4 years 11 months ago

0 Answers:

No answers yet
Feedback