← Back to team overview

dhis2-devs team mailing list archive

Re: dhis lite

 

Made the lite jar set two system properties which are read by the report
config manager in DHIS 2, the birt stuff now configures itself.

H2 embedded mode only accepts connections from a single JVM or thread. This
implied a problem in that Birt creates a connection to the database. Still
H2 has a "mixed mode" where the first connection to the db is in embedded
mode, while subsequent connections will be made in server mode, where any
number of connections can be made. To achieve this AUTO_SERVER=TRUE must be
added to the connection url in hibernate.properties, eg
"hibernate.connection.url = jdbc:h2:./database/dhis2;AUTO_SERVER=TRUE".

http://www.h2database.com/html/features.html#auto_mixed_mode


My only concern now is the size, the whole thing without data zipped weighs
in at 83 MB.


Things now seem to work fine. Any objections against releasing a beta
version so people can try it out?

Follow ups

References