users@glassfish.java.net

JNDI lookup of PROJECT_STAGE_JNDI_NAME inside EJB not working?

From: <glassfish_at_javadesktop.org>
Date: Sat, 13 Feb 2010 21:32:16 PST

I can't seem to find a way to lookup the JSF Project Stage from JNDI using the latest Glassfishv3.

The code I thought would work but returns nothing is:

    @Resource(name = ProjectStage.PROJECT_STAGE_JNDI_NAME)
    private String projectStage;

    public String getProjectStage() {
        return projectStage;
    }

I thought this value would be made available in JNDI?
[Message sent by forum member 'cosmic' (cory_at_prowse.com)]

http://forums.java.net/jive/thread.jspa?messageID=386588