After all I think that there is some bug with resources. The following URL properly loads image:
/MyApplication/javax.faces.resource/welcome.png.xhtml?ln=imgs and the following URL doesn't: /MyApplication/javax.faces.resource/okBtn.png.xhtml?ln=imgs/buttons It looks like there is some bug when a resource is in subdirectory. Note that both URLs worked fine on beta-2. -- View this message in context: http://openejb.979440.n4.nabble.com/EJB-Injection-in-JSF-Managed-Bean-tp4634407p4641169.html Sent from the OpenEJB User mailing list archive at Nabble.com.