[Logo] JForum - Powering Communities
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


JForum 2.9.0 is out with various fixes and improvements. It now requires a Servlet 6 container running on Java 11. Read all about it here

install jforum on WildFly 8.1.0.Final - problem RSS feed
Forum Index » User Forum
Author Message
dqdb


Joined: Mar 19, 2017
Messages: 2
Offline
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


Joined: Mar 19, 2017
Messages: 2
Offline
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


Joined: Feb 21, 2013
Messages: 435
Offline
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.

you can support my JForum work via Paypal
[Email] [WWW]
 
Forum Index » User Forum
Go to:   
Mobile view
Powered by JForum 2.8.3 © 2025 JForum Team • Maintained by Andowson Chang and Ulf Dittmer