If this is the complete code, which part does set the 'lib' ref in NewSessionBean?
If EM is null, you'll see some warning in the server.log that mentions the problem.
How do you package your app?
thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=346683