Is the lookup being done from within a web invocation or from some other thread? If it's from another thread, was the thread explicitly created from a servlet thread or was it created by some other class that you don't own? If it's a java.util.timer thread that would explain why the lookup is failing. Such a thread has no architected relationship to the component environment of your web application.
[Message sent by forum member 'ksak' (ksak)]
http://forums.java.net/jive/thread.jspa?messageID=266046