from mantis - 2012-02-16 17:02 (unauthenticated):
steps to reproduce:
- copy easyrec-web to tomcat/webapps
- visit <server>:<port>/easyrec-web => installer</port></server>
- do not finish installation process
- restart tomcat
-
easyrec-web is broken then
** no installer is shown
** no login page is shown
-
only workaround (that works for now)
** manually delete 'easyrec.database.properties' in tomcat/webapps/easyrec-web/WEB-INF/classes/override/
possible solutions:
- store 'easyrec.database.properties' only if installation was finished properly (at the end)
- OR (in order to resume an installation that has not been finished correctly) store installation step into properties, and continue with the next (unfinished) step
- delete 'easyrec.database.properties' if the installation fails (or is aborted), but in that case (how to deal with tomcat restart, without tab close?, easyrec won't recognize that the installation has been aborted)
So I would suggest 1. and for convenience additionally 2.
Diff: