In org.jboss.weld.injection.spi.helpers.AbstractResourceServices
private static final String RESOURCE_LOOKUP_PREFIX = "java:/comp/env";
The right prefix is "java:comp/env".(delete a slash before "comp")