-
1. Re: Using JSF for JBoss 4.0.5
samwiseatcgi Nov 17, 2006 10:36 AM (in response to samwiseatcgi)Sorry, I should add that I've attempted to run MyFaces on my JBoss AS, so I have a ton of .jar files in C:\jboss-4.0.5\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs, but I'm just wondering if the jsf-api.jar and jsf-impl.jar files need to be there too, or just in the WEB-INF file, or in the classpath.
-
2. Re: Using JSF for JBoss 4.0.5
ssilvert Nov 20, 2006 1:18 PM (in response to samwiseatcgi)You should not add your own jar files to \jsf-libs. Also, you should not duplicate the jars that are already in \jsf-libs.
For a web app, the usual place to put application jars is in your WAR under \WEB-INF\lib.
JBoss ships with everything you need to run a JSF application. However, you might need to add jars to your WAR for any component libraries you are using.
See these pages for instructions on using JSF with JBoss:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces
The second page has a sample web.xml at the bottom.
Stan