I need to modify JForum according to our company's internal need recently. Therefore, I build modified versions of JForum. This bring the problem up to me that how can I deploy a new version of modified JForum using an existing database?
The output is built as a war file. I deploy it by placing it under Tomcat's directory. I took manual installation.
However, when I access the forum with the browser, I was still redirected to a blank page.
It seems there is a tricky modification or configuring I should be aware of but not.
I finally figured it out. Well, it is because the default index.htm which directs the browser to the Install module is included every time I built the modified version.
To use the existing database, I can simply modify the content of the index.htm so that the browser is brought to the home page of the JForum. (Besides, the install directive in the moduleMapping.properties file should be commented out.)
Michael Wu [originally posted on jforum.net by michaelwu]
In short, after the first successful installation, make sure you modify the moduleMapping.properties to comment out the "Install=..." mapping. Besides, modify the index.htm to redirect the browser to the forums/list.page page. There is a file __index.redirect alongside. You may use it to replace the index.htm file as an alternative. [originally posted on jforum.net by michaelwu]