-
1. Re: Converting JSF 1.2 project from JBoss 4.2 to JBoss AS7
ybxiang.china Aug 17, 2013 12:44 AM (in response to tsimpson)<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
~~~~~~~~~~~~~~~~ 1. Are you sure "index.html" is a existing page? Your attachment is "index.xhtmll" !
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
~~~~~~~~~~~~~~~~~~~~~This is the root cause that your index.html is NOT treated as JSF page.
-
2. Re: Converting JSF 1.2 project from JBoss 4.2 to JBoss AS7
ybxiang.china Aug 17, 2013 12:48 AM (in response to tsimpson)You can try
(a)
<welcome-file-list>
<welcome-file>/faces/index.xhtml</welcome-file>
</welcome-file-list>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
(b)
<welcome-file-list>
<welcome-file>index.jsf</welcome-file>
</welcome-file-list>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
-
3. Re: Converting JSF 1.2 project from JBoss 4.2 to JBoss AS7
tsimpson Aug 19, 2013 11:44 AM (in response to tsimpson)Found answer. I removed the Apache JSF extensions to get it to deploy and they were needed. Once I added them back in and included the option to WAR_BUNDLES_JSF_IMPL I got a different issue. Thanks.