Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.5.17
    • Component/s: QE
    • Labels:
      None

      Description

      In case of any changes and/or inaccuracy be sure to update this description.

      Use latest stable JBDS, e.g. for this release 10.0.0 downloaded from this site https://www.jboss.org/products/devstudio/download/

      1. create a new Maven project and deploy it to WildFly 10 and Tomcat 8
        • File -> New -> Other
        • Select Maven Project
        • Once prompted to choose archetype, add new repository to Catalog
          • As address you are going to need the staging repo URL
        • Choose simple-app from the newly added repo (e.g. with correct RF version)
        • Test with Tomcat 8
        • Test with Wildfly 9
          • Need to activate jee6 profile
      2. create a new Ant project and deploy it to WildFly 10 and Tomcat 8
        • File -> New -> Other
        • Select JBoss Tools Web -> JSF -> JSF Project
          • use JSF environment: JSF 2.2
          • use Project template: JSF Kickstars without libs
        • Finish the wizard, you can install Wildfly and Tomcat servers at this point
        • Get RF Distribution (from staged repo in ZIP format) and add JAR files (with RF and mandatory libs) to this new project
        • Download javax.faces JAR (or myfaces) => this is only needed for Tomcat so add only if you wish to deploy app there
        • As a template you can use RF simple-app archetype and copy following things to ant project, if possible preserve the structure:
          • RichBean.java
          • index.xhtml
          • templates (whole folder)
        • Add following to the web.xml (it only maps index page to localhost:8080/app_name)
          • <welcome-file-list>
                <welcome-file>faces/index.xhtml</welcome-file>
              </welcome-file-list>
        • At this point, app should be buildable and deployable and accessible at localhost:8080/app_name
        • Test on WildFly
        • Add JSF implementation JAR to libraries, rebuild and test on Tomcat
      3. Try to import existing Maven project
        • Make use of Showcase in RF distribution ZIP and import that
        • To deploy with Tomcat no additional settings is needed
        • To deploy with Wildfly you need to activate jbas71 profile

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ppitonak Pavol Pitoňák
                Reporter:
                michpetrov Michal Petrov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: