Are the res-ref-name and jndi-name mapped appropriately in the descriptor files? From the exception, i see another name "jdbc/vinayDB". Please check these settings and then try to use jdbc/vinayDB as the name in the Resource annotation.
[Message sent by forum member 'sm157516' (sm157516)]
http://forums.java.net/jive/thread.jspa?messageID=349698