By default, Sun's reference implementation (RI) for the JavaServer Faces (JSF) framework uses threads. When running under traditional Java runtime environments, this does not present a problem because threading is allowed. Unfortunately, applications deployed on the Google AppEngine platform cannot start threads of their own. This is enumerated in the "Threads" sub-topic of the "Sandbox" section of the "Java Servlet Environment" document published on Google's web site (shown below).
A Java application cannot create a new
The release notes for the JSF 2.0 reference implementation updated with the release of the second beta describes the "com.sun.faces.enableThreading" configuration parameter which, when set to false, tells the framework NOT to use threads. Adding the following to an application's WEB-INF/web.xml configuration file will stop any attempts by the JSF framework to spawn additional threads.
If the com.sun.faces.enableThreading context parameter is not set to false (or omitted completely from the web.xml configuration file) an application deployed on the Google App Engine will display a number of different errors all caused by the JSF reference implementation's attempts to construct threads.
Copyright © 2011-2014, Wildstar Technologies, LLC.
Google App Engine for Java > Using JavaServer Faces on the Google App Engine > Compatibility Issues >