Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10745

Update the multi-JSF installer to be able to install Mojarra and MyFaces 2.3.x versions in addition to 2.1.x and 2.2.x versions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 14.0.0.Beta2
    • 14.0.0.Final
    • JSF
    • None
    • Hide
      git clone https://github.com/wildfly/wildfly
      cd wildfly
      mvn clean install -DskipTests
      cd jsf/multi-jsf-installer
      mvn -Djsf-version=2.3.5.SP1 -Pmojarra-2.x clean assembly:single
      cp target/install-mojarra2.3.5.SP1.zip target/install-mojarra-2.3.5.SP1.cli
      
      deploy ~/workspace/wildfly/jsf/multi-jsf-installer/target/install-mojarra-2.3.5.SP1.cli
      /subsystem=jsf/:write-attribute(name=default-jsf-impl-slot,value=mojarra-2.3.5.SP1)
      
      deploy hello-jsf.war
      
      
      Show
      git clone https: //github.com/wildfly/wildfly cd wildfly mvn clean install -DskipTests cd jsf/multi-jsf-installer mvn -Djsf-version=2.3.5.SP1 -Pmojarra-2.x clean assembly:single cp target/install-mojarra2.3.5.SP1.zip target/install-mojarra-2.3.5.SP1.cli deploy ~/workspace/wildfly/jsf/multi-jsf-installer/target/install-mojarra-2.3.5.SP1.cli /subsystem=jsf/:write-attribute(name= default -jsf-impl-slot,value=mojarra-2.3.5.SP1) deploy hello-jsf.war

    Description

      It is currently not possible to deploy *.cli built by multi-jsf-installer shipped with WildFly. When attempting to deploy, this message will appear:

      org.jboss.as.cli.CommandFormatException: org.jboss.as.cli.CommandLineException: java.util.concurrent.ExecutionException: org.jboss.as.cli.CommandLineException: Failed to locate /tmp/vfs/cli-1528866094723/cli-1528866094723450313ef1dc90cff/install-mojarra-2.2.17.cli-212b6d42ba0c47e1/jsf-api-2.2.17.jar, if you defined a nonexistent resource on purpose you should use the --allow-nonexistent-resources option
      

      Attachments

        Issue Links

          Activity

            People

              dtikhomi@redhat.com Dmitrii Tikhomirov
              jkasik@redhat.com Jan Kasik
              Jan Kasik Jan Kasik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: