Provide one place to manage database settings

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

Provide one place to manage database settings

Postby Whissi » Tue Aug 08, 2017 5:07 pm

Problem:
Current "Install and Administration Guide for OpenEMM 2015" V1.3.2-20170223 doesn't specify where you have to set database settings in case you aren't running a local MySQL instance and/or are using non-default credentials.

While you will be able to get OpenEMM 2015 R3 basically up and running when you only adjust the Resource entries in conf/context.xml (frontend works, you are able to send out mails) you will probably ignore the message
Failed to setup database interface


which will popup when you execute openemm.sh start.

So basically just editing conf/context.xml isn't enough.

However, agn.py seems to expect names from a previous version. I.e. it is reading from webapps/openemm/WEB-INF/classes/emm.properties but expects keys like jdbc.username and not jdbc.openemmDB.*.

Please get this sorted. Best thing would be to have one place where you manage these settings. Imagine you have to change them later and have to remember all the places... Finally, please consider adding a paragraph to the documentation which explains where you have to set these things.

Thanks.
Whissi
 
Posts: 2
Joined: Tue Aug 08, 2017 4:17 pm

Re: Provide one place to manage database settings

Postby maschoff » Wed Aug 09, 2017 12:49 pm

Indeed, we have some legacy code here. It will be better with the next version of OpenEMM.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2129
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Provide one place to manage database settings

Postby Whissi » Wed Aug 09, 2017 2:06 pm

Whissi
 
Posts: 2
Joined: Tue Aug 08, 2017 4:17 pm


Return to Bugs, bug fixes & releases

Who is online

Users browsing this forum: No registered users and 1 guest

cron