When are you doing that lookup in the servlet? In its init() method? Is that a load-on-startup servlet? Make sure that the beans are first deployed and then the lookup is done. You can also check the "JNDIView" MBean to list the jndi names of the beans you deployed.