RichFaces 4.5.17, JBoss EAP 7 - 403 forbidden error
jasonglass May 17, 2017 4:47 PMHi All!
So I'm trying to get our RichFaces 3.3.3 project up to 4.5.17 version. The 3.3.3 worked fine in JBoss EAP 5 - but has issues when deployed in JBoss EAP 7, for example some command buttons work and others dont (wherein it worked fine in JBoss 5). I know Jboss 7 now has JSF 2 and JSP's are frowned up - anyways I downloaded the RichFaces-Showcase 4.5.17 to get started with a known and should be working project. I struggled with maven to build it (its missing an artifact) so I gave up on the maven side of things other that havinf maven convert it to a eclipse project. In eclipse, I have no build errors and everything looks good. I added the specified minimum amount of jars to be deployed with the web application in the WEB-INF/lib folder and I dont get any exceptions in the servers console when deploying (note, I did have to leave the persistence.xml file even though I was instructed to remove it as when trying to deploy without it, there were too many code dependencies to clean things up)
When I browse to the application, all I get is a 403 forbidden. I tried turning on DEBUG for org.richfaces but that didnt provide anything useful, well nothing at all. I tried different URL scenarios and get 404 not found. I have not changed ANY of the settings in the local JBoss running on my dev box within eclipse say for adding other logging categories. I also did add the JMS guest user just in case that helped.
I was wondering if anyone else had run into the problem and managed to solve it, or if anyone knew what type of JBoss logging to turn on to get the http processor to log something as to what its trying to get to and why it is forbidden.
Any help would be appreciated, thank you in advance!
Note: I did add facets to the project as it was just a general project. I also added the Dynamic Web Module 3.1 and the Java facet is set to 1.8. I also tried deploying as an exploded WAR by add/remove in Eclipse as well as a real WAR archive through the admin console. One strange thing also, if I navigate to http://localhost:8080/richfaces-showcase.WAR/index.jsp
I get the following html output with no 404 error
<html><head><title>Error</title></head><body>/richfaces-showcase.WAR/index.jsp</body></html> |
And If I navigate to an index.jsf I get
<html><head><title>Error</title></head><body>/richfaces-showcase.WAR/index.jsp</body></html> |
I've zipped up the eclipse project as well as the server.log traces and attached them!
-
richfaces-showcase.zip 13.5 MB