Yes, putting them in the library directory is the right place for them.
Are these two jars defined in the application.xml as JavaEE component jars? From the stack trace, seems the server is trying to deploy them as component jars instead of library jars..
[Message sent by forum member 'hzhang_jn']
http://forums.java.net/jive/thread.jspa?messageID=475141