title: Remove JSF completely from JBoss 6 or from Glassfish 3?
body: <p>I have a JSF Mojarra 2.0.3 app that was developed entirely on Tomcat 7 where it works superbly.  I need to deploy this application on JBoss or on Glassfish and the application runs but in some parts behaves strangely.  On both JBoss 6 and on Glassfish 3 this exact same bizarre behavior occurs.</p>
  
  <p>I believe this happens for a number of reasons:</p>
  
  <p>1) These app servers have their own version of Mojarra JSF bundled within them and these are being used in lieu of the Mojarra 2.0.3 I have in the applications web_inf/lib folder.</p>
  
  <p>2) I am using a third party rich control toolkit that is probably behaving strangely because it expects this specific version of Mojarra (2.0.3 to be exact).</p>
  
  <p>Bottom line is, I am floundering in every attempt to surgically remove JSF from one of these app servers because I strongly suspect this is the reason why these app servers behave differently from Tomcat, which does not have JSF joined at the hip.</p>
  
  <p>Due to client prejudices and inhouse expertise, JBoss is required to host on production so using Tomcat in production is not an option.</p>
  
  <p>Help?</p>