Jump to content
Changes to the Jaspersoft community edition download ×

After successful buildomatic build, jasperserver tables exist, but are all empty


david.miller_1

Recommended Posts

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

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

@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

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

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...