會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

User Forum » install jforum on WildFly 8.1.0.Final - problem

發表人: dqdb
7 年 前
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
7 年 前
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
7 年 前
 
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.




會員註冊 / 登入  |  電腦版  |  Jump to top of page