For your original question, the .dbschema file needs to be placed in the root of the EJB jar.
For your second problem - may be the jdbc-resource points to a wrong database and it indeed doesn't contain that table?
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=318872