[Logo] JForum - Powering Communities
  [Search] 搜尋   [Recent Topics] 最新主題   [Hottest Topics] 熱門主題   [Top Downloads] 熱門下載   [Members] 會員列表   [Groups] 回首頁 
[Moderation Log] 管理日誌   [Register] 會員註冊 /  [Login] 登入 


JForum 2.5.0 released, download it from here.
install jforum on WildFly 8.1.0.Final - problem  RSS feed
討論區首頁 » User Forum
發表人 內容
dqdb


註冊時間: 2017/3/19
文章: 2
離線
I am trying to install jforum on WildFly 8.1.0.Final "Kenny" on Ubuntu x86_64.
I am trying to do an installation according to https://sourceforge.net/p/jforum2/wiki2/ManualInstallation/ with some modifications.

My steps:
1. Download jforum-2.4.1.war
2. Unpack it to local directory "jforum"
3. Remove WEB-INF/lib/jboss-*.jar (3 jars removed)
4. Add writing permission to directories
upload
tmp
images
WEB-INF/config
WEB-INF/jforumLuceneIndex
5. I have properly configured postgresql database. I use net.jforum.DataSourceConnection. Database settings according to ManualInstallation page listed above.
6. I created jforum-custom.conf with installed=true inside.
7. I Removed the line "install = net.jforum.view.install.InstallAction" from the file WEB-INF/config/modulesMapping.properties
8. I removed install.jsp page.
9. I packed my directory jforum to jforum.war and deployed it to directory jboss/wildfly-8.1.0.Final/standalone/deployments.
10. I open http://localhost:8080/jforum/ and I see text: Forbidden.
I open http://localhost:8080/jforum/index.jsp and I see text: Forbidden.

I really don't know why there is 403 Forbidden. There is no appache2 here, just a wildfly running locally. No problems with another application running on this server locally. I think that this is not a wildfly problem. Maybe above installation process is not perfect, but what should I changed?

Please help.
Thanks in advance.
dqdb


註冊時間: 2017/3/19
文章: 2
離線
Ok, second manual try (I cannot use installation via GUI):

My steps:
1. Download jforum-2.4.1.war
2. Unpack it to wildfly's wildfly-8.1.0.Final/standalone/deployments/jforum.war directory (directory, not packed file)
3. Remove WEB-INF/lib/jboss-*.jar (3 jars removed)
4. Add writing permission to directories
upload
tmp
images
WEB-INF/config
WEB-INF/jforumLuceneIndex
5. I have properly configured postgresql database. I use net.jforum.DataSourceConnection. Database settings according to ManualInstallation page listed above.
6. I created jforum-custom.conf with installed=true inside.
7. I Removed the line "install = net.jforum.view.install.InstallAction" from the file WEB-INF/config/modulesMapping.properties
8. I created the file wildfly-8.1.0.Final/standalone/deployments/jforum.war.dodeploy
9. I opened http://localhost:8080/jforum
I was redirected to http://localhost:8080/jforum/install.jsp
And I see message on that page :

An error has occurred.
For detailed error information, please see the HTML source code, and contact the forum Administrator.
install module not found.
Add "install=net.jforum.view.install.InstallAction" to modulesMapping.properties if you want to reinstall JForum.

In HTML code:
<!-- BEGIN ERROR STACK TRACE
Only moderators can view stack trace.
END ERROR STACK TRACE-->


Any advice?

My versions:
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

udittmer


註冊時間: 2013/2/21
文章: 202
Only moderators can view stack trace.

Is the user you're working with not a moderator/admin? If so, try making it one (by adding the user to the Administration group), so that you can see the stack trace which might point to the problem.

Ping & Net - my free Android app for TCP/IP network diagnostics
[WWW]
 
討論區首頁 » User Forum
前往:   
行動版
Powered by JForum 2.5.0 © 2018 JForum Team • Maintained by Andowson Chang and Ulf Dittmer