After some headscratching, I found out why EJB injection into my managed beans for jsf application stopped working after adding ICEFaces Support on the MyEclipse forums.
It’s actually very simple and logical: upon adding ICEFaces support to the EE Web Project, you’re asked to downgrade to a servlet 2.4 compatible web.xml, which is the cause of the trouble.
To restore the EJB injection, just copy the web-app tag from the renamed original web.xml called web.xml.org which can be found in the WEB-INF dir of the WebRoot dir. In case you deleted it:
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
Also, make sure the JSF version is set to 1.2 in faces-config.xml, which was the case for me.
My actual versions: MyEclipse 6.5.1 with ICEFaces support 1.7.1 for Eclipse.