I have decided to use the JForum and I have got a big problem. Maybe solution is easy and obvious, but I have no experience with it.
When I want to use JForum i have to download it and deploy on my server. I choose a database, type a password etc. But ... for example, when i want to restart my server I have to walk through installation process again. So I have to create new database, so I lose my data in DB, because JForum creates new, empty DB.
I want to use "old" (not empty) DB when I re-install my JForum. Can I do it?
I've tried export my DB before restart server, and then import it, but it doesn't work. (For example i can't log-in because password isn't correct (hash is changed when I did re-install).
I use Wildfly server and PostgreSql DB.
yes I use 2.4.1 version.
I ask about it because, - for example - : when my server will crash and restart will be necassary i'll lose my data in DB, because i'll have to delploy JForum again, so walk through a installation process again. So i I want to do copy of my JForum's DB from time to time and import it to the JForum when it will be necessary. Can i do it?
When new version of JForum will be avalible i'll download it, and i'll deploy it on my server. And i'll want to use my old DB, how Will I import it?
Every time i restart my WildFly service and run my JForum, installation form is displayed and every time forum is created from scratch.
Only just saw this. The installation form is displayed even if you access an URL like http://localhost:8080/jforum2/? That sounds odd. You should actually remove the mapping of the InstallServlet after the initial install, so that nobody accidentally accesses it.
What Am I doing wrong?
1. Download JForum.2.4.1.war
2. Change its name on test.war
3. Copy it to a standalone/deployments directory on my server.
4. Waiting for a deployed status.
5. test.war file is deployed.
6. type in browser's url bar: localhost:8080/test
7. Installation form.
8. Installation is completed.
9. It works.
10. Turn off server.
11. Unpack test.war file locally (not in the server)
12. Remove "mapping" lines from web.xml
13. Create new test.war file : jar -cvf test.war * (in unpacked catalog)
14. Copy test.war file to a standalone/deployments directory on my server.
15. Run server
16. Waiting for deployed status
17 test.war file is deployed
18. type in browser's url bar: localhost:8080/test
19 ... and error occurs:
I completely don't understand.
Problem occurs when deploying process is run:
If I install JForum and then remove test.deployed file without restart server, and when i refresh page (after create new test.deployed file) page is loading about 5 minuts and error occurs.
If I dont walk through a install process page loads without errors.
Where is the problem?
WildFly configuration, JForum, anything else?
Is any alternative for JForum 2.4.1 which I can use?