If your application is making direct JDBC connections, then it will need the driver class within the WAR's WEB-INF/lib subdirectory.
As has been noted by Wolf-Dieter Fink, this is not an application-server-like way of going about things; deployable applications are more modular if they use datasources provided by the execution environment, JBoss. This standardizes administration of datasource connection details.