JBoss Community

Design of AS7 multi-JSF feature

new comment by Bruno Lam View all comments on this document

Hi Stan,

 

I've just downloaded the last jboss-jsf-installer-master zip file.

 

so with JBoss EAP 6.1.0.Final, standalone-full.xml configuration, i passed to deploy myfaces 2.1.12.

/subsystem=jsf/:list-active-jsf-impls

{

    "outcome" => "success",

    "result" => ["myfaces-2.1.12"]

}

 

Nevertheless, when i deploy my war application (witch ok with mojarra), i've got error on jboss logs:

09:19:38,349 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 43) JBAS012605: A activé les implémentations JSF suivantes : [myfaces-2.1.12]

...

09:20:25,185 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Lancement du déploiement de "myapp.war" (runtime-name: "myapp.war")

09:20:27,073 WARN  [org.jboss.as.jsf] (MSC service thread 1-3) JBAS012603: Version JSF inconnue 'Mojarra-2.0'. La version par défaut 'main' sera utilisée à la place

09:20:27,079 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."myapp.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."myapp.war".DEPENDENCIES: JBAS018733: N'a pas pu traiter la phase DEPENDENCIES de deployment "myapp.war"

...

Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS012656: Le slot d'implémentation JSF par défaut 'main' est non valide

 

It seems that JBoss start to deploy my war with Mojarra, and cannot. So it tries with 'main', and says that this slot is not valid

 

tia,

Bruno