Hello David,
your second question does not relate to the first one. If the answer was helpful for you, could you mark your question as answered and start a new thread for another question? Otherwise the discussions become confusing. Thanks.
Regarding to your second question - I do not know which manual did you follow, but in general you have to provide jdbc driver for container to connect to database. For standalone deployment it's fine to use JBoss modules. See https://community.jboss.org/wiki/DataSourceConfigurationInAS7