title: JSF 2 Mojarra and Primefaces in WebSphere 7+
body: <p>I have been struggling with the unholy alliance that is WebSphere 7+ and Mojarra 2.0.4 and have run into something of a showstopper.</p>
  
  <p>I followed the directions as specified at this forum post and got Mojarra 2.0.4 initializing properly: <a href="http://forum.primefaces.org/viewtopic.php?f=3&amp;t=6860" rel="nofollow">http://forum.primefaces.org/viewtopic.php?f=3&amp;t=6860</a></p>
  
  <p>Basically I created an isolated classloader shared library that refers externally to the Mojarra and Primefaces jars, added the shared library to the webapp and reversed the classloader to go PARENT_LAST.  All of that works.</p>
  
  <p>When I attempt to access my web app <code>http://server:port/context/index.xhtml</code> it is hitting the FacesServlet correctly but then instantly the Request Dispatcher is redirecting to <code>index.jsp</code>???</p>
  
  <p>I don't have any JSP specified ANYWHERE in my code, my app, my web.xml, and in fact I specified <code>DEFAULT-SUFFIX</code> to be <code>.xhtml</code> and that didn't help.  All my web pages are <code>.xhtml</code> extension and FacesServlet is mapped correctly to <code>*.xhtml</code>.</p>
  
  <p>I have tried adding XHTML as a mime type to WebSphere, disabling the Request Dispatcher, all to no avail.  I have been able to get this running correctly on Tomcat 6-7, JBoss 6 and Glassfish 3 with no problems but for some reason WebSphere insists on a JSP file extension?</p>
  
  <p>I appreciate any help you might have.</p>