david.miller_1 Posted June 30, 2017 Share Posted June 30, 2017 I configured the default_master.propertes for my MySQL database. Then I install JasperServer via js-install-ce.sh. The build runs to completion and I see a BUILD_SUCCESS. The foodmart and Sugarcrm schemas have populated tables. But in the jasperserver schema, no tables have any rows. For instance, the JIFILERESOURCE table is empty... so the webapp throws an exception on login, since all theme resources are stored in JIFILERESOURCE.I haven't found anyone else online that seems to have had this problem.I'm using the MySQL JDBC driver (mysql-connector-java-5.1.40-bin.jar). Thanks,Dave Link to comment Share on other sites More sharing options...
hozawa Posted July 2, 2017 Share Posted July 2, 2017 Try manually creating mysql database.http://community.jaspersoft.com/documentation/tibco-jasperreports-server-installation-guide/v640/manually-creating-jasperreports#additional_646152231_1159812 Link to comment Share on other sites More sharing options...
david.miller_1 Posted July 3, 2017 Author Share Posted July 3, 2017 Thanks @howaza for your help... I have tried your suggestion to manually create the MySQL database. It didn't help... as before, the tables are successfuly created, but they have no rows (no tables in jasperserver schema have any rows). Link to comment Share on other sites More sharing options...
david.miller_1 Posted July 3, 2017 Author Share Posted July 3, 2017 @hozawa, thanks for the suggestion... unfortunately it did not help. The tables are still created, and the build still goes all the way to BUILD SUCCESSFUL with no errors or warnings. All the jasperserver tables are still empty. Still get an error when I open the webapp URL, due to not having any rows in JIFILERESOURCE.Also I just tried JasperServer Commuity 6.4.0 which was released last week. Same thing happens there. Link to comment Share on other sites More sharing options...
david.miller_1 Posted July 3, 2017 Author Share Posted July 3, 2017 The problem is with my MySQL installation. I tried the same installer options with the official MySQL docker image and all was well. When I find the problem with my custom MySQL installation I'll post another answer here. Link to comment Share on other sites More sharing options...
hozawa Posted July 3, 2017 Share Posted July 3, 2017 I've used MySQL 5.5, 5.6, and 5.7. If the rows are being inserted, it may be the user your are using doesn't have permission to insert/update rows in the schema. JasperReports Server user requires admin privilege to the schema. Link to comment Share on other sites More sharing options...
david.miller_1 Posted July 7, 2017 Author Share Posted July 7, 2017 All, The issue is that our MySQL DBA had disabled autocommit. The Jasper installer depends on autocommit to populate jasperserver tables... I know this, because with autocommit enabled, everything is fine. Here is how to enable autocommit in the Jasper installer, for anyone else that has this problem. Edit the file buildomatic/conf_source/ieCe/applicationContext-export-config.xml. Find the data source bean. Add this property:<property name="connectionInitSqls"> <list> <value>set autocommit = true</value> </list> </property>Then run the install in the normal way, and jasperserver schema will be populated. 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