It has been found that samples applications that usually have been tested until now on Tomcat6, need to be deployed onto Tomcat7 to be able to run the tests in automation.
ICEfaces3/trunk revision # 34942
Server: Tomcat6
Browsers: IE7, Firefox3.6, Chrome26
auction / auctionMonitor/ component-showcase/ basic/ compat-basic/ elementUpdate/ fajax/ scopes:
Tests failed in automation on Tomcat6 due to an HTTP Error 500 when loading the test page in TestRunner (tests pass in automation on Tomcat7):
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.sun.faces.config.InitFacesContext$ServletContextAdapter.getInitParameter(InitFacesContext.java:368)
javax.faces.component.UIComponent.pushComponentToEL(UIComponent.java:1937)
javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:114)
com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2187)
com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2163)
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:296)
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:247)
javax.faces.component.UIViewRoot$ViewMap.clear(UIViewRoot.java:1849)
com.sun.faces.config.InitFacesContext.release(InitFacesContext.java:247)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:629)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.
showcase:
Tests were executed without any issues in automation on Tomcat7, and no other issues have been found except the ones already known.
Sample response using Mojarra 2.1.6
<?xml version='1.0' encoding='UTF-8'?>
{"validationFailed":false}<partial-response><changes><update id="form:valueDescription"><Unable to render embedded object: File (valueDescription" style="font-weight: bold;">unselected</span>]]></update><update id="javax.faces.ViewState"><) not found.[CDATA[2937085888543728922:-8789158179856658572]]></update><extension aceCallbackParam="validationFailed">
</extension></changes></partial-response>
Sample response using Mojarra 2.2.0 (SNAPSHOT 20120215)
<?xml version='1.0' encoding='UTF-8'?>
{"validationFailed":false}<partial-response id="j_id1"><changes><update id="form:valueDescription"><Unable to render embedded object: File (valueDescription" style="font-weight: bold;">unselected</span>]]></update><update id="javax.faces.ViewState"><) not found.[CDATA[7207117905624929807:-8945325661020011338]]></update><extension aceCallbackParam="validationFailed">
</extension></changes></partial-response>