tbrown Posted August 24, 2012 Share Posted August 24, 2012 We're using a jdbc driver to connect to a virtual database. The driver name is infadsjdbc.jar.We have gotten simple reports to run from iReports 4.2.0. We are also using JasperServer 4. I am trying to load a jrxml report (the simple one we created in iReports) into the repository. I am able to create a data source and also get a success message when hitting the test button within the data source. The only thing the report has is 5 fields with nothing else. But when I run the report I get the attached error message.The last thing we did was insert the jar file into the tomcat lib directory, which enabled us to get the success message from the data source. We found this in other threads but couldn't find one that addresses what to do when you get a successful connection from the data source.Again we are able to run the same report in iReport so the database is up and running. Any suggestions will be greatly appreciated. Link to comment Share on other sites More sharing options...
gdmoreno Posted August 24, 2012 Share Posted August 24, 2012 What kind of datasource is it? If it's a JDBC datasource, perhaps you can create a JNDI datasource instead. Link to comment Share on other sites More sharing options...
tbrown Posted August 27, 2012 Author Share Posted August 27, 2012 The issue was resolved by doing the following. - Find a bean named jdbcDataSourceServiceFactory and add two lines in the properties section within it <property name="defaultReadOnly" value="false"/> <property name="defaultAutoCommit" value="true"/> 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