{"action":"closed","issue":{"url":"https://api.github.com/repos/joinfaces/joinfaces/issues/77","repository_url":"https://api.github.com/repos/joinfaces/joinfaces","labels_url":"https://api.github.com/repos/joinfaces/joinfaces/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/joinfaces/joinfaces/issues/77/comments","events_url":"https://api.github.com/repos/joinfaces/joinfaces/issues/77/events","html_url":"https://github.com/joinfaces/joinfaces/issues/77","id":160664030,"number":77,"title":"Use joinfaces with war packaging","user":{"login":"persapiens","id":261952,"avatar_url":"https://avatars2.githubusercontent.com/u/261952?v=4","gravatar_id":"","url":"https://api.github.com/users/persapiens","html_url":"https://github.com/persapiens","followers_url":"https://api.github.com/users/persapiens/followers","following_url":"https://api.github.com/users/persapiens/following{/other_user}","gists_url":"https://api.github.com/users/persapiens/gists{/gist_id}","starred_url":"https://api.github.com/users/persapiens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/persapiens/subscriptions","organizations_url":"https://api.github.com/users/persapiens/orgs","repos_url":"https://api.github.com/users/persapiens/repos","events_url":"https://api.github.com/users/persapiens/events{/privacy}","received_events_url":"https://api.github.com/users/persapiens/received_events","type":"User","site_admin":false},"labels":[{"id":374533237,"url":"https://api.github.com/repos/joinfaces/joinfaces/labels/feature","name":"feature","color":"5319e7","default":false},{"id":366359071,"url":"https://api.github.com/repos/joinfaces/joinfaces/labels/ideal-for-contribution","name":"ideal-for-contribution","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-06-16T13:39:05Z","updated_at":"2018-02-22T18:54:27Z","closed_at":"2018-02-22T18:54:27Z","author_association":"OWNER","body":"joinfaces is designed with **jar** packaging in mind, but working with **war** packaging could be a plus.\n\nI've done some investigation with joinfaces starters version **2.2.5** and with jsf resources located at **src/main/webapp** with [joinfaces-example-war](https://github.com/joinfaces/joinfaces-example-war)\n\nAccording to [Spring Boot Reference](http://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html#howto-create-a-deployable-war-file), some changes should be done:\n- Main Application/Configuration class should extends SpringBootServletInitializer and override its configure method\n- change pom packaging to war\n- mark the embedded servlet container dependency as provided\n\n| jsf starter | result inside servlet container | result with executable war (java -jar .war) |\n| --- | --- | --- |\n| jsf-spring-boot-starter | **Ok tomcat 8.5.5 and 7.0.72** | **Ok** |\n| jsf-jetty-spring-boot-starter | **Ok jetty 9.3.12** spring-boot-devtools and org.mortbay.jasper:apache-jsp removed | **Ok** exclude JettySpringBootAutoConfiguration |\n| jsf-undertow-spring-boot-starter | **Fail wildfly 10.1.0.Final** No visible WebSecurityExpressionHandler | **Ok** exclude UndertowSpringBootAutoConfiguration |\n| jsf-myfaces-spring-boot-starter | **Ok tomcat 8.5.5 and 7.0.72** | **Ok** |\n| jsf-myfaces-jetty-spring-boot-starter | **Fail jetty 9.3.12** No visible WebSecurityExpressionHandler; spring-boot-devtools and org.mortbay.jasper:apache-jsp removed | **Ok** exclude JettySpringBootAutoConfiguration |\n| jsf-myfaces-undertow-spring-boot-starter | **Fail wildfly 10.1.0.Final** NoSuchMethodError: DigesterFactory.newDigester(RuleSet;Digester) | **Ok** exclude UndertowSpringBootAutoConfiguration |\n"}}
{"actor":{"display_login":"persapiens"}}