-
1. Re: How to deploy jsf 2 app on JBoss AS 7
stianst Nov 2, 2011 5:38 AM (in response to liss)What do you mean about not actually working? One thing to note is that you don't actually have to include any api libraries, or jsf libraries to WEB-INF/lib as they are added automatically for you, see https://docs.jboss.org/author/display/AS7/Implicit+module+dependencies+for+deployments
-
2. Re: How to deploy jsf 2 app on JBoss AS 7
liss Nov 3, 2011 8:03 AM (in response to stianst)Hi Stian,
What I meant to say is that the app is deployed without errors but when I access the URL, it's not deployed at all (I get 404 error).
I noticed that jboss as 7 has a main javax.faces.api (jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar) but on this project I'm using mojarra 2.0.6.
I belive the question is how can I use jsf jars that are on my project and ignore the one on jboss as 7, is that correct?
Thank you!
-
3. Re: How to deploy jsf 2 app on JBoss AS 7
liss Nov 3, 2011 8:48 AM (in response to stianst)Hi again,
I've just read this discussion (http://community.jboss.org/thread/169432) and it seems that it is not possible to change mojarra's version on jboss as 7? Too bad.
Gonna try jboss as 6 anyway while I don't have any solution.
Thanks guys!
-
4. Re: How to deploy jsf 2 app on JBoss AS 7
weinanli Aug 12, 2012 5:26 AM (in response to liss)I've written an article on how to use AS7, maven and IntelliJ together to develop a JSF project:
Create a project using Maven
Add JSF into project
Writing Code
Add JBoss AS 7 deploy plugin into project
Deploy project to JBoss AS 7
Import project into IntelliJ
Add IntelliJ JSF support to project
Add JBoss AS7 to IntelliJ
Debugging project with IntelliJ and AS7
It's here:
Wish it could be useful.
-
5. Re: How to deploy jsf 2 app on JBoss AS 7
lafr Aug 12, 2012 6:51 AM (in response to liss)Search for
org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL.
You'll have to set this property to true to give JBossAS a hint to use your provided libs in favor of the AS onces.