camnott Posted June 19, 2018 Share Posted June 19, 2018 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! Link to comment Share on other sites More sharing options...
sadakar Posted June 20, 2018 Share Posted June 20, 2018 I think, the driver jar file is missing. Did you have it for the server ? Link to comment Share on other sites More sharing options...
camnott Posted June 20, 2018 Author Share Posted June 20, 2018 Not positive. Where would I find this? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now