The issue is now resolved. I had to place below entries in the faces-config.xml file
<application> <view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler> </application> -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Illegal-attempt-to-set-ViewHandler-after-a-response-has-been-rendered-tp4682368p4682394.html Sent from the TomEE Users mailing list archive at Nabble.com.