Search code examples
jsfwildflywildfly-8wildfly-10mojarra

Stop wildfly war from initializing mojarra


Whenever I deploy a war to wildfly 8 or 10 (in this case it's a jax-rs service), I see the following line

[javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 151) Initializing Mojarra 2.2.11-jbossorg-1 20150505-1501 for context

Since JSF is not used in the application, is there a way to stop mojarra from being initialized?


Solution

  • You can remove

    <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>

    from your profile. It should stop Mojarra initialization.