Archive for the ‘JSF’ tag
JBoss e JSF (MyFaces)
A partir da versao 4 traz as bibliotecas JSF por default, por tanto, quanto utilizado alguma biblioteca JSF, como MyFaces ou ICEFaces dentro do arquivo .war, quando o deploy é feito alguns problemas podem acontecer informando:
Para resolver este problema, altere o arquivo web.xml da aplicacao, incluindo o trecho:
Ambiente:
JBoss 4.2.1-GA
JDK:1.5
MyFaces: 1.1.1
Source: JBoss/Jira
[JBossJSFConfigureListener] MyFaces JSF implementation found! This version of JBoss AS ships with the java.net implementation of JSF. There are known issues when mixing JSF implementations. This warning does not apply to MyFaces component libraries such as Tomahawk. However, myfaces-impl.jar and myfaces-api.jar should not be used without disabling the built-in JSF implementation. See the JBoss wiki for more details.
Para resolver este problema, altere o arquivo web.xml da aplicacao, incluindo o trecho:
<web-app>
<description>description...</description>
.
.
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
.
.
.
</web-app>
Ambiente:
JBoss 4.2.1-GA
JDK:1.5
MyFaces: 1.1.1
Source: JBoss/Jira